Skip to content

alissiawells/Purgatorio

Repository files navigation

Purgatorio

SHA-2 checksum-based storage, accessible by REST API endpoints.

To call Daemon that will keep your deviant files in the Purgatorio:

$ git clone https://github.com/alissiawells/Purgatorio.git
$ cd Purgatorio
$ mkvirtualenv Purgatorio
$ pip install -r requirements.txt
$ sudo python daemon.py start

Open http://localhost:5000 in browser or use curl.

Upload a file:

$ curl -i -F "file=@filename.txt" localhost:5000/

Download a file:

$ curl -O localhost:5000/store/filehash

Delete a file:

$ curl -i -X DELETE localhost:5000/store/filehash

Other commands:

$ sudo python daemon.py 

About

Here lives a daemon that keeps your deviant files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages