Skip to content
Create a book from twitter
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.markdown
generate_xml
get_tweets
tweetbook.xsl

README.markdown

VANITY PUBLISHING, 140 CHARACTERS AT A TIME

Everything you need to make a real goddamned, physical book of your twitter feed.

Well, nearly everything. These scripts will help you generate some XSL:FO that you can run through your favourite XSL:FO processor (I used apache's FOP (http://xmlgraphics.apache.org/fop/), but you might choose something less pathologically batshit insane) to render a whole goddamned book.

So...

$ ./get_tweets username password > all_my_tweets.tsv
$ sort -n all_my_tweets.tsv | ./generate_xml > all_my_tweets.xml
$ xsltproc tweetbook.xsl all_my_tweets.xml > tweetbook.fo
$ fop tweetbook.fo tweetbook.pdf

Right now, I'm getting one printed using Lulu.com, I'll let you know how it goes.

An example of the sort of thing to expect: http://www.techbelly.com/tweet.pdf

Something went wrong with that request. Please try again.