Through the magic of the Internet, you can now make my computer at home say random things!
Sorry, this service has been discontinued.
Please leave your name and number so I can inform the pol--I mean, call you back.
How it Works
On the Server
speak.cgi:
tcpclient server port sh -c "tee >&7" echo "Content-Type: text/plain" echo echo "Thanks for the message! Hopefully it got through alright."
At Home
command line:
tcpserver server port recordio ./speak.sh
speak.sh:
tee | ./filter.py | osascript
filter.py
turns it into a short AppleScript (say your comment here"
), osascript uses the text-to-speech software build into OS X to get it to my speakers.