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 http://twitter.com/statuses/friends_timeline.xml | 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 Comments

  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’?
    Cheers,
    Alex

    Like

  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.

    Thanks..Dave

    Like

Comments are closed.