Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Ruby server for terminal-notifier
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore Initial commit
.rspec Added RSpec, proper versions of things in Gemfile.
.rvmrc Added rvmrc file.
Gemfile Set default host properly in client.
Gemfile.lock Gemfile
LICENSE.txt Updated README.
README.md Updated README with Ruby / RoR example.
README.rdoc Updated README with Ruby / RoR example.
Rakefile Added bin directory with a very simple command-line client.
VERSION Version bump to 1.2.2
synack.gemspec Regenerate gemspec for version 1.2.2

README.md

synack

Synack is a client/server wrapper for https://github.com/alloy/terminal-notifier that allows arbitrary messages to be sent to Mac OS X Mountain Lion's Notification Center.

Note that Terminal Notifier must be installed in your Applications directory for Synack to work properly.

To start synack:

synack -s

To send a message to your local Notification Center:

synack "Watson, come here, I need you."

You can send messages to remote machines by specifying a host and port in the client:

synack -h my_remote_machine -p 1013 "I'm here, what did you want?"

You can use UNIX pipes to send messages (first line of input only, for now):

echo 'Foo to you, sir.' | synack

You can even invoke it from within a Ruby or Rails application:

def log_remote_event(event_name)
  Synack::Client.new(:host => '10.0.1.1').say("Event #{event_name} captured")
end
Something went wrong with that request. Please try again.