2022-06-19 13:32:12 +02:00
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
[main]
|
|
|
|
name = "Nitter configuration"
|
|
|
|
services = ["__APP__"]
|
|
|
|
|
|
|
|
[main.config]
|
|
|
|
name = "Configuration Options"
|
|
|
|
|
|
|
|
[main.config.title]
|
|
|
|
ask = "Default title"
|
|
|
|
type = "string"
|
|
|
|
default = "Nitter"
|
|
|
|
help = "Choose a default title for this instance"
|
|
|
|
bind = "title:__FINALPATH__/nitter.conf"
|
|
|
|
|
|
|
|
[main.config.theme]
|
|
|
|
ask = "Default theme"
|
|
|
|
type = "select"
|
|
|
|
choices = ["Auto", "Black", "Mastodon", "Nitter", "Pleroma", "Twitter", "Twitter dark"]
|
|
|
|
default = "Auto"
|
|
|
|
help = "Choose a default theme for this instance"
|
|
|
|
bind = "theme:__FINALPATH__/nitter.conf"
|
|
|
|
|
|
|
|
[main.config.hls_playback]
|
|
|
|
ask = "Enable HLS"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Enable HLS video playback by default"
|
|
|
|
bind = "hlsPlayback:__FINALPATH__/nitter.conf"
|
|
|
|
|
|
|
|
[main.config.infinite_scroll]
|
|
|
|
ask = "Enable infinite scrolling"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Enable infinite scrolling by default"
|
|
|
|
bind = "infiniteScroll:__FINALPATH__/nitter.conf"
|
|
|
|
|
|
|
|
[main.config.proxy_videos]
|
|
|
|
ask = "Proxy Twitter videos"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Proxy Twitter videos through Nitter by default"
|
|
|
|
bind = "Scanner.Extractor:__FINALPATH__/nitter.conf"
|
|
|
|
|
2022-06-19 13:45:01 +02:00
|
|
|
[main.config.replace_reddit]
|
2022-06-19 13:32:12 +02:00
|
|
|
ask = "Libreddit instance"
|
|
|
|
type = "string"
|
|
|
|
help = "Replace Instagram links with a Libreddit instance"
|
|
|
|
bind = "replaceInstagram:__FINALPATH__/nitter.conf"
|
|
|
|
|
2022-06-19 13:45:01 +02:00
|
|
|
[main.config.replace_instagram]
|
2022-06-19 13:32:12 +02:00
|
|
|
ask = "Bibliogram instance"
|
|
|
|
type = "string"
|
|
|
|
help = "Replace Instagram links with a Bibliogram instance"
|
|
|
|
bind = "replaceInstagram:__FINALPATH__/nitter.conf"
|
|
|
|
|
|
|
|
[main.config.replace_youtube]
|
|
|
|
ask = "Invidious instance"
|
|
|
|
type = "string"
|
|
|
|
help = "Replace YouTube links with an Invidious instance"
|
|
|
|
bind = "replaceYouTube:__FINALPATH__/nitter.conf"
|