deployment
Launch on the dark web
Ship this stack as Tor v3 hidden services: nginx on loopback ports, Next.js on{" "}
127.0.0.1:3000, one onion per vertical.
Repo ships generators and systemd hooks — you bring the box and opsec.
1. Build & wire Tor + nginx
{`cd ~/cyberlux
./start.sh
# or prepare only, then systemd:
# CYBERLUX_PREPARE_ONLY=1 ./start.sh
# sudo CYBERLUX_USER=$USER bash scripts/install-systemd.sh`}
2. Run the app
Foreground: npm run start:onion · Boot:{" "}
sudo systemctl start cyberlux.service
3. Verify every onion & loopback
{`npm run health:stack
npm run onions:list # every .onion URL
sudo bash scripts/list-onion-urls.sh # if hostname files need root
npm run onions:status # URLs + loopback checks`}
Full reference: DEPLOY.md in the repo root (Torrc, key backup, firewall).