]> git.gir.st - subscriptionfeed.git/blob - config/config.ini
implement websub hmac verification (not yet enforced)
[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 # a message to show anonymous users when they navigate to /. note that you may not put newlines in it, as the perl ini parser can't handle them.
9 welcome_message = This is the test instance of <a href="http://delta.gir.st:3000/girst/unnamed-youtube-frontend">unnamed-youtube-frontend</a>. Contributors welcome!
10 # comma seperated list of blueprints to load. you may put your own blueprints in a subdirectory of app/ and list them here. modules mentioned first will shadow routes of those mentioned last.
11 modules = invidious,youtube,reddit
12
13 [websub]
14 # how long to ask websub-provider for updates (cargo-culted from invidious; 5 * 24 * 60 * 60 = 5days):
15 lease = 432000
16 # public url of our webhook server without "/websub/v1/"...:
17 public_uri = http://delta.gir.st:8801
18 # secret (7-bit ASCII) string to sign websub responses and urls (but may not be empty):
19 # `tr -dc '[:print:]' </dev/urandom | head -c 32`
20 hmac_key = x
Imprint / Impressum