Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imrehg/twitterrfs
Twitter-RouteFS to access tweets in your filesystem.
https://github.com/imrehg/twitterrfs
Last synced: 12 days ago
JSON representation
Twitter-RouteFS to access tweets in your filesystem.
- Host: GitHub
- URL: https://github.com/imrehg/twitterrfs
- Owner: imrehg
- License: mit
- Created: 2010-07-09T05:55:21.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-07-16T02:58:11.000Z (over 14 years ago)
- Last Synced: 2024-04-08T17:42:35.471Z (8 months ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
Awesome Lists containing this project
README
As an excercise after reading a blogpost [Building Filesystems the Way You Build Web Apps](http://blog.ksplice.com/2010/07/building-filesystems-the-way-you-build-web-apps/), Twitter-RouteFS (or TwitterRFS) is a simple, readonly filesystem to get tweets quickly in the filesystem and be able to interact with them in other programs that might not know how to access Twitter.
## Requirements
[python-fuse](http://pypi.python.org/pypi/fuse-python/0.2)
[python-routes](http://pypi.python.org/pypi/Routes)
[python-routefs](http://pypi.python.org/pypi/RouteFS)
[python-twitter](http://code.google.com/p/python-twitter/)## Usage
> chmod +x twitterrfs.py
> mkdir twitter
> ./twitterrfs.py twitter
> ls twitter/
This should show an empty directory> ls twitter/
This will list 's tweets by their ID numbers. To see the tweet text, just issue:
> cat twitter//
Also, now the username is known, so
> ls twitter/
The username and tweets are cached, thus not updated after the first check. Thus to update, now one has to remount.
> fusermount -u twitter
> ./twitterrfs.py twitter## Known issues
Because python-fuse don't seem to support unicode text in files, unicode tweets have to be escaped at the moment. This might make the text pretty much unreadable.
## License
Released under MIT-style license, for details see License.txt in the root directory.