Git Product home page Git Product logo

hyperglobalmegastore's Introduction

HyperGlobalMegaStore - A not-sucking cloud storage

What is HyperGlobalMegaStore?

HyperGlobalMegaStore encrypts and converts arbitrary data into a PNG file. You can look at the PNG file, print it on paper or upload it to Flickr as they offer you 1TB of storage for each account.

The package also includes a proxy server that will decrypt & re-convert the PNG file on the fly from Flickr or any other image hosting provider.

But this violates the Flickr Terms of use!!!11

Uh, maybe. Maybe not. The uploaded image files are valid PNG files and i like looking at them.

How to install

Golang >= 1.3 and some Perl5 modules are required.

To compile the proxy, run:

make deps
make

This should produce the hgmcmd binary.

You can then launch the proxy via

./hgmcmd proxy 127.0.0.1 8080

Hint: You can instruct the hyperglobalmegastore-proxy to use a local forwarding proxy (such as Squid or ATS/YTS):

http_proxy=http://127.0.0.1:3128 ./hgmcmd proxy 127.0.0.1 8080

The proxy will use ./_aliases as its json-storage directory (fixme: this will change)

Mounting the filesystem via FUSE is also possible. Just run

./hgmcmd mount /mnt/hgms

Note that you need to keep the proxy running while the filesystem is mounted.

You can also cross compile the binary for android, see README.android for details.

How to upload 'pictures'

Create your flickr account and configure Flickr::Upload:

  1. Run 'flickr_upload --auth' and copy-n-paste the URL into your browser (you should already be logged in to flickr)
  2. Authorize Flickr::Uploader
  3. Hit ENTER and copy the auth_token
  4. Create a ~/.flickrrc file with auth_key and url_prefix (= the URL of your account) The file should look like this:
auth_token=12345678901234567-aabbccddeeffaabb
url_prefix=https://www.flickr.com/photos/721538313@N05

Afterwards run

find whatever/ | ./mkpng.pl

to encrypt and upload your files. mkpng.pl will drop a json file with the image location + encryption key into ./_aliases

hyperglobalmegastore's People

Contributors

adrian-bl avatar

Stargazers

V.Koroy avatar Marke Hallowell avatar Elias Jørgensen avatar  avatar Cristian R. Arroyo avatar James Morris avatar lodsb avatar  avatar  avatar Torsten avatar  avatar Olivetti avatar

Watchers

 avatar James Cloos avatar Torsten avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.