Skip to content

pcchou/teleirc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teleirc

Telegram <-> IRC gateway.

  • Uses the node-telegram-bot library for Telegram communication
  • IRC communication via martynsmith's node-irc module
  • All Telegram messages are sent to IRC channel
  • IRC messages sent to Telegram only when bot is hilighted (configurable)

Setup

git clone https://github.com/FruitieX/teleirc
cd teleirc
npm install
cp teleirc_config.js.example ~/.teleirc_config.js

Next, set up your bot via the BotFather Telegram user. Save your bot token in ~/.teleirc_config.js. Remember to allow the bot to see all messages via the /setprivacy command to BotFather, otherwise only messages starting with a slash are visible to teleirc.

Now read through the rest of ~/.teleirc_config.js and change the configuration as appropriate.

When you're done, launch teleirc with:

npm start

Optional:

  • For your convenience, there is an included systemd unit file in teleirc.service.
  • You can change your Telegram Bot's profile picture with the /setuserpic BotFather command.

Special thanks

Thanks to warbaque for an implementation using Telegram Bot API!

About

Telegram <-> IRC gateway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%