Go to file
Milan Hauth d8c9f31354 add section: using tor-hidden git remotes 2023-10-12 09:11:07 +02:00
LICENSE Initial commit 2023-07-30 15:56:49 +02:00
README.md add section: using tor-hidden git remotes 2023-10-12 09:11:07 +02:00

README.md

darknet-git-hosting-services

services

based on gitea

darktea

remote=darktea
owner=some_owner
repo=some_repo
url=http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/$owner/$repo

git -c remote.origin.proxy=socks5h://127.0.0.1:9050 clone $url
cd $repo
git remote add $remote $url
git config --add remote.$remote.proxy socks5h://127.0.0.1:9050

right to privacy

remote=righttoprivacy
owner=some_owner
repo=some_repo
url=http://gg6zxtreajiijztyy5g6bt5o6l3qu32nrg7eulyemlhxwwl6enk6ghad.onion/$owner/$repo

git -c remote.origin.proxy=socks5h://127.0.0.1:9050 clone $url
cd $repo
git remote rename origin $remote
git config --add remote.$remote.proxy socks5h://127.0.0.1:9050

using tor-hidden git remotes

clone a git repo from a tor-hidden remote:

remote=darktea
owner=some_owner
repo=some_repo
url=http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/$owner/$repo

git -c remote.origin.proxy=socks5h://127.0.0.1:9050 clone $url
cd $repo
git remote rename origin $remote
git config --add remote.$remote.proxy socks5h://127.0.0.1:9050

add a tor-hidden remote to an existing git repo:

remote=darktea
owner=some_owner
repo=some_repo
url=http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/$owner/$repo

git remote add $remote $url
git config --add remote.$remote.proxy socks5h://127.0.0.1:9050

now git pull and git fetch and git push will use the tor socks5 proxy at 127.0.0.1:9050

remote=darktea

git pull $remote
git fetch $remote
git push $remote

the tor socks5 proxy at 127.0.0.1:9050 is started by sudo systemctl start tor on linux or tor.exe --service start on windows (youre an idiot if you still use windows, but well... addicts gonna addict)

example

cd $(mktemp -d)

remote=darktea
owner=milahu
repo=darknet-git-hosting-services
url=http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/$owner/$repo

git -c remote.origin.proxy=socks5h://127.0.0.1:9050 clone $url
cd $repo
git remote rename origin $remote
git config --add remote.$remote.proxy socks5h://127.0.0.1:9050

git authentication

to $HOME/.gitconfig add this section:

[credential]
  # store all entered logins in $HOME/.git-credentials
  helper = store

now git will ask for username and password only on your first access to a remote and store the login data in $HOME/.git-credentials for future use

broken services

open privacy gitea

project segfault git

git.dotya.ml

adhoccode

based on forgejo

  • forgejo is a FOSS fork of gitea
  • https://forgejo.org/faq/
    • Why was Forgejo created?
      • In October 2022 the domains and trademark of Gitea were transferred to a for-profit company without knowledge or approval of the community. Despite writing an open letter, the takeover was later confirmed. Forgejo was created as an alternative providing a software forge whose governance further the interest of the general public.
      • Forgejo was initially presented as a “soft-fork” of Gitea, similar to LineageOS, a community led distribution based on Android from Google. It is however better described as a product built on top of Gitea, Git and hundreds of other Free Software projects. Forgejo also has its own documentation, infrastructure, release pipeline, CI infrastructure, distribution channels etc.

nixnet

based on cgit

based on gitlab

based on gitarena

based on gogs

based on sourcehut

based on gerrit

based on radicle

darknet search engines

useful to find other darknet git hosting services