mirror of
https://github.com/YunoHost-Apps/mautrix_facebook_ynh.git
synced 2024-09-03 19:36:33 +02:00
99 lines
4.4 KiB
TOML
99 lines
4.4 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
packaging_format = 2
|
|
|
|
id = "mautrix_facebook"
|
|
name = "Matrix-Facebook bridge"
|
|
description.en = "Facebook puppeting bridge for Matrix/Synapse."
|
|
description.fr = "Passerelle Facebook pour Matrix/Synapse."
|
|
|
|
version = "0.5.1~ynh2"
|
|
|
|
maintainers = ["Gredin67"]
|
|
|
|
[upstream]
|
|
license = "AGPL-3.0-or-later"
|
|
admindoc = "https://docs.mau.fi/bridges/python/setup/index.html?bridge=facebook"
|
|
userdoc = "https://docs.mau.fi/bridges/python/facebook/index.html"
|
|
code = "https://github.com/mautrix/facebook"
|
|
fund = "https://github.com/sponsors/tulir"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.1"
|
|
architectures = "all"
|
|
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_facebook"
|
|
ask.fr = "Choisissez le numéro de l'instance synapse qui doit communiquer avec mautrix_facebook"
|
|
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 Facebook bot"
|
|
ask.fr = "Choisissez un nom d'utilisateur synapse local pour le robot Facebook"
|
|
help.en = "A system user will be created. Invite @facebookbot: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 @facebookbot: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 = "facebookbot"
|
|
default = "facebookbot"
|
|
|
|
[install.encryption]
|
|
ask.en = "Enable end-to-bridge encryption ?"
|
|
ask.fr = "Activer le chiffrement entre synapse et le bridge ?"
|
|
help.en = "Only activate if you know the prerequisites and constraints related to e2b."
|
|
help.fr = "N'activer que si vous connaissez les prérequis et constraintes liées à e2b."
|
|
type = "boolean"
|
|
default = false
|
|
|
|
[install.botadmin]
|
|
ask.en = "Choose the Matrix account administrator of the Facebook bot"
|
|
ask.fr = "Choisissez le compte Matrix administrateur du robot Facebook"
|
|
help.en = "The Facebook bot administrator does not need to be a local synapse account."
|
|
help.fr = "Le compte administrateur du robot Facebook 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 Facebook bot"
|
|
ask.fr = "Choisissez le/les compte(s) Matrix autorisés à utiliser le robot Facebook"
|
|
help.en = "All local synapse users (local), 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 = "On peut autoriser tous les comptes synapse locaux (local), 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 = "local or @johndoe:server.name or server.name or *"
|
|
default = "local"
|
|
|
|
[resources]
|
|
[resources.sources.main]
|
|
url = "https://github.com/mautrix/facebook/archive/v0.5.1.tar.gz"
|
|
sha256 = "28fa1367c1108554e155b9b061adb6023fbde949b836db640bd74f5e88bf6249"
|
|
extract = false
|
|
rename = "mautrix-facebook.tar.gz"
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
autoupdate.asset = "tarball"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.permissions]
|
|
|
|
[resources.ports]
|
|
main.default = 8449
|
|
|
|
[resources.apt]
|
|
packages = "postgresql, python3"
|
|
|
|
[resources.database]
|
|
type = "postgresql"
|