mirror of
https://github.com/HackHerz/pusher
synced 2025-12-06 02:10:19 +00:00
Send notifications from the command line to your phone or tablet.
| examples | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| makefile | ||
| README.md | ||
pusher
Send push-notifications to your phone from the command line. Uses PushNotifier to receive notifications.
Features
Installation
Option 1: Debian package
You can download debian packages from my website.
Option 2: From source
Make sure you have libcurl4-openssl-dev installed.
$ git clone https://github.com/HackHerz/pusher.git
$ cd pusher/
$ make
$ make install
Usage
If you want some real life use cases make sure to check out our example section.
Basic usage
$ pusher -i 1 "Hello World" # Send Hello World to device-id 1
Pipe output into pusher
$ echo "Hello World" | pusher -i 1 -p
List all your devices
$ pusher --list
Login
$ pusher --token # Only necessary the first time using pusher
Display Help
$ pusher -h # Outputs all available options
Contributing
Bug Reports & Feature Requests
Please use the issue tracker to report any bugs or file feature requests.
Developing
Just file a pull request and start coding. If you want to develop your own software with code from pusher, make sure that you are using your own API-Token. You have to change it in pushhandler.h
Keep me motivated
If you want to make sure that I'll continue developing just send me a tweet @hackherz why you like or use my software :).
Libraries
pusher uses a few third party libraries.
- json by Niels Lohmann
- TCLAP
- simpleini by Brodie Thiesfield
