Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cblgh/piratcloud
an ipfs-based encrypted backup solution
https://github.com/cblgh/piratcloud
backup ipfs peoples-cloud
Last synced: 19 days ago
JSON representation
an ipfs-based encrypted backup solution
- Host: GitHub
- URL: https://github.com/cblgh/piratcloud
- Owner: cblgh
- License: mit
- Created: 2017-06-02T20:58:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-11T09:11:30.000Z (over 7 years ago)
- Last Synced: 2024-12-26T15:11:43.248Z (about 1 month ago)
- Topics: backup, ipfs, peoples-cloud
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 20
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# piratcloud
an [ipfs-based](https://ipfs.io/) encrypted backup solution that lets friends keep backup of each others' important stuff## How it works
It basically compresses the target file/folder using tar, encrypts the tarball and uploads the encrypted tarball to ipfs. When you download and restore a backup the process is run in reverse.Every time you upload or rehost something, that fact is saved in a flatfile database (a json file). The database, which contains your uploaded files and their decryption keys, exists at `~/.config/piratcloud`.
Since the tarball is encrypted, friends that are rehosting your hash can't read its contents. Which is great!
If other computers are rehosting your hash, all you need to do is keep a backup of `~/.config/piratcloud`!## Usage
### Backup a folder
```sh
cloud upload [optional note to remember what it was]e.g.
cloud upload ~/.config # spits out the resulting ipfs hash & decryption key
```### Rehost someone else's stuff
```sh
cloud rehost [optional note to remember why you are rehosting this]e.g.
cloud rehost Qm....7331 "best friend backup" # Qm...7331 being the ipfs hash they give you
```### Download your stuff
```sh
cloud downloade.g.
cloud download ~/destination-folder Qm....7331 D3crYpt100nc3i # Qm...7331 being the ipfs hash they give you
```### List all your uploads and rehosts
```sh
cloud list
```### Full command list
```
Usage:
cloud [command]Available Commands:
download Downloads an ipfs hash and decrypts it using the supplied key
help Help about any command
list Lists the stuff you've uploaded, their keys and also what you're rehosting
rehost Rehost an ipfs hash, basically seeding it for someone else
upload Uploads and encrypts a file or directory, returning its hash and decryption keyFlags:
-h, --help help for cloudUse "cloud [command] --help" for more information about a command.
```## Is it any good?
Yeah probably## License
MIT