Skip to main content

TeleIRC - IRC<->telegram gateway

Not my best proyect name, I know.

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

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

Metadata

Release files for teleirc 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teleirc 0.0.0
File Size Uploaded
teleirc-0.0.0.tar.gz 4.7 kB Details

Release files / teleirc-0.0.0.tar.gz

Download URL teleirc-0.0.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5c5594685dad66be768ed2a0bf221c6bdc1862d60eb649b471fcc8dc9f64dd91
BLAKE2b-256 checksum
How to use checksums
60bfbf234b511b4ef1085744fd9a28f2dd8550c6263cbe200078c1d5dc1a8f86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page