Coder Social home page Coder Social logo

irssi2android's Introduction

Irssi2Android - send notifications from irssi to your Android phone
===================================================================

This simple script allows you to get notifications about your private messages from irssi to your Android phone. Currently this supports only the Notify My Android (www.notifymyandroid.com) api. The NMA application costs currently around 3.5 eur.

The script sends events only when you have not done anything (pressed any buttons) for a predefined idle time (Default 30, tune with /set irssi2android_idletime <minutes>). In my opinion this is much better than depending on your /away status.

I'd suggest that you also use the excellent Irssi Connectbot: https://market.android.com/details?id=org.woltage.irssiconnectbot

Installation
============

1) Copy the irssi2android.pl under your scripts directory (Usually ~/.irssi/scripts).
2) Load the script: /script load irssi2android
3) Set your NMA apikey: /set irssi2android_nma_api 123456789abcdef
4) Send a test message: /irssi2android Hello, World!

Commands:
=========
/set irssi2android_nma_api         <API_KEY>              (Default NULL)
/set irssi2android_general_hilight <on/off>               (Default OFF)
/set irssi2android_idletime        <idle time in minutes> (Default 30)

/irssi2android <message, sends a test message thru the api>

"General hilight" basically referrs to ALL the hilights you have
added manually in irssi, if many, it can get really bloated if
turned on. Default is Off.

You will need the following packages:
LWP::UserAgent (You can install this using cpan -i LWP::UserAgent)
Crypt::SSLeay  (You can install this using cpan -i Crypt::SSLeay)
 
Or if you're using Debian GNU/Linux:
apt-get update;apt-get install libwww-perl libcrypt-ssleay-perl

Bugs & Missing Features:
========================

If you receive a private message just after you have closed your screen and left to get fresh air, you won't get a notification because the idle time hasn't yet passed. The script could store these messages in a buffer and send a notification to your phone when the required idle time has passed.

irssi2android's People

Contributors

garo avatar herlo avatar rexxars avatar protojazz avatar

Watchers

James Cloos 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.