mirror of
https://github.com/YunoHost-Apps/nitter_ynh.git
synced 2024-09-03 19:46:24 +02:00
d389486685
--------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Jules Bertholet <julesbertholet@quoi.xyz>
48 lines
1.3 KiB
TOML
48 lines
1.3 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:__INSTALL_DIR__/nitter.conf"
|
|
|
|
[main.config.theme]
|
|
ask = "Default theme"
|
|
type = "select"
|
|
choices = [
|
|
"Auto",
|
|
"Auto (Twitter)",
|
|
"Black",
|
|
"Dracula",
|
|
"Mastodon",
|
|
"Nitter",
|
|
"Pleroma",
|
|
"Twitter",
|
|
"Twitter dark",
|
|
]
|
|
default = "Auto"
|
|
help = "Choose a default theme for this instance"
|
|
bind = "theme:__INSTALL_DIR__/nitter.conf"
|
|
|
|
[main.config.replace_youtube]
|
|
ask = "Piped/Invidious instance"
|
|
type = "string"
|
|
default = "https://invidious.fdn.fr/"
|
|
help = "Replace YouTube links with a Piped or Invidious instance"
|
|
bind = "replaceYouTube:__INSTALL_DIR__/nitter.conf"
|
|
|
|
[main.config.replace_reddit]
|
|
ask = "Teddit/Libreddit instance"
|
|
type = "string"
|
|
default = "https://libredd.it/"
|
|
help = "Replace Reddit links with a Teddit or Libreddit instance"
|
|
bind = "replaceReddit:__INSTALL_DIR__/nitter.conf"
|
|
|