Like onionshare, but for git repos. Instead of hosting your project (only) on github or the like, host it from a swarm of onions that synchronize from each other! ⚠ WORK IN PROGRESS ⚠ some conceptual issues need to be resolved before proceeding
|fnordomat fd63041dad conceptual work||4 months ago|
|docs||4 months ago|
|oniongitshare||4 months ago|
|scripts||4 months ago|
|HISTORY.md||4 months ago|
|ISSUES.md||3 years ago|
|LICENSE||4 years ago|
|README.md||4 months ago|
|setup.py||4 months ago|
Like onionshare, but for git repos.
Distributed githubless repository sharing.
oniongitshare is an attempt to ease the distribution of git repos, away from central points of failure. It makes it easy to host git repos on a distributed swarm instead of just one central server.
Nodes can come and go, and network topology only depends on the peers entries in the nodes' config files. Changes that are merged by one's peers propagate by diffusion.
Future plans: oniongitshare is meant to evolve into an experimental distributed asynchronous collaboration platform. This means issue tracking, etc.
Come join the effort! Try it out!
Make a new directory and put this in the file ./repo.cfg (when creating a new repository instead of cloning from a peer, the list or indeed the repo.cfg file can remain empty)
[network] peers = <comma-separated list of onion domain names, with or without the suffix .onion>
For a public repository, no authentication is needed (option -X). In case authentication is used, prepend the secret as follows: somebody:firstname.lastname@example.org
For each shared repo, Globalist will create one .onion service. Note that it is possible to use either bare repos or not-bare repos.
To initialize a new blank repo and an onion address for it (using the current directory to store the config and repo):
To clone a bare repo:
oniongitshare -c ...
To pull once from a bare repo:
There are various other options and parameters, which you can view:
For example, this uses
/srv/oniongit/foobar as base directory, starts its own tor process under
/srv/oniongit/foobar/tor, communicates with it via the given port, and starts serving:
oniongitshare -T /usr/bin/tor -C 9251 -d /srv/oniongit/foobar
If you initialize a new oniongitshare instance with
-c, then an onion address will be generated automatically that you can start handing out immediately. This is persistent and will be re-used anytime you serve from the same directory. No need to configure tor manually!
You need the pip3 package
setuptools, the rest will be downloaded automatically.
./setup.py install --user
torsocks pip3 install -v -e .
Ideas, further work, TODOs: