Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

I run irssi/screen on a remote machine and connect to it with ssh, so this allows me to still have libnotify on my laptop show me when stuff happens.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 CouchNotify
Octocat-spinner-32 couchapp
Octocat-spinner-32 utils
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 client.plx

Version 0.1-UNRELEASED


Depends on Perl and the modules: JSON, LWP::UserAgent, and Gtk2::Notify.

Copy or symbolically link the CouchNotify directory into your Perl include
path. For example, if you are running Perl 5.12.4 then put a symbolic link in
/usr/local/lib/perl/5.12.4 pointing to ./CouchNotify.

Install irssi Script

See for how to install an irssi script.

Automatically Running Client

You probably want to run the client.plx code as a cron job so that messages are
automatically picked up from the server. Here is an example crontab line:

*/1 *   * * *   sbisbee DISPLAY=:0.0 /home/sbisbee/src/couchdb-notify/client.plx > /dev/null 2>&1

This line runs every minute as the user 'sbisbee' and redirects any output to
/dev/null. Note that the DISPLAY environment variable is set here - this is
necessary for Gtk2::Notify to know which display to send the notifications to.


Why Perl?

Because irssi made me.
Something went wrong with that request. Please try again.