putt
v0.0.6
Published
easily output text in lots of fun ways (speech, growl, email, ...)
Downloads
10
Readme
putt is a node.js module that lets you easily output text in lots of fun ways. It wraps a bunch of other libraries to make this as simple as possible.
var putt = require('putt');
putt().speak("This is spoken aloud by your computer");
putt().desktop_notify("This appears as a desktop notification");
Supported output formats:
- Speech synthesizer (by say.js)
- Desktop notification (by node-growl)
- POST request (by restler)
- TODO: Email (by nodemailer)
- More coming soon... (SMS/call - twilio API, twitter/fb, ???)
Install
TODO
Usage
Speech output
For speak
to work:
- Mac: it should just work
- Linux: install Festival and see what voices you have available (e.g.
voice_rab_diphone
)
Desktop notification output
For desktop_notify
output to work, install:
- Mac: growl, including the
growlnotify
extra - Linux:
notify-send
withsudo apt-get install libnotify-bin
or equivalent
POST request output
Example usage:
TODO
Email output
TODO