Deploy any web project as a Tor hidden service in minutes.
git clone https://github.com/BlackHatDevX/onionhoster.git
cd onionhoster
sudo bash onionhoster.shThat's it. The script detects your OS, installs dependencies, configures Tor, and gives you a menu to:
- Host your
index.html - Forward to any app port (Next.js, Flask, etc.)
- Backup/restore your
.onionaddress - Generate new onion addresses
| Feature | Description |
|---|---|
| Zero Config | Works out of the box with any web project |
| Cross-Platform | Ubuntu, Debian, CentOS, Fedora, Arch, macOS |
| Port Forwarding | Proxy to Next.js, Flask, Node.js, anything |
| Backup/Restore | Never lose your onion address |
| Auto-Updates | Stay on the latest version |
OnionHoster is not a magic anonymity tool — follow best practices or risk deanonymization.
- Run in a VM or container for isolation
- Don't use the same machine for personal activities
- Use a firewall to prevent clearnet leaks
- Test with Tor Browser to verify your site is only reachable via
.onion
Open an issue or submit a PR. All contributions welcome.
MIT License - see LICENSE for details.
Star ⭐ if this helped!
