A twitter client for Linux
This repository has been archived on 2019-12-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2010-06-02 12:55:31 -04:00
patches Moved patch files to subdirectory 2010-05-24 15:54:08 -04:00
ui Initial widgets in place for adding an account management window 2010-06-02 12:52:18 -04:00
apithreads.py Status icon flashes on new tweets 2010-05-26 00:14:56 -04:00
hrafn.conf Improved minimization behavior 2010-05-25 12:52:16 -04:00
hrafn.py Turn hashtags into links 2010-05-28 19:44:09 -04:00
oauthtwitter.py Fixed CustomApi so that _username is defined 2010-05-21 12:11:57 -04:00
README.markdown Added a default avatar image for users without one 2010-06-01 17:30:58 -04:00
TODO Minor documentation updates 2010-05-31 21:28:08 -04:00
twitterwidgets.py One more change to the regex for hashtags, to account for typical usage seen on twitter 2010-06-02 12:55:31 -04:00
usercache.py Added a default avatar image for users without one 2010-06-01 17:30:58 -04:00

Hrafn is a python twitter application. It started because no existing client supported the Lists API, but has grown to be a general-purpose Twitter client.

Installation

You'll need the following python modules:

  • pyGTK
  • dateutil
  • python-oauth
  • python-twitter (the dev branch), along with my patches (included here)

For the twitter module, you can download and install it with:

hg clone https://python-twitter.googlecode.com/hg/ python-twitter
cd python-twitter
hg update dev
for i in ../hrafn/patches/python-twitter-*.patch; do patch p1 < $i; done
python setup.py build
python setup.py install --user

This will install python-twitter in your ~/.local/lib directory, which python 2.6 will automatically include in PYTHONPATH.

Usage

Just run ./hrafn.py, and start playing around. Right now, it is best to run this file in-place; it expects all the .py files and default.glade to be in the same directory.

To register an account with hrafn, simply click File -> Add Account. An authorization screen will launch in your web browser. When you finish there, you should have a PIN. Copy this into the popup that hrafn created, and click 'ok'.

To search for a user, prepend the search with 'user: '.

After the first run, the program will write a file called ~/.hrafn.conf, with default configuration. Feel free to edit this file if needed.

If things get really mucked up, deleting ~/.hrafn.db will reset the application to a pristine state. You will have to re-authenticate, though.

Notes

The system tray icon is Public Domain from http://commons.wikimedia.org/wiki/File:Capi_x_Raven.svg The question mark icon is Public Domain from http://commons.wikimedia.org/wiki/File:Question_mark.svg