Talking twitter

This is for Mac OS X only, sorry folks.

I saw the funny command line interface to speech at Nerdlogger. Try this to play some tunes:

say -v Cellos "Dum dum dum dum dum dum dum he he he ho ho ho fa lah lah lah lah lah lah fa lah full hoo hoo hoo"

If you are brave enough, copy’n’paste the snippet below, replace USER and PASSWORD with your twitter account and it will read out loud the latest tweets of your friends.

curl -s -u user:password | grep "<text>|<screen_name>" | sed -e 's/ä/Ä/' -e 's/ö/Ö/' -e 's/ü/Ü/' -e 's/<text>(.*)</text>/1 from /' -e 's/<screen_name>(.*)</screen_name>/1. . . . /' | say

Still a one liner ;)

5 thoughts on “Talking twitter

  1. Hi Dave,
    yes, there is a curl for Windows, but there is no ‘say’ for windows. At least not built-in. What do you mean with ‘pgm’?


  2. Oh I see. I don’t use curl much so thanks for the information.

    Sorry, pgm = program.

    I hope to get a MC soon so will try this idea out.



  3. Pingback: BackEnd Blog » Blog Archive » Haz hablar a tu twitter

Comments are closed.