A way to hide files in plain sight
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.org

README.org

gohyde - Store files in Twitter

Encode

  • [*] Open a file and read the file as binary
    • [*] Base64 encode the content of the file
  • [*] Break a file into chunks of 140 characters
def chunk(string, size)
  (0..(string.length-1)/size).map{|i|string[i*size,size]}
end
  • [*] upload the chunks to Twitter
    • [ ] Create a file with ordering with chunk_id - tweet_id

Decode

  • [ ] Open the the chunks file.
    • [ ] Read all the chunks
  • [ ] Download the chunks from twitter
  • [ ] After all the chunks have been download string them together.