Skip to content

stevestreza/boxcar_znc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

ZNC module for Boxcar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%