Seamlessly Extending IRC to Mobile Devices

We Can Rebuild It, We Have the Technology...

This solution, although totally usable, isn't quite as elegant as I'd like. My "main" tablet and phone are both iOS devices (iPad and iPhone, but let's not discuss my choice of mobile devices here), and Apple has a very clean, integrated push notification system. I started poking around to see if there was any way to send push messages to my iDevices rather than rely on SMS—that way my iPad would receive IRC "pings" as well.

It turns out, the Internet already had an answer for this problem as well. A fellow named Chris Jones already put together a patched version of Irssi and an Irssi script that does all the heavy lifting for this solution. His Web page (see Resources) talks all about the details on this and how to install it. He even mentions using Irssi with stunnel!

Figure 3. Getting a Push Notify on an iPhone

Figure 4. Looking at My Previous Notifications

In closing, utilizing this set of scripts has really brought IRC into the 21st century for me. I love the idea of IRC, but it shows a lack of mobility features due to its age. With this set of scripts and the right mobile tools, you can bring your IRC addiction up to date—and have it with you, anywhere you go!

Figure 5. Firing Up Colloquy to Join the Conversation

Resources

Irssi Proxy Documentation: http://www.irssi.org/documentation/proxy

Michael Lustfield's Irssi-to-SMS Plugin Use: http://michael.lustfield.net/content/irssi-sms

Chris Jones' Irssi Proxy and iPhone: http://www.tenshu.net/2010/12/old-and-new-mixing-irssi-and-iphones.html

Stunnel Home Page: http://www.stunnel.org

Generating a Self-Signed SSL Certificate: http://www.akadia.com/services/ssh_test_certificate.html

"Internet Relay Chat" by Jayson Broughton: http://www.linuxjournal.com/content/internet-relay-chat

"IRC, Still the Best Support Around" by Shawn Powers: http://www.linuxjournal.com/content/irc-still-best-support-around

Linux Journal IRC Channel: #linuxjournal on Freenode

______________________

Bill Childers is the Virtual Editor for Linux Journal. No one really knows what that means.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Without this, perhaps, the

garnier's picture

Without this, perhaps, the life of mobile technology will not be as great as we currently have.

Cheers,
Garnier, an ipad 2 keyboard designer

IRC on an Android device

Vidofnir's picture

I use ConnectBot on my Android device. I have a shortcut to my server where irssi is running and ssh keys set up, it also executes 'screen -UD -RR -s irssi'. So I can reach IRC with just one click.
I'm actually very happy with the setup, it is usable and the character size can be adjusted, and it is the exactly same environment as if I'm doing the exactly same way of connecting from my desktop computer :-)

XMPP

Blade's picture

XMPP is not really a good solution -- it's terrible for mobile devices.

More dropped in to post a pic of something I've been working on for webOS and IRC :)

http://ericbla.de/gvoice-webos/?p=496

IRC from Messaging :) will probably only work on 3.0+ though :(

RE: forgetting to re-attach

taborj's picture

RE: forgetting to re-attach your Screen session

I use tmux (very similar), and have this in my .profile:

if [[ -z "$TMUX" ]]; then
tmux att
fi

Basically, when I log in, if a tmux session exists, it will automatically attach to it. Bingo! I never forget to reattach my session.

I think I found this on commandlinefu.com, and I'm pretty sure there are some for Screen up there as well.

XMPP conferences

Paul Johnson's picture

Seems like the ultimate fix would be to start transitioning to XMPP conferences. Would help if Google Talk more readily supported this natively in their official clients.

White Paper
Fabric-Based Computing Enables Optimized Hyperscale Data Centers

Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions