Code Monkey home page Code Monkey logo

git-mango-helper's Introduction

git-mango-helper

Git remote helper for Mango.

Install

The package now uses an external IPFS node instead of one created from inside the code. Installing an IPFS node is fairly easy:

npm install -g ipfs

Then simply install git-mango-helper globally.

npm install -g git-mango-helper

This will install the git-remote-mango executable which will be used by git to support the mango:// protocol.

Usage

First, make sure you have an IPFS node running.

jsipfs daemon

Then simply use git normally with a mango address:

git pull mango://0x890fe361f9ede4ad40a3cac75877f9cd1183e0ab

Future work

Right now, git-mango-helper connects by default to an IPFS node at localhost port 5002. A config command will be needed to work in production.

A NodeJs library would also be useful.

License

GPL v3

Copyright (C) 2016 Alex Beregszaszi

Some of this code is based on snippets from https://github.com/clehner/memory-pull-git-repo:

Copyright (c) 2016 Charles Lehner

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.

git-mango-helper's People

Contributors

axic avatar macor161 avatar yondonfu avatar

Watchers

 avatar  avatar  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.