]> git.gir.st - subscriptionfeed.git/blob - config/config.ini
rename 'dangerous' blueprint, as its safe
[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 [websub]
28 # how long (in seconds) to request updates from websub-hub before having to
29 # re-subscribe (5 * 24 * 60 * 60 = 5days, cargo-culted from invidious):
30 lease = 432000
31
32 # public url of your webhook server without "/websub/v1/"... (this is probably
33 # the where you run your frontend, unless you use a different server/port):
34 public_uri = http://delta.gir.st:8801
35
36 # secret (7-bit ASCII) string to sign websub responses and urls (but may not be
37 # empty): can be generated with `tr -dc '[:print:]' </dev/urandom | head -c 32`
38 hmac_key = x
Imprint / Impressum