mirror of
https://github.com/YunoHost-Apps/nitter_ynh.git
synced 2024-09-03 19:46:24 +02:00
65 lines
2.1 KiB
TOML
65 lines
2.1 KiB
TOML
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"
|
|
|
|
[main.config.$replace_reddit]
|
|
ask = "Libreddit instance"
|
|
type = "string"
|
|
help = "Replace Instagram links with a Libreddit instance"
|
|
bind = "replaceInstagram:__FINALPATH__/nitter.conf"
|
|
|
|
[main.config.$replace_instagram]
|
|
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"
|