mirror of
https://github.com/YunoHost-Apps/mautrix_telegram_ynh.git
synced 2024-09-03 19:45:55 +02:00
Auto-update README
This commit is contained in:
parent
de293c970f
commit
eb07360a6c
2 changed files with 31 additions and 30 deletions
19
README.md
19
README.md
|
@ -17,7 +17,13 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand.
|
A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand.
|
||||||
|
|
||||||
|
|
||||||
|
**Shipped version:** 0.12.0~ynh1
|
||||||
|
|
||||||
|
## Disclaimers / important information
|
||||||
|
|
||||||
## List of known public services
|
## List of known public services
|
||||||
|
|
||||||
* Ask on one of the following rooms: #mautrix_yunohost:matrix.fdn.fr or #telegram:maunium.net
|
* Ask on one of the following rooms: #mautrix_yunohost:matrix.fdn.fr or #telegram:maunium.net
|
||||||
|
|
||||||
## Bridging usage
|
## Bridging usage
|
||||||
|
@ -49,19 +55,14 @@ See also [upstream wiki Authentication page](https://docs.mau.fi/bridges/python/
|
||||||
### Relaybot: Bridge a group for several Matrix and several Telegram users to chat together
|
### Relaybot: Bridge a group for several Matrix and several Telegram users to chat together
|
||||||
* see https://docs.mau.fi/bridges/python/telegram/relay-bot.html
|
* see https://docs.mau.fi/bridges/python/telegram/relay-bot.html
|
||||||
|
|
||||||
|
## Configuration of the bridge
|
||||||
**Shipped version:** 0.12.0~ynh1
|
|
||||||
|
|
||||||
## Disclaimers / important information
|
|
||||||
|
|
||||||
### Configuration of the bridge
|
|
||||||
|
|
||||||
The bridge is [roughly configured at installation](https://github.com/YunoHost-Apps/mautrix_telegram_ynh/blob/master/conf/config.yaml), e.g. allowed admin and user of the bot. Finer configuration can be done by modifying the
|
The bridge is [roughly configured at installation](https://github.com/YunoHost-Apps/mautrix_telegram_ynh/blob/master/conf/config.yaml), e.g. allowed admin and user of the bot. Finer configuration can be done by modifying the
|
||||||
following configuration file with SSH:
|
following configuration file with SSH:
|
||||||
```/opt/yunohost/mautrix_telegram/config.yaml```
|
```/opt/yunohost/mautrix_telegram/config.yaml```
|
||||||
and then restarting the mautrix_telegram service.
|
and then restarting the mautrix_telegram service.
|
||||||
|
|
||||||
### Documentation
|
## Documentation
|
||||||
|
|
||||||
* Official "Mautrix-Telegram" documentation: https://docs.mau.fi/bridges/python/telegram/index.html
|
* Official "Mautrix-Telegram" documentation: https://docs.mau.fi/bridges/python/telegram/index.html
|
||||||
* Matrix room (Matrix Bridges in Yunohost): #mautrix_yunohost:matrix.fdn.fr
|
* Matrix room (Matrix Bridges in Yunohost): #mautrix_yunohost:matrix.fdn.fr
|
||||||
|
@ -71,6 +72,8 @@ In case you need to upload your logs somewhere, be aware that they contain your
|
||||||
* "Mautrix-Telegram" bridge is based on the [telegram daemon](https://gitlab.com/telegramd/telegramd) project.
|
* "Mautrix-Telegram" bridge is based on the [telegram daemon](https://gitlab.com/telegramd/telegramd) project.
|
||||||
* YunoHost documentation: If more specific documentation is needed, feel free to contribute.
|
* YunoHost documentation: If more specific documentation is needed, feel free to contribute.
|
||||||
|
|
||||||
|
## YunoHost specific features
|
||||||
|
|
||||||
#### Multi-user support
|
#### Multi-user support
|
||||||
|
|
||||||
* Bot users are not related to Yunohost users. Any Matrix account or Synapse server autorized in the configuration of the bridge can invite/use the bot.
|
* Bot users are not related to Yunohost users. Any Matrix account or Synapse server autorized in the configuration of the bridge can invite/use the bot.
|
||||||
|
@ -84,7 +87,7 @@ In case you need to upload your logs somewhere, be aware that they contain your
|
||||||
* Multi-instance installation should work. Several bridge instances could be installed for one Matrix-Synapse instance so that one Matrix user can bridge several Telegram accounts.
|
* Multi-instance installation should work. Several bridge instances could be installed for one Matrix-Synapse instance so that one Matrix user can bridge several Telegram accounts.
|
||||||
* Several bridge instances could be installed for each Matrix-Synapse instance to benefit from it. But one bridge can be used by users from several Matrix-Synapse instances.
|
* Several bridge instances could be installed for each Matrix-Synapse instance to benefit from it. But one bridge can be used by users from several Matrix-Synapse instances.
|
||||||
|
|
||||||
### Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
* Check the spelling of the bot name!
|
* Check the spelling of the bot name!
|
||||||
* For slow servers it might be necessary to run ``systemctl edit mautrix_telegram.service`` (also for `coturn.service` and `coturn-synapse.service`) and insert
|
* For slow servers it might be necessary to run ``systemctl edit mautrix_telegram.service`` (also for `coturn.service` and `coturn-synapse.service`) and insert
|
||||||
|
|
42
README_fr.md
42
README_fr.md
|
@ -15,13 +15,22 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
|
|
||||||
## Vue d'ensemble
|
## Vue d'ensemble
|
||||||
|
|
||||||
A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand.
|
Une passerelle entre Matrix et Telegram empaquetée comme un service YunoHost. Les messages, médias et notifications sont relayées entre un compte Telegram et un compte Matrix.
|
||||||
|
La passerelle ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) consiste en un Service d'Application Matrix-Synapse et repose sur une base-de-données postgresql. C'est pourquoi [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) doit être préalablemnet installé.
|
||||||
|
|
||||||
## List of known public services
|
** Attention : sauvegardez et restaurez toujours les deux applications Yunohost matrix-synapse et mautrix_telegram en même temps!**
|
||||||
* Ask on one of the following rooms: #mautrix_yunohost:matrix.fdn.fr or #telegram:maunium.net
|
|
||||||
|
|
||||||
## Bridging usage
|
|
||||||
** Note that several Telegram and Matrix users can be bridged, each Telegram account has its own bot administration room. If they are in a same Telegram group, only one matrix room will be created. **
|
**Version incluse :** 0.12.0~ynh1
|
||||||
|
|
||||||
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
|
## Liste de passerelles publiques
|
||||||
|
|
||||||
|
* Demandez sur un des salons suivants: #mautrix_yunohost:matrix.fdn.fr ou #telegram:maunium.net
|
||||||
|
|
||||||
|
## Usages de la passerelle
|
||||||
|
** Notez que plusieurs comptes Telegram et Matrix peuvent être pontés, chaque compte Telegram connecté a son propre Salon d'Administration. Si plusieurs utilisateur.ice.s du Robot sont dans un même groupe Signal, seul un Salon Matrix sera créé par la passerelle. **
|
||||||
|
|
||||||
### Bridge a Telegram user and a Matrix user
|
### Bridge a Telegram user and a Matrix user
|
||||||
* First your Matrix user or Synapse Server has to be authorized in the Configuration of the bridge (see below)
|
* First your Matrix user or Synapse Server has to be authorized in the Configuration of the bridge (see below)
|
||||||
|
@ -49,42 +58,31 @@ See also [upstream wiki Authentication page](https://docs.mau.fi/bridges/python/
|
||||||
### Relaybot: Bridge a group for several Matrix and several Telegram users to chat together
|
### Relaybot: Bridge a group for several Matrix and several Telegram users to chat together
|
||||||
* see https://docs.mau.fi/bridges/python/telegram/relay-bot.html
|
* see https://docs.mau.fi/bridges/python/telegram/relay-bot.html
|
||||||
|
|
||||||
|
## Documentation
|
||||||
**Version incluse :** 0.12.0~ynh1
|
|
||||||
|
|
||||||
## Avertissements / informations importantes
|
|
||||||
|
|
||||||
### Configuration of the bridge
|
|
||||||
|
|
||||||
The bridge is [roughly configured at installation](https://github.com/YunoHost-Apps/mautrix_telegram_ynh/blob/master/conf/config.yaml), e.g. allowed admin and user of the bot. Finer configuration can be done by modifying the
|
|
||||||
following configuration file with SSH:
|
|
||||||
```/opt/yunohost/mautrix_telegram/config.yaml```
|
|
||||||
and then restarting the mautrix_telegram service.
|
|
||||||
|
|
||||||
### Documentation
|
|
||||||
|
|
||||||
* Official "Mautrix-Telegram" documentation: https://docs.mau.fi/bridges/python/telegram/index.html
|
* Official "Mautrix-Telegram" documentation: https://docs.mau.fi/bridges/python/telegram/index.html
|
||||||
* Matrix room (Matrix Bridges in Yunohost): #mautrix_yunohost:matrix.fdn.fr
|
* Matrix room (Matrix Bridges in Yunohost): #mautrix_yunohost:matrix.fdn.fr
|
||||||
* Matrix room (upstream app): #telegram:maunium.net
|
* Matrix room (upstream app): #telegram:maunium.net
|
||||||
In case you need to upload your logs somewhere, be aware that they contain your contacts' and your phone numbers. Strip them out with
|
In case you need to upload your logs somewhere, be aware that they contain your contacts' and your phone numbers. Strip them out with
|
||||||
``| sed -r 's/[0-9]{10,}/📞/g' ``
|
``| sed -r 's/[0-9]{10,}/??/g' ``
|
||||||
* "Mautrix-Telegram" bridge is based on the [telegram daemon](https://gitlab.com/telegramd/telegramd) project.
|
* "Mautrix-Telegram" bridge is based on the [telegram daemon](https://gitlab.com/telegramd/telegramd) project.
|
||||||
* YunoHost documentation: If more specific documentation is needed, feel free to contribute.
|
* YunoHost documentation: If more specific documentation is needed, feel free to contribute.
|
||||||
|
|
||||||
#### Multi-user support
|
## Caractéristiques spécifiques YunoHost
|
||||||
|
|
||||||
|
#### Support multi-comptes
|
||||||
* Bot users are not related to Yunohost users. Any Matrix account or Synapse server autorized in the configuration of the bridge can invite/use the bot.
|
* Bot users are not related to Yunohost users. Any Matrix account or Synapse server autorized in the configuration of the bridge can invite/use the bot.
|
||||||
* The Telegram bot is a local Matrix-Synapse user, but accessible through federation (synapse public or private).
|
* The Telegram bot is a local Matrix-Synapse user, but accessible through federation (synapse public or private).
|
||||||
* Several Telegram and Matrix users can be bridged with one bridge, each user has its own bot administration room.
|
* Several Telegram and Matrix users can be bridged with one bridge, each user has its own bot administration room.
|
||||||
* If several bot users are in a same Telegram group, only one Matrix room will be created by the bridge.
|
* If several bot users are in a same Telegram group, only one Matrix room will be created by the bridge.
|
||||||
* See https://github.com/YunoHost-Apps/synapse_ynh#multi-users-support
|
* See https://github.com/YunoHost-Apps/synapse_ynh#multi-users-support
|
||||||
|
|
||||||
#### Multi-instance support
|
#### Support multi-instance
|
||||||
|
|
||||||
* Multi-instance installation should work. Several bridge instances could be installed for one Matrix-Synapse instance so that one Matrix user can bridge several Telegram accounts.
|
* Multi-instance installation should work. Several bridge instances could be installed for one Matrix-Synapse instance so that one Matrix user can bridge several Telegram accounts.
|
||||||
* Several bridge instances could be installed for each Matrix-Synapse instance to benefit from it. But one bridge can be used by users from several Matrix-Synapse instances.
|
* Several bridge instances could be installed for each Matrix-Synapse instance to benefit from it. But one bridge can be used by users from several Matrix-Synapse instances.
|
||||||
|
|
||||||
### Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
* Check the spelling of the bot name!
|
* Check the spelling of the bot name!
|
||||||
* For slow servers it might be necessary to run ``systemctl edit mautrix_telegram.service`` (also for `coturn.service` and `coturn-synapse.service`) and insert
|
* For slow servers it might be necessary to run ``systemctl edit mautrix_telegram.service`` (also for `coturn.service` and `coturn-synapse.service`) and insert
|
||||||
|
|
Loading…
Reference in a new issue