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-09-14 12:56:06 -04:00
patches Just touching some files 2010-09-14 12:56:06 -04:00
ui Initial widgets in place for adding an account management window 2010-06-02 12:52:18 -04:00
apithreads.py Fixed printing lists for users 2010-06-02 17:07:12 -04:00
config.py More cleanup from the refactor 2010-06-29 15:14:26 -04:00
hrafn.conf Just touching some files 2010-09-14 12:56:06 -04:00
hrafn.py Don't show retweet in DM pane, DM pane 'Reply' button should send DM to target user, and position cursor / dehilight text when replying 2010-06-30 16:13:30 -04:00
oauthtwitter.py Just touching some files 2010-09-14 12:56:06 -04:00
README.markdown Added a default avatar image for users without one 2010-06-01 17:30:58 -04:00
TODO Updated docs to reflect fixed bug 2010-06-30 16:13:51 -04:00
twitterwidgets.py Fixed a bug where a string with multiple &'s wasn't getting escaped correctly... zero-width lookaheads to the rescue\! 2010-07-13 09:53:21 -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