-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml.example
More file actions
64 lines (55 loc) · 2.53 KB
/
config.toml.example
File metadata and controls
64 lines (55 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
## vrc-embed configuration
[general]
# Contact email for abuse reports. This is listed on the index page.
contact="you@example.com"
# Custom render cache folder; needs to be writable by the vrc-embed process.
# By default, saves to the "renders" folder in the repo clone directory.
# renders_path="/path/to/renders"
# For further customizability without VRC+, the user can provide their own
# profile picture or banner URL.
# If you would like to prevent this, set the following option to true:
# block_custom_pfp_and_banner=false
# If you're fine with this, but don't want to include renders, enable the
# following option:
# no_render_for_custom_pfp_and_banner=false
## A VRChat account is needed to access the user API.
[vrchat]
# Username or e-mail for VRChat account
username="YourVRCAccountHere"
# Password for VRChat account
password="correct horse battery staple"
# ID of the bot user, with usr_ prefix
userid="usr_abcd..."
# Display name of the bot, if different from the username
# displayname="FriendlyBot"
# VRChat requires either e-mail or 2FA verification on nearly every login.
# Typing the codes in manually is possible, but highly impractical for headless
# hosts.
#
# For this reason, vrc-embed implements TOTP authentication. To use it:
# * Log into the VRChat web UI (hit the Login button at https://vrchat.com)
# * Navigate to the profile settings (https://vrchat.com/home/profile)
# * Scroll down to "Two-factor authentication" and hit Enable
# * It will show you a QR code and a link to show a code to type in manually.
# Click the link to see the code, then uncomment the below variable and
# paste it in.
# * Get an authenticator app and scan the QR code, so that you have manual
# access to the account.
# * Finish the 2FA setup process. If everything went correctly, it should say
# "You are protecting your account with an additional login step".
#
# If your account already has 2FA and you already have it added to your
# authenticator app, export the 2FA settings from the auth app and find the
# TOTP secret. Paste this secret into the variable.
# Unlike the string provided by VRChat, it will be uppercase and contain no
# spaces (it is, in fact, the same value, just formatted differently).
# vrc-embed accepts both secret styles.
# totp="abcd abcd abcd abcd abcd abcd abcd abcd"
# How long VRChat user profile data should be held in the cache, in seconds.
# Defaults to 60 seconds (1 minute).
# cache_timeout = 60
## Redis is used for caching user data, as well as the login cookies.
[redis]
host="127.0.0.1"
port=6379
# password="foobared"