Skip to content

Instantly share code, notes, and snippets.

@jeremy-w
Created October 14, 2013 20:59
Show Gist options
  • Save jeremy-w/6982117 to your computer and use it in GitHub Desktop.
Save jeremy-w/6982117 to your computer and use it in GitHub Desktop.
Posting a Growl notification via telnet.
% telnet localhost 23053
Trying ::1...
Connected to localhost.
Escape character is '^]'.
GNTP/1.0 REGISTER NONE
Application-Name: JWS
Notifications-Count: 1
Notification-Name: jws.text
Notification-Display-Name: JWS
Notification-Enabled: YES
GNTP/1.0 -OK NONE
Response-Action: REGISTER
Connection closed by foreign host.
% telnet localhost 23053
Trying ::1...
Connected to localhost.
Escape character is '^]'.
GNTP/1.0 NOTIFY NONE
Application-Name: JWS
Notification-Name: jws.text
Notification-Title: Hello, world!
Notification-Text: It works!
GNTP/1.0 -OK NONE
Response-Action: NOTIFY
Notification-ID: (null)
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment