Hacker News new | ask | show | jobs
by mrisse 4040 days ago
Can I clone GitTorrent with GitTorrent?
1 comments

Yes, it works.

npm install gittorrent

git clone gittorrent://github.com/cjb/gittorrent

Or for true decentralization (doesn't get the wanted sha1 from github.com):

gittorrent://81e24205d4bac8496d3e13282c90ead5045f09ea/gittorrent

It works! Very cool.
I got fatal: Unable to find remote helper for 'gittorrent'
How about "sudo npm install -g gittorrent"? It looks like the git-remote-gittorrent binary isn't ending up in your $PATH.
Or without polluting global namespace:

export PATH="$PATH:$HOME/node_modules/.bin"