New lite matrix<->telegram bridge for personal use, replacement mautrix-telegram
This repository has been archived on 2023-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
localhost_frssoft 9750ab5454 Test state: assertion error 2023-01-19 16:13:10 +03:00
.vscode merge from master 2023-01-15 02:37:27 +04:00
mirrortea Test state: assertion error 2023-01-19 16:13:10 +03:00
tests fix tests, add new abstract methods 2023-01-15 03:01:04 +04:00
.env.example fix: env config 2023-01-10 17:16:50 +04:00
.gitignore merge from master 2023-01-15 02:37:27 +04:00
Dockerfile fix: add config to docker 2023-01-10 16:45:24 +04:00
LICENSE Add LICENSE 2023-01-07 22:56:08 +04:00
README.md add links to mautrix 2023-01-11 23:19:01 +03:00
config.yaml fix: env config 2023-01-10 17:16:50 +04:00
docker-compose.yml Add SQLite database 2023-01-09 00:39:15 +04:00
requirements.txt fix: imports, requirements 2023-01-10 16:33:52 +04:00

README.md

MirrorTea 🐦

New lite Matrix <-> Telegram bridge for personal use, replacement of mautrix-telegram.

For the matrix server is represented by a single and regular user. To simulate chats with different users, creates rooms in matrix, and sets /roomnick and /roomavatar corresponding to the simulated user in telegram.

For telegram, it can be represented as a single bot.

Advantages over the current mautrix-bridge:

  • Supports the bot's private message bridge
  • Requires no permanent host (server)
  • Can run from a phone (termux) or user computer
  • Does not require a domain
  • Doesn't require a static IP
  • No synapse server required
  • Easy to deploy, unlike synapse
  • Doesn't require any computing power like synapse
  • Not tied to a specific matrix server

Disadvantages:

  • Doesn't support papits
  • No support for groups

Install 🌺

Clone repository

git clone https://inex.dev/def/MirrorTea && cd MirrorTea

Then edit .env secrets config

mv .env.example .env

nano .env

Make sure the .env file have permissions 600 (read\write only for owner)

chmod 600 .env

Edit config.yaml

nano config.yaml

Do not change options with brackets "{{ }}", these are templates.

Run on *unix-like systems:

pip install -r requirements.txt

python3 mirrortea

Run with docker:

docker-compose up --build

kotov isprav eto