If you know much about my Twitter habits, you know I’m a bit fan of Cameron Kaiser’s TTYtter. I’ve written in the past about using it to follow event streams, but one limitation was that it was hard to consistently tweet event messages. For example, when you send a tweet from a UStream feed, it includes the feed’s hashtag and a URL to the stream. This is a great way to lure in viewers.
Since TTYtter has easy support for posting messages from the command line, I figured it would be an easy task to write a wrapper that would automatically include the relevant information so that I wouldn’t have to copy/paste every time. The result is mmtter, a small Perl script to pass the arguments to TTYtter. So far, it just checks to make sure the tweet is short enough and then mashes the text onto the end. Since it blindly grabs the arguments from the shell, you have to carefully escape special characters. Future “enhancements” will include the ability to prepend a string. In the meantime, you can get it from GitHub: http://www.github.com/funnelfiasco/mmtter
While you’re enjoying my minutes of hard work, be sure to watch the Mario Marathon and donate using the happy little button on the right-hand side of this page.