]> git.gir.st - subscriptionfeed.git/blob - config/config.ini
re-format config.ini
[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 = <p>This is the development instance of the (yet)
11 <a href="https://git.gir.st/subscriptionfeed.git" style="text-decoration:underline">
12 unnamed youtube frontend</a>, a privacy-friendly way to catch up with
13 your Youtube subscriptions. Contributors wanted
14 (<a href="https://git.gir.st/subscriptionfeed.git/summary">see repo
15 README</a>)!<p>You're seeing the guest user's subscription feed right
16 now; feel free to explore!
17
18 # comma seperated list of blueprints to load. you may put your own blueprints
19 # in a subdirectory of app/ and list them here. modules mentioned first will
20 # shadow routes of those mentioned last. the 'proxy' endpoint is disabled by
21 # default. if you run webhooks on a different server/port, you can disable it
22 # here (although it doesn't hurt).
23 modules = invidious,youtube,webhooks,reddit
24
25 [websub]
26 # how long (in seconds) to request updates from websub-hub before having to
27 # re-subscribe (5 * 24 * 60 * 60 = 5days, cargo-culted from invidious):
28 lease = 432000
29
30 # public url of your webhook server without "/websub/v1/"... (this is probably
31 # the where you run your frontend, unless you use a different server/port):
32 public_uri = http://delta.gir.st:8801
33
34 # secret (7-bit ASCII) string to sign websub responses and urls (but may not be
35 # empty): can be generated with `tr -dc '[:print:]' </dev/urandom | head -c 32`
36 hmac_key = x
Imprint / Impressum