git-remote-iroh 0.1.0

Git remote protocol support for https://www.iroh.computer
Documentation

git-remote-iroh

What

Serve and access Git repositories over iroh.

This implements a simple Git protocol helper that connects repositories over iroh p2p network endpoints.

Why

The old world is dying and the new world struggles to be born. Now is the time of monsters.

How

Install:

cargo install --path=.

Serve a local repository on one machine:

GIT_DIR=/path/to/repo.git git-remote-iroh

Access a remote repository on another machine:

git clone iroh://{public key} my-project

Debug

Set RUST_LOG=git_remote_iroh=debug to see more detailed debug logs. You can also set RUST_LOG=debug which will also add iroh debug messages.

Beware

Iroh can't connect to the same address on the same machine. To test this, you'll need to use different users or machines or containers for serving repositories and using git.

No identity, security or access controls are implemented yet. At all. Probably not suitable for any real production-grade Git hosting yet.

Only one repository is served per address.

Needs tests and stuff.

Next

Once some of these limitations are addressed this project will self-host, and then