call Mac OSX's "say" command with linda-socket.io
- watch tuple {type: "say"}
- say tuple.value
- write {type: "say", value: value, result: ["success" or "fail"]}
- https://github.com/node-linda/mac-say
% npm install
% npm start
write {type: "say", value: "hello"} from following URL
=> http://linda-server.herokuapp.com/test?type=say&value=hello
Run with your linda-server
% export LINDA_BASE=http://linda-server.herokuapp.com
% export LINDA_SPACE=test
% npm start
% gem install foreman
for launchd (Mac OSX)
% sudo foreman export launchd /Library/LaunchDaemons/ --app node-linda-mac-say -u `whoami`
% sudo launchctl load -w /Library/LaunchDaemons/node-linda-mac-say-main-1.plist