Giter VIP home page Giter VIP logo

irssi2telegram's Introduction

irssi2telegram

Irssi to Telegram bridge

Installation

  1. Copy telegram.pl to ~/.irssi/scripts
  2. Copy telegram.cfg to ~/.irssi
  3. Create a new bot as explained here: https://core.telegram.org/bots#6-botfather
  4. Load the script in irssi using /load telegram.pl
  5. Write a telegram message to your bot and take a look at the irssi logs. There should be an error telegram message from unknown user <user>, id <id>
  6. Adapt telegram.cfg with your bot id and the userid from step 4
  7. Reload the bot using /load telegram.pl
  8. That's all

Usage

  • The script transfers all irssi messages (except yours) that match the configured pattern to the bot
  • all messages to the bot are forwarded to irssi:
    • normally to the last channel you received a message from
    • you can specify a channel with: #<channel> <message>

irssi2telegram's People

Contributors

derbaer0 avatar derbaercw avatar knilch0r avatar stargo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

irssi2telegram's Issues

Module

Can't locate Net/HTTPS/NB.pm in @inc (you may need to install the
Net::HTTPS::NB module) (@inc contains: /root/.irssi/scripts
/usr/share/irssi/scripts /usr/lib/x86_64-linux-gnu/perl/5.22
/etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1
/usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22
/usr/share/perl5 /usr/share/perl/5.22 /usr/local/lib/site_perl .) at
/root/.irssi/scripts/telegram.pl line 25.
19:57 BEGIN failed--compilation aborted at /root/.irssi/scripts/telegram.pl
line 25.
:((((((((((((((((((((((((((((

supergroups in telegram

Hi friend. Im have a problem with supergroups in telegram. With private and groups msgs is ok. I dont detect a problem in code source.
23:57 Add 376
23:58 Remove 376 (done)
23:58 $VAR1 = {
23:58 'ok' => bless( do{(my $o = 1)}, 'JSON::PP::Boolean' ),
23:58 'result' => []
23:58 };
23:58

A messages received and no show in IRC.

Tank you

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.