1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nitter_ynh.git synced 2024-09-03 19:46:24 +02:00
nitter_ynh/config_panel.toml
Éric Gaspar d389486685
Version 2 (#32)
---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Jules Bertholet <julesbertholet@quoi.xyz>
2023-06-03 13:23:20 -04:00

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"