2 database = /opt/yt/subscriptions.sqlite
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.
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
!
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
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
34 # real-time updates of subscriptions.
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):
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`
45 # automatically solve the captcha if your IP gets banned. tested with
46 # capmonster.cloud and should also work with anti-captcha.com.
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