Welcome at Darktea - A git server

Welcome at Darktea - Dark cup of Gitea. Host your own git repositories on the Tor deep web.

Just Register your Darktea Account for free and host your code now (or mirror an existing repo)!

Explore the existing content on Darktea.

(Also do not forget to read our rules and guidelines)

Darktea Introduction

Using Git over Tor can be achieved via Tor service or by using Tor Browser.

Tor service runs by default on port 9050. The Tor browser (you already have) runs on port 9150.

Alternatively, you can use Git over Tor by using the torify command! Which makes is very easy to use. Example:

torify git ...

Git Clone using Tor

Clone existing Git

Clone an existing Git repo when you're using the Tor service. Note: this is an example repo.

Important: If you are using the Tor Browser change the port below from 9050 to port 9150.

Type in terminal:

git -c http.proxy=socks5h://127.0.0.1:9050 clone http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/your_org/your_repo.git
cd your_repo
git config --add remote.origin.proxy "socks5h://127.0.0.1:9050"

Git add using Tor

Add existing folder

Add an existing folder repository to Git using Tor. We'll use the Tor service in this example, running again on port 9050. Change port 9050 to 9150, when you're using the Tor Browser.

Type in terminal:

cd your_repo
git remote add origin http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/your_org/your_repo.git
git config --add remote.origin.proxy "socks5h://127.0.0.1:9050"
git add .
git commit -m "Initial commit"
git push -u origin master

Add existing Git repo

Pushing an existing Git repository, is also possible. In that case rename origin, add the new origin (this example is using port 9050) and push it. Type in terminal:

cd your_repo
git remote rename origin old-origin
git remote add origin http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/your_org/your_repo.git
git config --add remote.origin.proxy "socks5h://127.0.0.1:9050"
git push -u origin --all
git push -u origin --tags