Twat

Like twitter? Hate GUIs? twat might be for you.

in it’s simplest form, twat is a tweeting thing. I wrote it so I could tweet from my hacktop at a conference.

twat tweet goes here.

simple. You’ll need to hide metacharacters from your shell though. It can also do other neat things:

twat -l [count]

will get you 10 (or count) items from your news feed. You can have multiple accounts to specify with -n [account]. You can add more (-a). You can delete them.

You can even stalk users with twat -u USER. Twat does everything.

(Actually twat doesn’t do lots of things, in truth, if one other person than me finds it useful, it will have far exceeded my expections)

Release status

Features are implemented pretty much as I see need for them, and I still haven’t put together a test suite so changes may or may not leave the code in an inconsistent state.

Twat is feature complete enough to allow a user to send tweets without editing a config file, but much of it’s interface is missing/counterintuitive. Support for sites other than twitter (identi.ca, for example) is planned but not implemented.

Credits and thanks

I used a lot the structure from codeplane to work out how to structure it. It’s obviously not as neat, but the gemspec was shamelessly adapted from codeplane

the oauth and Twitter gems saved me from actually having to do much work.

Contact

I’m reachable at [email protected], and I contribute to a blog at blog.psych0tik.net

License

Twat is released under the WTFPL ( sam.zoy.org/wtfpl/ ), or, at your option the GPLv2.

I do request that any useful changes are passed back to me so that I may incorporate them/see what people are doing with it though.