Twitel is a Twitter client for Emacs. It was previously known as twitter.el. It's just a simple Emacs lisp script but it lets you view your friends timeline and edit a new one so it's quite quick if you're already running Emacs (what else would you be doing?).

You can install it by downloading twitel.el and putting it somewhere in your Emacs load-path. Then put the following in your .emacs file:

(autoload 'twitter-get-friends-timeline "twitter" nil t)
(autoload 'twitter-status-edit "twitter" nil t)
(global-set-key "\C-xt" 'twitter-get-friends-timeline)
(add-hook 'twitter-status-edit-mode-hook 'longlines-mode)

Unfortunately since the 1 September 2010 Twitter have disabled basic authentication. This means that Twitel requires OAuth to authenticate. Twitel has been updated to support OAuth but it requires the emacs-oauth package from Peter Sanford. It also needs these two patches applied. Twitter's use of OAuth is not really designed to work well with an open source application so unfortunately there is an extra step required to get a consumer key and consumer secret. To get these you will either need to find someone or some app that already has one and steal it or register your own application here. Once you have the consumer values you can set customize the twitel group to store them.

The first time you use Twitel it will redirect you to the Twitter page to log in so that it can retrieve an OAuth access key. The key is saved so that you shouldn't have to do this more than once.

The latest code is available in a git repo here:

git clone git://git.busydoingnothing.co.uk/twitel.git