App::TimeTracker::Command::Post2IRC - App::TimeTracker plugin for posting to IRC
We use an internal IRC channel for internal communication. And we all want (need) to know what other team members are currently doing. This plugin helps us making sharing this information easy.
After running some commands,
this plugin prepares a short message and sends it (together with an authentification token) to a small webserver-cum-irc-bot (
not yet on CPAN,
but basically just a slightly customized/enhanced pastebin).
The messages is transfered as a GET-Request like this:
Post2IRC to your list of plugins
add a hash named
post2irc, containing the following keys:
The hostname of the server
Bot::FromHTTP is running on. Might also contain a special port number (
A shared secret used to calculate the authentification token. The token is calculated like this:
my $token = Digest::SHA::sha1_hex($message, $secret);
After running the respective command, a message is sent to the webservice that will afterwards post the message to IRC.
~/perl/Your-Project$ tracker start --irc_quiet
Do not post this action to IRC.
Thomas Klausner <firstname.lastname@example.org>
This software is copyright (c) 2011 by Thomas Klausner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.