Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ZNC module for Boxcar
C++
branch: master

This branch is 5 commits ahead of chrismoos:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Makefile
README.rdoc
boxcar.cpp

README.rdoc

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
*boxcar: TEST - sends a test notification

How it works

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

TODO

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

Something went wrong with that request. Please try again.