An open API service indexing awesome lists of open source software.

https://github.com/ilsuono/git-remote-g2g

Git-to-Git, without middleman. Clone straight from your PC without exposing public address.
https://github.com/ilsuono/git-remote-g2g

git git-helper libp2p

Last synced: 9 months ago
JSON representation

Git-to-Git, without middleman. Clone straight from your PC without exposing public address.

Awesome Lists containing this project

README

          

# g2g
A set of command-utilities for hosting git-based code repositories. Ideally, you can host your git server in your home computer, and the server is accessible from every point in the internet, without uploading the codes to a centralized archive. The helpers are based on libp2p and no additional router configurations are needed.

## Usage
On the server-side:
```sh
>> git g2g
Host ID: QmafQq3BfH1b1hF6p8tcvnn5opxmPuPQQtuSesRzSgBvKY
```

And then on the client side:
```sh
>> git clone g2g://QmafQq3BfH1b1hF6p8tcvnn5opxmPuPQQtuSesRzSgBvKY/.git
```

## Installation
### Install from built binaries
```sh
curl -sL -O https://github.com/jayay98/git-remote-g2g/releases/latest/download/git-remote-g2g_Darwin_x86_64.tar.gz
mkdir ~/g2g
tar xvzf git-remote-g2g_Darwin_x86_64.tar.gz -C ~/g2g
export PATH=$PATH:$HOME/g2g

which git-g2g && which git-remote-g2g
```

### Build from source
```sh
git clone https://github.com/jayay98/git-remote-g2g.git
cd git-remote-g2g
make install
```