]> git.gir.st - subscriptionfeed.git/blob - config/config.ini
[WARNING: CONFIG CHANGE] reorganize webhooks config
[subscriptionfeed.git] / config / config.ini
1 [global]
2 database = /opt/yt/subscriptions.sqlite
3
4 [frontend]
5 # generate a base64 encoded secret key e.g. with `head -c32 /dev/urandom | base64`
6 # this secures the cookies and csrf tokens of the frontend.
7 secret_key =
8
9 # a message to show anonymous users when they navigate to /:
10 welcome_message = <h2>Welcome to subscriptions.gir.st</h2>
11 <p>Watch YouTube-videos <em>ad-free</em> (including most baked-in
12 sponsored segments), listen to <em>audio in the background</em> and
13 <em>subscribe to channels</em> without Google tracking you.
14 <p>Know Python or CSS? <a href="https://git.gir.st/subscriptionfeed.git">
15 Help improving this <abbr title="Free/Libre, Open Source Software"
16 style="font-variant:all-small-caps">FLOSS</abbr> project!</a>
17 <p>You're seeing the guest user's subscription feed right
18 now; feel free to explore!
19
20 # comma seperated list of blueprints to load. you may put your own blueprints
21 # in a subdirectory of app/ and list them here. modules mentioned first will
22 # shadow routes of those mentioned last. the 'proxy' endpoint is disabled by
23 # default. if you run webhooks on a different server/port, you can disable it
24 # here (although it doesn't hurt).
25 modules = browse,youtube,webhooks,reddit
26
27 [webhooks]
28 # public url of your webhook server without "/websub/v1/"... (this is probably
29 # the where you run your frontend, unless you run the 'webhooks' blueprint
30 # seperately; used for 'websub' and 'captcha' features):
31 public_uri = http://delta.gir.st:8801
32
33 [websub]
34 # real-time updates of subscriptions.
35
36 # how long (in seconds) to request updates from websub-hub before having to
37 # re-subscribe (5 * 24 * 60 * 60 = 5days, cargo-culted from invidious):
38 lease = 432000
39
40 # secret (7-bit ASCII) string to sign websub responses and urls (but may not be
41 # empty): can be generated with `tr -dc '[:print:]' </dev/urandom | head -c 32`
42 hmac_key = x
43
44 [captcha]
45 # automatically solve the captcha if your IP gets banned. tested with
46 # capmonster.cloud and should also work with anti-captcha.com.
47
48 # api host and secret supplied by the api provider. if key is unset, captcha
49 # busting will be disabled.
50 api_host = https://api.capmonster.cloud
51 api_key =
Imprint / Impressum