Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Telegram IRC

Project Description

TeleIRC - IRC<->telegram gateway

Not my best proyect name, I know.


This is a 3h project. I actually invested 3h in writting it all (except this readme, of course). It works, but it’ll probably lack things you want

This project is a telegram to irc gateway (and vice-versa) similar bitlbee + libpurple + telegram-purple setup.

After a few hours trying to make bitlbee + telegram-libpurple to work on my rpi3, I decided that writing my own would probably be easier (and it actually was).

Currently, you need to have telegram-cli installed, and the user authenticated. Only one user per system user is allowed at a time, and probably port collision will happen if you do it on multiple users (irc port is hardcoded, as well as default port for telegram-cli in pytg).


Usage is pretty simple:

  • Install telegram_cli
  • Run telegram_cli and authenticate your user
  • Run teleirc
  • Connect your irc server to localhost:6666 and join #telegram channel

Now, you’ll see some users have a # before their names on the #telegram channel. That’s so you can use autocomplete on /join to not miss the channels name, but they’re not actually users and talking to them directly from the #telegram channel will probably work not-so-fine.

Also, I’d recommend not using #telegram channel at all except for the userlist, as user responses will always go on private queries…

Apart from that, joining, querying and receiving messages work as usual on IRC

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.7 kB) Copy SHA256 Hash SHA256
Source None Jan 4, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate