Autonomous AI-powered business platform with ZeusAI commerce, BTC-first checkout, live service marketplace, self-healing APIs and Hetzner/PM2 production deployment.
- Node.js 20+
- npm 9+
- Docker & Docker Compose (optional)
- PM2 (for Hetzner production)
git clone https://github.com/ruffy80/ZeusAI.git
cd ZeusAI
cp .env.example .env
# Edit .env with your real keys# Main platform
cd UNICORN_FINAL && npm install
# Optional React client build; live site is served by UNICORN_FINAL/src/index.js
cd client && npm install && npm run build && cd ..# From repo root
npm start
# or
cd UNICORN_FINAL && npm startThe platform starts at http://localhost:3000.
cd UNICORN_FINAL
npm run lint
npm testKey public contracts used by the live site:
/health,/snapshot,/stream/api/catalogand/api/catalog/masterfor the 100+ service marketplace/api/payment/btc-rate,/api/btc/rate,/api/payment/methods/api/payments/config/statusfor BTC-primary and optional provider readiness
# Copy env file
cp .env.example .env # fill in your secrets
# Start all services (backend + nginx + certbot)
docker compose up -d
# Logs
docker compose logs -f unicornProduction is BTC-first: revenue routes directly to the owner wallet configured by BTC_WALLET_ADDRESS or OWNER_BTC_ADDRESS. The site exposes the wallet in the UI from runtime env/config and refreshes it from /api/payment/btc-rate.
Optional rails are shown only when configured in runtime env:
- Stripe/Card:
STRIPE_SECRET_KEY - PayPal:
PAYPAL_CLIENT_ID+PAYPAL_CLIENT_SECRET - NOWPayments:
NOWPAYMENTS_API_KEY+NOWPAYMENTS_IPN_SECRET
Push to main — .github/workflows/hetzner-deploy.yml validates UNICORN_FINAL, SSHs into Hetzner, pulls the latest code and reloads PM2.
The broader live bootstrap flow is .github/workflows/live.yml for scheduled/manual SSL, health and deployment checks.
node UNICORN_FINAL/scripts/setup-hetzner-auto.jsThis script:
- Installs Docker, Node.js 20, Nginx, Certbot
- Clones the repository to
/opt/unicorn - Builds the React frontend
- Configures Nginx reverse proxy → port 3000
- Obtains SSL certificate via Certbot
- Starts the platform as a
systemdservice
ZeusAI/
├── UNICORN_FINAL/ # Main application
│ ├── backend/ # Express API server
│ │ ├── index.js # 50+ API endpoints
│ │ ├── db.js # SQLite database layer
│ │ └── modules/ # 60+ autonomous modules
│ ├── client/ # Optional React SPA/build assets
│ │ └── src/
│ │ ├── components/ # ZEUS3D, LuxuryClock, HolographicVoice…
│ │ └── pages/ # Home, Dashboard, Marketplace…
│ ├── src/
│ │ ├── index.js # Live Node HTTP server (site + local APIs)
│ │ └── site/template.js # Legacy inline UI template compatibility
│ ├── scripts/ # Hetzner, DNS, GitHub setup scripts
│ ├── test/ # Health + API tests
│ └── package.json
├── .github/workflows/ # CI/CD pipelines
├── Dockerfile
├── docker-compose.yml
└── .env.example
| Feature | Module |
|---|---|
| Auto-innovation every 6h | unicornEternalEngine.js |
| Self-healing & monitoring | totalSystemHealer.js |
| Infinite scalability | quantumResilienceCore.js |
| Auto-deploy on change | autoDeploy.js |
| Self-construction of missing modules | selfConstruction.js |
| BTC payments (fixed address) | quantumPaymentNexus.js |
| Legal fortress & watermark | legalFortress.js |
| DNS automation (Sav.com) | domainAutomationManager.js |
All BTC payments are routed to the fixed address:
bc1q4f7e66z87mdfj56kz0dj5hvcnpmh0qh4wuv22e
cd UNICORN_FINAL
npm test # 26 automated tests
npm run lint # syntax checknpm run start # Start the platform
npm run build # Lint + test
npm run deploy # Full deploy sequence
npm run heal # Run health guardian
npm run evolve # Run innovation sprint- JWT authentication (users + admin)
- RBAC plan enforcement (free/starter/pro/enterprise)
- Rate limiting (200 req/min global, 60 req/min admin)
- Content Security Policy headers
- Input sanitization + email validation
- Admin sessions persisted in SQLite
Romanian · English · French · Spanish · German · Italian · Portuguese
Proprietary — © Vladoi Ionut 2024–2026. All rights reserved. See SECURITY.md for vulnerability reporting.