Go to file
John Reese db077ea78a Implemented client_count condition
Config option client_count_less_than (uint) determines if notifications
will be sent based on how many IRC clients are connected to ZNC.  A
value of zero disables this condition (always met), otherwise only sends
notifications if the number of connected clients is less than the
configured threshold.

Personal use case is client_count_less_than = 2, in that I always have
Irssi connected from my server, but if also connected from my phone, I
don't want duplicate notifications.
2011-01-13 22:00:24 -05:00
.gitignore Initial commit, any command triggers HTTP POST 2011-01-10 22:33:13 -05:00
LICENSE Added MIT license file 2011-01-10 22:37:48 -05:00
Makefile Initial commit, any command triggers HTTP POST 2011-01-10 22:33:13 -05:00
README.md Capitalization 2011-01-13 21:23:42 -05:00
notifo.cpp Implemented client_count condition 2011-01-13 22:00:24 -05:00

README.md

ZNC to Notifo

ZNC to Notifo is a module for ZNC that will send notifications to a Notifo account for any private message or channel highlight that matches a configurable set of conditions.

Compiling

If you have make installed, you can compile the module with:

$ make

Otherwise, run the full command:

$ znc-build notifo.cpp

Installation

Copy the compiled module into your ZNC profile:

$ cp notifo.so ~/.znc/modules/

Now, load the module in ZNC:

/msg *status loadmod notifo

Then set your Notifo username and API secret:

/msg *notifo set username foo
/msg *notifo set secret ...

At this point, it should start sending notifications every time you get a private message or someone says your name in a channel. If this is everything you wanted, congratulations, you're done! If you want to tweak the notfication conditions, continue on to configuration.

Configuration

There is none yet.... :'(

License

This project is licensed under the MIT license. See the LICENSE file for details.