Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 921 Bytes

README.md

File metadata and controls

41 lines (23 loc) · 921 Bytes

mac-say

call Mac OSX's "say" command with linda-socket.io

Install Dependencies

% npm install

Run

% npm start

call mac say from web

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

Install as Service

% 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