All Projects → markus-perl → pushover-cli

markus-perl / pushover-cli

Licence: other
pushover-cli is a command line client for https://pushover.net to send pushover notifications. Moreover it is possible with this client to pipe streams directly to your cellphone like tail -f /var/log/my.log | pushover-cli -

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pushover-cli

pushover
📱 Pushover notifications channel for Laravel
Stars: ✭ 46 (+21.05%)
Mutual labels:  pushover, pushover-notifications
pycameresp
Motion detection with image notification for Esp32CAM and Esp32 flasher with GUI based on esptool.py.
Stars: ✭ 40 (+5.26%)
Mutual labels:  pushover, pushover-notifications
smtp-translator
An SMTP server that converts emails into Pushover notifications.
Stars: ✭ 23 (-39.47%)
Mutual labels:  pushover, pushover-notifications
NPushOver
Full fledged, async, .Net Pushover client
Stars: ✭ 23 (-39.47%)
Mutual labels:  pushover, pushover-api
chump
Pushover.net client for Node.js
Stars: ✭ 19 (-50%)
Mutual labels:  pushover
statapush
Stata module for sending push notifications.
Stars: ✭ 15 (-60.53%)
Mutual labels:  pushover
spontit-api-python-wrapper
Send functional, flexible push notifications to iOS, Android, and desktop devices (without your own app or website).
Stars: ✭ 35 (-7.89%)
Mutual labels:  pushover
Utern
Multi group and stream log tailing for AWS CloudWatch Logs.
Stars: ✭ 241 (+534.21%)
Mutual labels:  tail
logs-monitor
An application like Linux tail for Windows. Using Windows FindFirstChangeNotification API to monitoring file changes.
Stars: ✭ 43 (+13.16%)
Mutual labels:  tail
Laravel-pushover
A Laravel wrapper for Pushover. Pushover makes it easy to get real-time notifications on your Android, iPhone, iPad, and Desktop (Pebble, Android Wear, and Apple watches, too!)
Stars: ✭ 49 (+28.95%)
Mutual labels:  pushover
Pushover.NET
📣 .NET Wrapper for the Pushover API
Stars: ✭ 27 (-28.95%)
Mutual labels:  pushover
pushover
Go wrapper for the Pushover API
Stars: ✭ 112 (+194.74%)
Mutual labels:  pushover
log
A thin (and fast) PSR-3 logger.
Stars: ✭ 45 (+18.42%)
Mutual labels:  pushover
ioBroker.backitup
Backitup enables the cyclical creation of backups of an IoBroker / Homematic installation
Stars: ✭ 43 (+13.16%)
Mutual labels:  pushover
homebridge-messenger
Send HomeKit messages with HomeBridge (Pushover / IFTTT / Email)
Stars: ✭ 74 (+94.74%)
Mutual labels:  pushover
fylm
A wonderful automated command line app for organizing your film media. Built for Plex and SABnzbd.
Stars: ✭ 25 (-34.21%)
Mutual labels:  pushover
magister-calendar
📅 Automatically plan your Magister appointments in your Google calendar.
Stars: ✭ 12 (-68.42%)
Mutual labels:  pushover
indigo-pushover
Indigo plugin to send push notifications via Pushover.
Stars: ✭ 18 (-52.63%)
Mutual labels:  pushover
tailor
Tailor, the library for tailing logs under logrotate, written in go.
Stars: ✭ 35 (-7.89%)
Mutual labels:  tail
logtail
logtail is a log tailing utility, support tailing multiple commands output stream, transferring matching content to file/webhook(like dingtalk)
Stars: ✭ 33 (-13.16%)
Mutual labels:  tail

pushover-cli

pushover-cli is a Python-based command-line client for https://pushover.net to send pushover notifications. This can be used for a variety of purposes, including:

  • Sending control messages to an old phone running Youtube to start/pause/stop/etc. the playing video remotely.
  • Piping streams to your cellphone (e.g. tail -f /var/log/my.log | pushover-cli -)
  • It's essentially an MQTT channel, so anything that can read a pushover message can act on it.
  • Tie pushover notifications into your long-running scripts (build, cleanup, upgrade, etc.) to get notices of different system events.

Requirements

Download and installation

Simply execute the following command to install the latest version of this script to your system:

sudo curl -o /usr/bin/pushover-cli https://raw.githubusercontent.com/markus-perl/pushover-cli/master/pushover-cli 
sudo chmod 555 /usr/bin/pushover-cli

Commandline options

Usage:   pushover-cli [options] <message> <title>
Stdin:   pushover-cli [options] - <title>
Example: pushover-cli -u ubLBe5u3zNXF9gBtX2zKkezSuPgu3v -t aK5BW3sjAqPsedH44VyQSbaQecoRen "Hello World"

    -u --user     <user id>             Pushover User-ID
    -t --token    <api token>           Pushover API-Token
    -d --device   <device name>         Device Name (if omitted, will broadcast to all devices)
    -p --priority <high, normal, low>   Default: normal
    -l --url      <url>                 Link the message to this URL
    -s --sound    <notification sound>  Default: pushover - see https://pushover.net/api#sounds
    -c --config   <path to file>        Default: /etc/pushover.conf
    -v --verbose                        Be verbose
    -q --quiet                          Be quiet

Proxy Utilization

Incorporating the PR from acaranta that enabled proxy support, if the HTTP_ENV environment variable is pointed at a proxy server URL, pushover-cli will treat that as the proxy gateway and route the message to Pushover through it.

Config file

Every command line option can also be set by creating the config file ~/.pushover-cli.conf or /etc/pushover-cli.conf

Example file:

user=<Pushover User ID>
token=<Pushover Application API Token>
priority=normal
verbose=0
quiet=0

After creating this file it is no more necessary to specify these options in the command line which makes it more easier to send a message:

$ pushover-cli "My Message" "My Title"

or

$ pushover-cli -d 'my_phone' 'My Message' 'My Title'

or

$ pushover-cli -s 'none' 'My Message' 'My Title'

for silent notification or use other tones https://pushover.net/api#sounds

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].