Crates.io | nip |
lib.rs | nip |
version | 0.3.0 |
source | src |
created_at | 2018-12-08 22:38:26.740513 |
updated_at | 2019-02-25 13:41:46.967926 |
description | A git remote helper for IPFS that puts your files Nowhere In Particular |
homepage | |
repository | https://github.com/drozdziak1/nip |
max_upload_size | |
id | 100866 |
size | 29,266 |
nip is a git remote helper that'll put your repo's objects on IPFS - i.e. Nowhere In Particular.
Like with most Rust packages, the easiest way to install will be using Cargo:
$ cargo install nip
Important: Before you try to use nip please make sure that your local IPFS instance is running on its standard port.
$ git remote add nip nip::new-ipfs # Use a magic placeholder URL representing a new IPFS repo
$ git push --all nip # Push all refs to a brand new repo
$ git clone nip::/ipfs/QmZq47khma5nP7DjHUPoERhKnfNUPqkr5pVwmS8A6TQSeN some_repo
nip comes with nipctl
- a utility for nip repo administration. As for today
Its functionality is very minimal (printing of objects and indices), but some of
the planned features include:
refs
itemsSee FAQ.md
for a tour of underlying nip functionality.
If you'd like to hack on nip, the dev_bootstrap.sh
script is where you should
start. It symlinks nipctl
and git-remote-nip
as nipdevctl
and
git-remote-nipdev
in ~/.cargo/bin
, respectively. As a result, git
will
pick git-remote-nipdev
for every remote that has a nipdev::<hash_or_mode>
address instead of git-remote-nip
, which enables painless testing during
developing.