A production-grade, decentralized portfolio hosting system using Tor hidden service and Kademlia DHT-based P2P CDN.
- Dynamic Configuration: Automatically detects installation path.
- Tor Hidden Service (v3): Anonymous, secure hosting.
- Kademlia DHT: Distributed peer discovery.
- P2P CDN: WebRTC-based asset delivery.
- Resource Optimized: <150MB RAM, battery-aware.
- Android Device with Termux.
- Packages:
tor,nginx,nodejs-lts.
-
Copy Project: Place the project folder anywhere in Termux (e.g.,
~/localhost). -
Install Dependencies:
chmod +x scripts/*.sh ./scripts/install-deps.sh
./scripts/start.shThis will:
- Generate
nginx.confwith correct paths. - Start Tor and Nginx.
- Display your
.onionaddress.
./scripts/stop.sh./scripts/status.shconfig/: Config templates.www/: Static website (place your site build here).scripts/: Management scripts.