From 5f7254f4fd4f6b68186ad8ec919357259547e8cc Mon Sep 17 00:00:00 2001 From: girst Date: Sat, 25 Jul 2020 17:12:50 +0200 Subject: [PATCH] re-format config.ini --- config/config.ini | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/config/config.ini b/config/config.ini index 11ab896..6a90b98 100644 --- a/config/config.ini +++ b/config/config.ini @@ -5,19 +5,32 @@ database = /opt/yt/subscriptions.sqlite # generate a base64 encoded secret key e.g. with `head -c32 /dev/urandom | base64` # this secures the cookies and csrf tokens of the frontend. secret_key = -# 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. -welcome_message =

This is the development instance of the (yet) unnamed youtube frontend, a privacy-friendly way to catch up with your Youtube subscriptions. Contributors wanted (see repo README)!

You're seeing the guest user's subscription feed right now; feel free to explore! + +# a message to show anonymous users when they navigate to /: +welcome_message =

This is the development instance of the (yet) + + unnamed youtube frontend, a privacy-friendly way to catch up with + your Youtube subscriptions. Contributors wanted + (see repo + README)!

You're seeing the guest user's subscription feed right + now; feel free to explore! + # 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. the 'proxy' endpoint is disabled by -# default. -modules = invidious,youtube,reddit +# default. if you run webhooks on a different server/port, you can disable it +# here (although it doesn't hurt). +modules = invidious,youtube,webhooks,reddit [websub] -# how long to ask websub-provider for updates (cargo-culted from invidious; 5 * 24 * 60 * 60 = 5days): +# how long (in seconds) to request updates from websub-hub before having to +# re-subscribe (5 * 24 * 60 * 60 = 5days, cargo-culted from invidious): lease = 432000 -# public url of our webhook server without "/websub/v1/"...: + +# public url of your webhook server without "/websub/v1/"... (this is probably +# the where you run your frontend, unless you use a different server/port): public_uri = http://delta.gir.st:8801 -# secret (7-bit ASCII) string to sign websub responses and urls (but may not be empty): -# `tr -dc '[:print:]'