Turn your GitHub repository into encrypted filesystem (=
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
tests
.eslintrc.json
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

logo

Donate npm version Build Status Dependency Status

octo-drive helps you turn github repository into enctypted filesystem. It is based on fuse (fuse-bindings for node) that helps create userspace filesystems.

Features

  • Encrypts every file with your password
  • Encrypt filesystem metadata
  • Encrypt filenames inside of repository
  • Each file is encrypted repository file (reduce network things).
  • Encrypted local cache to make it a bit faster
  • Fast enough for download and upload

Usage

Dependency

sudo apt-get install libfuse-dev

fuse-bindings is depend on libfuse-dev when installing with node-gyp

How to install ?

npm install -g octo-drive

How to run ?

octo-drive githubuser/myrepository ~/drive

Will mount repository mysrepository of githubuser into ~/drive

When you run the octo-drive, it will ask some questions

  • Do you like authorize with github token ?
  • Token themselfs
  • or user password for your account

Then it will ask about drive secret, all the data will be encoded with this secret.

Ok , what about more automation ?

There is a bunch of ENVironment variables that can help with it

export OCTODRIVE_TOKEN=...

or

export OCTODRIVE_USER=...

export OCTODRIVE_PASS=...

and

export OCTODRIVE_SECRET=...

export OCTODRIVE_BRANCH=...

Idk how much it secure setup envs with plain passwords, but it can be supersecret script inside of the supersecret place that run octo-drive with these variables.

Is it really secure ?

Huh ? Me ? I don't know, tell me please if you have something to say about it.

Bugz..z.. Features !

octo-drive can handle different filesystems for just different secrets ;)

Changelog

0.3.3

  • OCTODRIVE_BRANCH env support (does not log drive activity)

License

BSD