mirror of
https://github.com/YunoHost-Apps/mautrix_signal_ynh.git
synced 2024-09-03 19:46:07 +02:00
070b255e0e
Also add a helper "yaml2json" python script to allow using jq from the shell to query config values.
105 lines
5.1 KiB
TOML
105 lines
5.1 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
packaging_format = 2
|
|
|
|
id = "mautrix_signal"
|
|
name = "Matrix Signal bridge"
|
|
description.en = "Matrix / Synapse puppeting bridge for Signal"
|
|
description.fr = "Passerelle Matrix / Synapse pour Signal"
|
|
|
|
version = "0.5.1~ynh1"
|
|
|
|
maintainers = ["MayeulC"]
|
|
|
|
[upstream]
|
|
license = "AGPL-3.0-or-later"
|
|
userdoc = "https://docs.mau.fi/bridges/go/signal/index.html"
|
|
code = "https://github.com/mautrix/signal"
|
|
fund = "https://github.com/sponsors/tulir"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2"
|
|
architectures = ["amd64", "arm64"]
|
|
multi_instance = true
|
|
ldap = "not_relevant"
|
|
sso = "not_relevant"
|
|
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
|
|
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
|
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
|
|
|
[install]
|
|
[install.synapsenumber]
|
|
ask.en = "Choose the local synapse instance number to communicate with mautrix_signal"
|
|
ask.fr = "Choisissez le numéro de l'instance synapse qui doit communiquer avec mautrix_signal"
|
|
help.en = "If you installed synapse only once time, then leave default value 1."
|
|
help.fr = "Si vous n'avez installé qu'une fois synapse, gardez la valeur par défaut 1."
|
|
type = "string"
|
|
example = "2 (for instance synapse__2)"
|
|
default = "1"
|
|
|
|
[install.botname]
|
|
ask.en = "Choose a local synapse user name for the Signal bot"
|
|
ask.fr = "Choisissez un nom d'utilisateur synapse local pour le robot Signal"
|
|
help.en = "A system user will be created. Invite @signalbot:localsynapse.servername from an authorized Matrix account to start bridging. Give the matrix server_name, not the full domain/url."
|
|
help.fr = "Un utilisateur système sera créé. Inviter @signalbot:localsynapse.servername depuis un compte Matrix autorisé pour démarrer une passerelle. Donner le nom du serveur matrix, pas le domaine/url complet."
|
|
type = "string"
|
|
example = "signalbot"
|
|
default = "signalbot"
|
|
|
|
[install.botadmin]
|
|
ask.en = "Choose the Matrix account administrator of the Signal bot"
|
|
ask.fr = "Choisissez le compte Matrix administrateur du robot Signal"
|
|
help.en = "The Signal bot administrator does not need to be a local synapse account."
|
|
help.fr = "Le compte administrateur du robot Signal peut ne pas être un compte local synapse."
|
|
type = "string"
|
|
example = "@johndoe:localsynapse.servername or @johndoe:matrix.org"
|
|
default = "Your main Matrix account"
|
|
|
|
[install.botusers]
|
|
ask.en = "Choose Matrix user(s) authorized to bridge with the Signal bot"
|
|
ask.fr = "Choisissez le/les compte(s) Matrix autorisés à utiliser la passerelle Signal"
|
|
help.en = "Either the administrator only (admin), all local Synapse users (domain), a remote or local user (@johndoe:server.name), a remote server (matrix.org), or all remote/local servers (*) can be authorized. Give the Matrix server_name, not the full domain/URL."
|
|
help.fr = "L'administrateur seulement (admin), tous les comptes Synapse locaux (domain), un compte local ou distant (@johndoe:server.name), un serveur distant (matrix.org), ou tous les serveurs remote/local (*). Donner le nom du serveur Matrix, pas le domaine/URL complet."
|
|
type = "string"
|
|
example = "admin or domain or @johndoe:server.name or server.name or *"
|
|
default = "domain"
|
|
|
|
[install.enable_relaybot]
|
|
ask.en = "Choose whether to enable the relay bot feature"
|
|
ask.fr = "Choisissez si vous souhaitez activer la fonctionnalité de relai par bot"
|
|
help.en = "If enabled, allows to use a single signal account (bot) to forward messages from multiple Matrix users. Messages will appear on Signal as if originating from a single user, with a prefix that indicates who is talking."
|
|
help.fr = "Si activé, permet d'utiliser un seul compte signal (bot) pour transmettre les messages de multiples utilisateurs Matrix. Les messages apparaîtront sur Signal comme envoyés par un seul utilisateur, avec un préfixe indiquant leur auteur."
|
|
type = "boolean"
|
|
default = true
|
|
|
|
[resources]
|
|
[resources.sources]
|
|
[resources.sources.main]
|
|
in_subdir = false
|
|
extract = false
|
|
rename = "mautrix-signal"
|
|
amd64.url = "https://github.com/mautrix/signal/releases/download/v0.5.1/mautrix-signal-amd64"
|
|
amd64.sha256 = "571919fa4402a22b6ff8bdcc451377174a2d0344a08d65d5dfcdbd2998902ba5"
|
|
arm64.url = "https://github.com/mautrix/signal/releases/download/v0.5.1/mautrix-signal-arm64"
|
|
arm64.sha256 = "55c5e685bf9d63a2cc5b436215adff1bc31cb78a8bc4845c94bb150e1d12760c"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
autoupdate.asset.amd64 = "^mautrix-signal-amd64$"
|
|
autoupdate.asset.arm64 = "^mautrix-signal-arm64$"
|
|
|
|
[resources.system_user]
|
|
home = "/opt/yunohost/__APP__"
|
|
|
|
[resources.install_dir]
|
|
dir = "/opt/yunohost/__APP__"
|
|
|
|
[resources.permissions]
|
|
|
|
[resources.ports]
|
|
main.default = 8449
|
|
|
|
[resources.apt]
|
|
packages = "g++, postgresql, ffmpeg"
|
|
|
|
[resources.database]
|
|
type = "postgresql"
|