{"id":30176836,"url":"https://github.com/mementomori11723/dark-web","last_synced_at":"2026-05-10T05:10:41.229Z","repository":{"id":299780505,"uuid":"1004162686","full_name":"MementoMori11723/dark-web","owner":"MementoMori11723","description":"A repo that can be used to deploy a server on dark web.","archived":false,"fork":false,"pushed_at":"2025-08-06T08:08:48.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-11T14:54:25.479Z","etag":null,"topics":["dark-web-sites","docker","docker-compose","go","golang","onion","onion-routing","tor"],"latest_commit_sha":null,"homepage":"https://dark-web.yasasvi.site","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MementoMori11723.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-18T07:58:35.000Z","updated_at":"2025-08-06T08:08:52.000Z","dependencies_parsed_at":"2025-07-17T00:20:08.491Z","dependency_job_id":"d897ecdd-26a9-47ea-a4fc-60b0b008e61c","html_url":"https://github.com/MementoMori11723/dark-web","commit_stats":null,"previous_names":["mementomori11723/dark-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MementoMori11723/dark-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2Fdark-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2Fdark-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2Fdark-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2Fdark-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MementoMori11723","download_url":"https://codeload.github.com/MementoMori11723/dark-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2Fdark-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269994180,"owners_count":24509028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dark-web-sites","docker","docker-compose","go","golang","onion","onion-routing","tor"],"created_at":"2025-08-12T03:12:52.007Z","updated_at":"2026-05-10T05:10:41.185Z","avatar_url":"https://github.com/MementoMori11723.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌑 Dark Web Website (Vanity Onion Service)\n\nA minimalist and secure `.onion` website served over the Tor network. Built with Go, containerized using Docker, and powered by a vanity Tor hidden service.\n\n---\n\n## 📁 Project Structure\n\n```\n.\n├── ansible/                 # Ansible playbook for server setup\n│   └── playbook.yml\n├── app.go                   # Main app entrypoint\n├── config/                  # Docker and Tor configuration\n│   ├── compose.yml          # Docker Compose file\n│   ├── config.go            # App config\n│   ├── Dockerfile           # Dockerfile for the Go app\n│   └── tor/\n│       ├── Dockerfile       # Dockerfile for Tor hidden service\n│       ├── torrc            # Tor config\n│       └── vanity/          # Vanity onion keys\n│           ├── hostname\n│           ├── hs_ed25519_public_key\n│           └── hs_ed25519_secret_key\n├── go.mod                   # Go module file\n├── LICENSE\n├── Makefile                 # CLI commands\n├── README.md                # This file\n└── server/\n    ├── assets/              # Static assets\n    │   └── tor.png\n    ├── pages/               # HTML templates\n    │   ├── about.html\n    │   ├── error.html\n    │   ├── index.html\n    │   └── layout.html\n    └── server.go            # HTTP handlers and routes\n```\n\n---\n\n## ⚙️ Getting Started\n\n### 🐳 Run with Docker\n\nRun the app and Tor hidden service in detached mode:\n\n```bash\nmake run\n```\n\nStop everything and clean up:\n\n```bash\nmake stop\n```\n\nThis will:\n\n* Build and start the Go app\n* Start a Tor container exposing the site as a hidden service\n* Output the `.onion` address from `config/tor/vanity/hostname`\n\nTo see the address:\n\n```bash\ncat config/tor/vanity/hostname\n```\n\n---\n\n### 💻 Local Development\n\nRun the Go app on port `8080` directly without Tor:\n\n```bash\nmake dev\n```\n\nIt will serve the site at: [http://localhost:8080](http://localhost:8080)\n\n---\n\n## 🧅 Vanity Onion Service\n\nTo use your own `.onion` address:\n\n1. Generate a vanity address using [`mkp224o`](https://github.com/cathugger/mkp224o).\n2. Place the keys inside: `config/tor/vanity/`\n3. Tor will serve your site at that address.\n\nMake sure your `torrc` has:\n\n```conf\nHiddenServiceDir /var/lib/tor/hidden_service/\nHiddenServicePort 80 127.0.0.1:8080\n```\n\n---\n\n## 🧪 Test with Tor Locally\n\nIf Tor is running on your system:\n\n```bash\ncurl --socks5-hostname 127.0.0.1:9050 http://yourvanityaddress.onion\n```\n\n---\n\n## 🛡️ Onion Location Header (Optional)\n\nIf you want clearnet visitors to see your `.onion` option in Brave or Tor Browser, add this header in your Go server:\n\n```http\nOnion-Location: http://yourvanityaddress.onion\n```\n\n---\n\n## 🧰 Makefile Commands\n\n| Command     | Description                         |\n| ----------- | ----------------------------------- |\n| `make run`  | Start the Tor + Go app stack        |\n| `make stop` | Stop and remove all containers      |\n| `make dev`  | Run the Go app locally on port 8080 |\n\n---\n\n## 📦 Deployment with Ansible\n\nUse the provided `ansible/playbook.yml` to deploy to a VPS (Docker and SSH required). Example:\n\n```bash\nansible-playbook ansible/playbook.yml -i your_vps_ip,\n```\n\n---\n\n## 🔐 Security Notes\n\n* Do **not** commit `hs_ed25519_secret_key` to public repos.\n* Use firewall rules or reverse proxies as needed.\n* Keep your base image and Go binary minimal and hardened.\n\n---\n\n## 📄 License\n\nMIT © 2025 Yasasvi Gumma\nUse it freely, modify it responsibly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmementomori11723%2Fdark-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmementomori11723%2Fdark-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmementomori11723%2Fdark-web/lists"}