chrismoos / boxcar_znc

ZNC module for Boxcar

Home Page:http://chrismoos.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

boxcar_znc

Module for ZNC to send push notifications to Boxcar.

Compiling

Linux

g++ -o boxcar.so `znc-config --cflags` -lcurl -shared boxcar.cpp

Mac OS X

g++ -o boxcar.so `znc-config --cflags` -undefined suppress -flat_namespace -lcurl boxcar.cpp

Example

Send this on ZNC:

/msg *boxcar help

Help:

*boxcar: This module sends notifications to the Boxcar API.
*boxcar: Currently notifications are sent when a private message is received.
*boxcar: Commands:
*boxcar: SET email_address password - Sets your email and password for the Boxcar API. (required)
*boxcar: STATUS - current status
*boxcar: ACTIVATE - activate boxcar notifications
*boxcar: DEACTIVATE - turn boxcar notifications off

How it works

If you set your Boxcar email and password, and activate notifications, whenever you receive a private message it will be pushed to Boxcar.

TODO

Make the HTTP calls asynchronous, right now it blocks ZNC.

About

ZNC module for Boxcar

http://chrismoos.com


Languages

Language:C++ 100.0%