What is gTalk-Hook?

gTalk-Hook is a webhook to gtalk bridge. I needed a simple webhook, which can send me message on gtalk, once some long running task is finished (This can be used for basic server monitoring too).

Great! how do I use it?

Add gtalk-hook@appspot.com in your gchat/gtalk. Add a webhook from here. And run following the command, replace [your webhookid] with your webhookid and [your message] with your message.

$ curl -d "webhookid=[your webhookid]&message=[your message]" https://gtalk-hook.appspot.com/ghook

You can use it for any long running jobs.

Nice, But what happens when I am not online?

Currently gtalk-hooks checks for your presence in gtalk. And if user is not online, it will send an email.