mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
82 lines
1.9 KiB
TOML
82 lines
1.9 KiB
TOML
packaging_format = 2
|
|
|
|
id = "yourls"
|
|
name = "Yourls"
|
|
description.en = "URL shortening service"
|
|
description.fr = "Service de raccourcisseur d'URL"
|
|
|
|
version = "1.9.2~ynh2"
|
|
|
|
maintainers = ["Anmol Sharma"]
|
|
|
|
[upstream]
|
|
license = "MIT"
|
|
website = "https://yourls.org/"
|
|
demo = "https://yourls.org/cookie+"
|
|
admindoc = "https://docs.yourls.org/"
|
|
code = "https://github.com/YOURLS/YOURLS"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
ldap = false
|
|
sso = false
|
|
disk = "50M"
|
|
ram.build = "150M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
type = "path"
|
|
default = "/yourls"
|
|
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.admin]
|
|
type = "user"
|
|
|
|
[install.password]
|
|
type = "password"
|
|
|
|
[install.language]
|
|
ask.en = "Choose the application language"
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
type = "select"
|
|
select = ["fr_FR", "en_US"]
|
|
default = "fr_FR"
|
|
|
|
[resources]
|
|
|
|
[resources.sources]
|
|
|
|
[resources.sources.main]
|
|
url = "https://github.com/YOURLS/YOURLS/archive/1.9.2.zip"
|
|
sha256 = "65e242aaf007f86d7bf8f7f2776ee814a632a783749151d043d669512c3b41cb"
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.sources.fr]
|
|
url = "https://github.com/ozh/YOURLS-fr_FR/archive/refs/tags/1.8.zip"
|
|
sha256 = "ef9c0e71d4559994b9df0cd0a558f6faf11eba185c4793ba0e30f3500dab1b04"
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
admin.url = "/admin"
|
|
admin.show_tile = false
|
|
admin.allowed = "admins"
|
|
|
|
[resources.apt]
|
|
packages = "mariadb-server, php8.1-gmp, php8.1-bcmath, php8.1-curl, php8.1-mysql, php8.1-zip, php8.1-gd, php8.1-mbstring, php8.1-xml"
|
|
|
|
[resources.database]
|
|
type = "mysql"
|