tweet twitter util – cli feedback on tweet length

One of the nice things about the Twitter web-interface is that it gives you feedback on the number of characters you’ve typed so far.twitter-warning.png

Since I use the command-line twitter gem (by John Nunemaker) I miss out on this feature and find myself using echo and wc to make sure I’m not over the limit.

To fix this problem, I’ve written a small, immediate-feedback utility called tweet. It shows you the number of characters typed so far and colorizes them accordingly.




Just download this script and save it as tweet somewhere in your $PATH

  • Reddit
  • Technorati
  • Twitter
  • Facebook
  • Google Bookmarks
  • HackerNews
  • PDF
  • RSS
This entry was posted in ruby, shell, tips. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.