New lite matrix<->telegram bridge for personal use, replacement mautrix-telegram
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
kotovalexarian 2ea41e1187
Move messengers to separate module (#3)
2 weeks ago
mirrortea Move messengers to separate module (#3) 2 weeks ago
.env.example fix: env config 3 weeks ago
.gitignore Add SQLite database 3 weeks ago
Dockerfile fix: add config to docker 3 weeks ago
LICENSE Add LICENSE 3 weeks ago
README.md add links to mautrix 2 weeks ago
config.yaml fix: env config 3 weeks ago
docker-compose.yml Add SQLite database 3 weeks ago
requirements.txt fix: imports, requirements 3 weeks ago

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