TweetFS is tool to clandestinely store small files and directories on Twitter.
TweetFS remebers the names and permissions of files and directories. Each node may be downloaded as a separate entity from Twitter. Tweets are enciphered using the Plainsight library.
This project is a collaboration with @workmajj. It uses his SeqTweet library.
sudo pip install tweetfs
Create a ~/.tweetfs directory.
Create the file ~/.tweetfs/creds.cfg. It must have the following format:
CONSUMER_KEY = __
CONSUMER_SECRET = __
ACCESS_KEY = __
ACCESS_SECRET = __
The values can be retrieved using SeqTweet's auth.py script.
Add texts into the directory ~/.tweetfs/texts/. I recommend classic novels from Project Gutenberg.
Run the following:
tweetfs upload < file or directory >
It'll print a list of tweet ids that were created when storing the files.
Any file can be retrieved by referencing its tweet id:
tweetfs download < tweet id > < optional filename to write to >
Remember to keep the filesizes small--Twitter doesn't let us put many tweets up in a day.