Twirrsi :: Twittering away from irssi.
I have now written a more extensive howto on this subject, what to install and how. You can read it all on this page.
A while ago, I wrote that I wanted to be able to write tweets from my favourite irc client (aka irssi). Back then I actually had a bit of a look around and trying to find something that could remotely work (and preferably also worked with perl [1])
Tonight, while being my usual insomniac self I decided to have another look on the net: And a good thing too, as this time around after applying some google-fu, I discovered “Twirssi“
After downloading the script and installing it, the fun really started and I started to have a honest amount of geeking about having to hunt down and write a bunch of SlackBuild scripts for the various perl-modules.
dependency-tree for twirssi.pl [*]
- Net::Twitter
- Test::Exception
- Sub::Uplevel
- WWW::Shorten::TinyURL
- LWP::UserAgent
- HTML::Entities
- JSON::Any
- JSON
- JSON::XS
- JSON::DWID
- JSON::Syck
- JSON
So what is left to do. Due to time constraints (a.k.a head dunking on keyboard syndrome seems to be creeping up on me, and I already start to do stuff double).
I still need to write the SlackBuild for WWW::Shorten::TinyURL and go through my build scripts and make sure that for all the scripts the CFLAGS and SLKCFLAGS are correctly set in the script. Then find a place to actually publish these things [2]. Either they will go up on SlackBuilds.org or I’ll host them on buhkit.
Here you can see a screen shot of twirssi in action. (Running on irssi / screen on a Slackware 12.2 box).
First impressions that twirssi seems to be working well and could actually be rather useful. According to the webpage there should be some sort of integration / automation possible with bitlbee. :)
[1] – Especially since all irssi plugins are written in Perl.
[2] – IF you are interested in twirssi on Slackware, and want the build scripts, give me a shout and I’ll post them.
[*] – Builds highlighted in blue are available from SlackBuilds.org.
Glad you got it working! If you post the build script, I’d be happy to post it on the Twirssi page.
Side note – WWW::Shorten isn’t required, it’s only used if it’s present. 2nd note – if you’re using Net::Twitter 1.17, you need to make sure to grab the patch I posted for it, otherwise you’ll see the same replies repeating every 5 minutes.
@zigdon
I know it wasn’t required, I got it working last night without WWW::Shorten, although twirssi threw up a warning.
I am OCPD enough that I wanted to chase down this dependency as well.
As for Net::Twitter, I saw the note regarding 1.17, but when I looked at CPAN, I saw they had 1.20, So I went with that :)
Great work :)