Matrix bot to mirror Telegram channels


browse  log 



You can also use your local clone with git send-email.

#Matrix-Telegram Channel Mirror

Matrix bot to mirror public Telegram channels.

Project status: This was thought as a proof of concept rather than something I'm actually willing to maintain. If you want to take it over, feel free to fork it. should Works as-is

Crawls Telegrams public view of channels (https://t.me/s/telegram) and sends them to a Matrix group.

Set the "Send messages" permission to something different than "Default" to achieve the read-only environment.


Get the dependencies from GitHub

git clone https://git.sr.ht/~bo41/matrix-channel-mirror
cd matrix-channel-mirror
go get github.com/matrix-org/gomatrix
go get gopkg.in/yaml.v2
go get github.com/PuerkitoBio/goquery
go build


Use cron or similar to call it every few hours (as configured at update_interval) to sync

./matrix-channel-mirror --config /path/to/config.yaml


See config.sample.yaml for Matrix config.

See channels.sample.csv for channel config. (channel name in TG; room ID in Matrix)