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-05-22 14:48:47 -04:00
apithreads.py Trimmed up the User, Status, and Profile classes, since Python will assign properties on the fly 2010-05-22 14:48:47 -04:00
avcache.py Made conversations work correctly 2010-05-18 14:23:17 -04:00
default.glade Made ctrl+r work for refresh button 2010-05-21 15:30:40 -04:00
hrafn.conf More work on the infrastructure for oauth... basic widgets should be in place now 2010-05-20 17:10:12 -04:00
hrafn.py Removed debug statement 2010-05-21 12:36:17 -04:00
oauthtwitter.py Fixed CustomApi so that _username is defined 2010-05-21 12:11:57 -04:00
python-twitter-GetHomeTimeline.patch Added functionality to get retweets in the home timeline, fixing the missing tweet problem (partially) 2010-04-11 00:42:44 -04:00
python-twitter-GetListStatuses.patch Fixed CustomApi so that _username is defined 2010-05-21 12:11:57 -04:00
python-twitter-GetMentions.patch Replaced complicated GetReplies stuff with a simple implementation of GetMentions 2010-04-11 01:10:45 -04:00
python-twitter-retweet-3.patch Changed retweet API to use the patch from http://code.google.com/p/python-twitter/issues/detail?id=130 for consistency. 2010-04-10 10:46:51 -04:00
python-twitter-User_verified.patch Changed a patch name 2010-04-21 10:26:38 -04:00
README.markdown More documentation updates. Renamed the title bar, which was still using the abortive old name. 2010-05-21 14:12:01 -04:00
TODO Trimmed up the User, Status, and Profile classes, since Python will assign properties on the fly 2010-05-22 14:48:47 -04:00
twitterwidgets.py Improved appearance and layout of the UserBox 2010-05-21 16:48:00 -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 version, not 0.6), 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/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.