Telegram to IRC bridge server
TeleServ is a telegram bot which links to an IRC network as an IRC server, this allows Telegram users to appear as IRC users instead of relaying all messages through a single IRC user. It also acts as a bouncer by allowing users to have a constant connection to IRC.
What IRCds are supported?TeleServ should work with any IRCd that uses TS6 for it's linking protocol, it has been tested on:
example.conf.json
and rename to conf.json
pip install pyTelegramBotAPI imgurpython
python TeleServ.py
/setchan
command to link the group to an IRC channel./conn
to connect your user the IRC channel.TeleServ provides commands for both Telegram users and IRC operators.
Command Arguments Description /help (none) Command list /conn (none) Connects a telegram user to the IRC server /setchan <chan> (Group Admin/Owner) Sets IRC destination channel /me <action> Action command (* User slaps mIRC with a large trout) /notice <msg> Send a notice to an IRC user (or channel if no nick given) /pm <nick> Creates a private chat with an IRC user (private only) /nick (nick) Change your IRC nick (replies with current if nick not given) /topic (none) Fetch the topic for the IRC channel /names (none) List the users in the IRC channel /whois <nick> Lookup details about an IRC user /photos (none) Lists the imgur albums the bot has created for you (private only) /deletealbum <album id> Deletes an album the bot has created (private only)Usage: /msg TeleServ <command>
TeleServ will only respond to IRC operators.
Command Arguments Description help (none) Sends the user a list of commands. userlist (none) Sends the user the list of users being connected. whois <nick or @telegramuser> Sends the user information about a bridge user.TeleServ has the ability to upload images sent to Telegram chats it is in to Imgur and forward the link to to uploaded images as an imgur album to IRC. To set this up you will need to:
enabled
to true
./msg TeleServ imgurpin <pin>
on IRCTeleServ has the ability to automatically post long Telegram messages to pastebin to prevent flooding an IRC channel, it will not do this for private messages between IRC and Telegram users. To enable this functionality you will need to create a Pastebin Account for your TeleServ instance and provide the needed details in your conf.json
from the API page. Make sure to set pastebinLongMessages
to true
. Messages with a character count greater than or equal to messageLength
will be posted to pastebin and a short preview.
Pastebin does not support any other value for post expiration than the ones listed here.
Value Expiration Setting N Never 10M 10 Minutes 1H 1 Hour 1D 1 Day 1W 1 Week 2W 2 Weeks 1M 1 Month 6M 6 Months 1Y 1 YearDue to limitations in the Pastebin API for free accounts, it is recommended to use the public setting as non PRO accounts are only allowed to have 10 unlisted posts on the account.
Value Privacy Setting 0 Public 1 Unlisted 2 Private (Only acccount bot is using can view post)Copyright © 2022 Aaron Blakely
Support for this software is available on IRC or Telegram
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4