Code Monkey home page Code Monkey logo

telegramirc's Introduction

telegramirc

Telegram as your IRC client.

Features

  • Tailored for using Telegram as your personal IRC client. This is not a group <=> channel forwarding bridge like many other projects.
  • Single Telegram Bot for Multiple IRC channels (with different Telegram groups)
  • Always online and search your IRC history with Telegram's builtin search.
  • Direct messages (/msg) and action (/me)
  • SASL Login
  • Password-protected IRC channels

Dependencies

  • aiogram (Telegram library)
  • pydle (IRC library)
  • tenacity
  • toml

Usage

  • Ask @BotFather for a Telegram bot, save its token
  • Copy telegramirc_example.toml to telegramirc.toml
  • Fill in an initial value (for example, 0) as telegram.fallback_chatid and comment out [channel.*]
  • Run telegramirc with your initial configuration (python telegramirc.py)
  • Talk to your bot on telegram, use /chatid to get your fallback chatid
  • Now for each channel you want to join, create a telegram group with you and your bot. Use /chatid inside the group for the corresponding chatid in [channel.*] sections below.

TODO

  • List online users in channel
  • DCC File transfer and other IRC extensions

telegramirc's People

Contributors

felixonmars avatar

Stargazers

 avatar Tom Yang avatar  avatar Mike Yuan avatar Clay avatar  avatar ous50 | ousfifty | 欧式fifty avatar Escape0707 avatar  avatar Jimi Grok avatar sowhatlph avatar  avatar 该ID暂无昵称 avatar 飘尘 avatar Outvi V avatar Orhun Parmaksız avatar wsyxbcl avatar Yipeng Liu avatar Chia-An Lee avatar Scott Ssuyi Huang avatar Jiachen Yang avatar Brandon Dowdy avatar Yuuta Liang avatar skt041959 avatar Bruce Zhang avatar 依云 avatar

Watchers

James Cloos avatar  avatar Orhun Parmaksız avatar Mike Yuan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.