Coder Social home page Coder Social logo

sysmanalex / pushover-client-perl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simplicitybg/pushover-client-perl

0.0 0.0 0.0 96 KB

A simple pushover.net client for sending push messages from the command line to devices that have the Pushover app installed.

Perl 100.00%

pushover-client-perl's Introduction

pushover-client-perl

This is a simple pushover.net client for sending push messages from the command line to devices that have the Pushover app installed.

Requirements

Usage

Usage: pushover.pl [options]

Required command-line arguments:  
-a APP_TOKEN        Your application's token  
-k USER_KEY         Your application's token  
-m MESSAGE          The message you want to send  

Optional command-line arguments:
-t TITLE            The title of your message  
-d DEVICE           Send the message only to DEVICE  
-u URL              A URL to send  
-r URL_TITLE        Optional title for the URL  
-h                  The message is high priority - bypass quiet hours  
-s UNIX_TIMESTAMP   Unix timestamp of the message  
-i                  Use STDIN for message input - useful if you want to have new lines in your message

Supplying an application token, a user key and a message is mandatory. The message can be given either as a command line parameter following the -m argument or interactively using the -i argument. The latter case is useful if you want your push message to include new lines

Examples

  1. Send a quick message

     pushover.pl -a APP-TOKEN -k USER-KEY -m "Your message"
    
  2. Send a multiline message (useful for sending push notifications from Nagios)

     printf "%b" "This message\nwill span several lines.\nAnd \n characters will be converted to new lines!\n" | pushover.pl -a *APP-TOKEN* -k *USER-KEY* -i
    

License

pushover-client-perl is released under the MIT license

pushover-client-perl's People

Contributors

kirichkov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.