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 can be disabled
23 # to conserve bandwidth. if you run webhooks on a different server/port, you
24 # can disable it here (although it doesn't hurt).
25 modules = browse,youtube,webhooks,proxy,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 # since proxying video files takes a lot of bandwidth, it can be restricted to
35 # only logged-in users (to completely disable, just remove 'proxy' from the
36 # modules in the [frontend] section):
40 # there are two ways the reddit client can work. by default, reddit posts are
41 # fetched by the server itself. this has the advantage that we can honor pinned
42 # and hidden videos, when they appear in the feed. however, making a lot of
43 # requests to reddit will probably get your IP banned by reddit. hence, the
44 # plugin can also fetch posts via javascript on the user's browser:
45 use_client_side_client = false
48 # real-time updates of subscriptions.
50 # how long (in seconds) to request updates from websub-hub before having to
51 # re-subscribe (5 * 24 * 60 * 60 = 5days, cargo-culted from invidious):
54 # secret (7-bit ASCII) string to sign websub responses and urls (but may not be
55 # empty): can be generated with `tr -dc '[:print:]' </dev/urandom | head -c 32`
59 # automatically solve the captcha if your IP gets banned. tested with
60 # capmonster.cloud and should also work with anti-captcha.com.
62 # api host and secret supplied by the api provider. if key is unset, captcha
63 # busting will be disabled.
64 api_host = https://api.capmonster.cloud