Dispatch → Twine
Twine is a sample application written in Databinder Dispatch to show off its OAuth and Twitter interfaces, and general good looks. Specifically, it’s a command line Twitter client—the first with OAuth apparently!
Download the self-extracting Twine archive.
Then, in the directory containing the jar:
java -jar twine-0.3.0-setup.jar
This will eventually produce a twine-0.3.0-project directory containing a twine script to run it on your platform. You don’t need to download anything but the setup archive; everything is built by simple-build-tool with dependencies fetched by Ivy.
See the README in the project directory for instructions to run twine. (On Windows, it’s twine.bat.) Once the app has an access token, you can tweet with it and also concatenate your friends timeline to standard output, like a real command line jockey-person.
Another fun thing to do inside this project directory is to start a Scala console with Dispatch on the classpath:
java -jar sbt-launcher-0.5.5.jar console
and then you’re ready for the Stdout Walkthrough.