Skip to content
This repository was archived by the owner on May 30, 2018. It is now read-only.
/ GNTP-bash Public archive

Bash script for sending messages over GNTP to Growl

Notifications You must be signed in to change notification settings

alpayne/GNTP-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

GNTP-bash

Bash script for sending messages over GNTP to Growl

usage: gntp.sh [-H <host[:port]>] [-P <password>] [-rs] -a <APPNAME name> 
               -n <notification name> [-n <notification name]...

Program send messages via GNTP to Growl application listening on target host.

OPTIONS:

    -a --appname            Name of application in as it appears in Growl
    -d --displayname        Display name for notification in Growl
    -H --host               Host[:port] tp send message to (defaults to local host
                            and port 23053)
    -I --appicon            Application icon URL
    -i --icon               Notification icon URL (for preceding notification)
    -n --name               Notification name in Growl 
    -p --priority           Notification priority (range: -2 to 2, 0 is default)
    -P --password           Password (cannot be NULL when sending over network)
    -r --register           Send registration message
    -s --sticky             Make notification sticky
    -T --title              Title to display in notification window
    -t --text               Text to display in notification window (defaults to "")  

    -h --help               Show this help

Growl requires applications to register before it will display notifications. Multiple
notification names (and optional icons & display names) can be registered at once. A
registration message overwrites the previous registration configuration for an 
application.  

EXAMPLES:

Register an application on the localhost:

    gntp.sh -r -a "App Name" -n "startup" -i "http://.../startupicon.png" -n "shutdown"

Send a notification to the localhost:

    gntp.sh -a "App Name" -n "startup" -T "App Name Starting" -t "Application started"

About

Bash script for sending messages over GNTP to Growl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages