aboutsummaryrefslogtreecommitdiffstats
path: root/config.env.example
blob: 3ae6b5810d0ac6cb926cc2f1c52c9694a435566d (plain)
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
#
# yt-local options
#

APP_PUBLIC=True
APP_URL='http://example.org'

ROUTE_TOR=0
TOR_PORT=9050
TOR_CONTROL_PORT=9151

PORT_NUMBER=8080

ALLOW_FOREIGN_ADDRESSES=True

SUBTITLES_MODE=0
SUBTITLES_LANG='en'

RELATED_VIDEOS_MODE=1

COMMENTS_MODE=1
ENABLE_COMMENTS_AVATARS=True
DEFAULT_COMMENT_SORTING=0

THEATER_MODE=True
DEFAULT_RESOLUTION=1080
CODEC_RANK_H264=3
CODEC_RANK_VP=2
CODEC_RANK_AV1=1
PREFER_UNI_SOURCES=True

USE_VIDEO_PLAYER=2
PROXY_IMAGES=True
USE_COMMENTS_JS=True
USE_SPONSORBLOCK_JS=False

THEME=1
FONT=1

EMBED_PAGE_MODE=True
AUTOCHECK_SUBSCRIPTIONS=True

# debug
GATHER_GOOGLEVIDEO_DOMAINS=False
DEBUGGING_SAVE_RESPONSES=False

#
# Tor options
#

MAX_CIRCUIT=500 # seconds
CIRCUIT_TIMEOUT=500 # seconds
URL_CHECK=https://www.youtube.com/results?search_query=rms
EXIT_NODES={CH},{RU},{UA},{EC},{MX},{AR},{CL},{CO}
EXCLUDE_EXIT_NODES={US},{AU},{CA},{NZ},{GB},{FR},{DE},{UK}

#
# Gunicorn options
#

GUNICORN_NUM_WORKERS=4
GUNICORN_TIMEOUT=120