Skip to main content
  1. Posts/

Send weechat notifications via Pushover

··238 words·2 mins·

IRC is my main communication mechanism and I’ve gradually moved from graphical clients, to irssi and then to weechat. Text-based IRC removes quite a few distractions for me and it allows me to get access to my IRC communications from anything that can act as an ssh client.

I wanted a better way to get notifications when people send me messages and I’m away from my desk. Pushover is a great service that will take notification data via an API and blast it out to various devices. Once you configure your account, just install the mobile application on your device and you’re ready to go.

Connecting weechat to Pushover is quite easy thanks to the pushover.pl script. Go into your main weechat console (usually by pressing META/ALT/OPTION-1 on your keyboard) and install it:

/script install pushover.pl

There are quite a few variables to configure. You can get a list of them by typing:

/set plugins.var.perl.push*

You’ll need two pieces of information to configure the plugin:

  • User key: The user key is displayed on your main account page when you login at Pushover.
  • Application key: Click on Register an Application towards the bottom or use this direct link.

Now you’re ready to configure the plugin:

/set plugins.var.perl.pushover.token [YOUR PUSHOVER APPLICATION TOKEN]
/set plugins.var.perl.pushover.user [YOUR USER KEY]
/set plugins.var.perl.pushover.enabled on

You can test it out quickly by using Freenode’s web chat to send yourself a private message from another account.