Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhiyerra/gohyde
A way to hide files in plain sight
https://github.com/abhiyerra/gohyde
Last synced: about 4 hours ago
JSON representation
A way to hide files in plain sight
- Host: GitHub
- URL: https://github.com/abhiyerra/gohyde
- Owner: abhiyerra
- Created: 2013-05-22T07:43:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T23:28:50.000Z (over 7 years ago)
- Last Synced: 2024-12-27T07:09:31.680Z (15 days ago)
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: 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
#+BEGIN_SRC ruby
def chunk(string, size)
(0..(string.length-1)/size).map{|i|string[i*size,size]}
end
#+END_SRC
- [*] upload the chunks to Twitter
- [ ] Create a file with ordering with chunk_id - tweet_id#+BEGIN_SRC go
#+END_SRC
* 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.