Public repository for the Lilith Gateway (port 8080) and Windows Port Console (port 8081) β dual-dashboard AI gateway system for Cyberpunk 2077 MSN Integration mod deployment and sovereign AI operations.
| Dashboard | Port | Purpose |
|---|---|---|
| πͺ· Unified Dashboard | 3000 | React/Express SPA β full system overview, GitHub explorer, engine build, CP2077 mod dashboard, Kairos dreams, MSN knowledge graph |
| π Lilith Gateway | 8080 | Central control plane β apps, VMs, system status, LLM proxy |
| π₯οΈ Windows Port Console | 8081 | Windows 11 VM management, cross-compile dashboard, WinRM/PowerShell bridge |
Location: /home/tehlappy/π Lilith/_shared/gateway/
Features:
- System Dashboard β CPU, memory, disk, load averages
- App Launcher β Scan, search, and launch
.desktopapplications - VM Manager β Libvirt/QEMU VM control (start/stop/console/screenshot)
- LLM Proxy β OpenAI-compatible
/v1/chat/completionsproxy to local Ollama - WebSocket β Real-time status updates
- Static Frontend β Single-page dashboard at
/
Key Endpoints:
GET /api/statusβ System statusGET /api/appsβ Installed applicationsGET /api/vmsβ VM inventory with live statePOST /api/vms/{action}/{vm_name}β VM control (start/shutdown/reboot/destroy)POST /v1/chat/completionsβ LLM proxy (Ollama)GET /v1/modelsβ List local modelsWS /wsβ WebSocket for live updates
Desktop Launchers:
lilith-gateway.desktopβ Start server + open browserlilith-gateway-web.desktopβ Open existing server in browser
Location: /home/tehlappy/Desktop/windows-port-console/
Features:
- VM Dashboard β Create, start (headless/GUI), stop, power off, screenshot
- Code Editor β Browser-based editor with syntax highlighting
- Terminal β WebSocket terminal to VM via WinRM
- File Browser β Cross-platform file sync (
~/Desktop/cross-compile/) - WinRM/PowerShell Bridge β Execute PowerShell commands remotely
- AI Assistant β Integrated LLM chat for porting assistance
Key Endpoints:
GET /api/vm/statusβ VM state + ISO infoPOST /api/vm/startβ Start VM (headless or GUI)POST /api/vm/stopβ Graceful or forced stopPOST /api/vm/screenshotβ Live screenshotPOST /api/vm/createβ Provision new Windows 11 VMPOST /api/winrm/executeβ Run PowerShell via WinRMWS /wsβ Interactive terminal + code editor sync
Desktop Launcher:
windows11-qemu.desktop/windows11-spice.desktopβ VM launch shortcuts
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Lilith Gateway (8080) β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β Apps β β VMs β β System β β
β β Scanner β β Manager β β Status β β
β ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ β
β β β β β
β ββββββββββββββββββΌβββββββββββββββββ β
β βΌ β
β βββββββββββββββββββββββ β
β β LLM Proxy β β
β β (Ollama / 11434) β β
β βββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Windows Port Console (8081) β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β VM Manager β β WinRM/Power β β Code Editorβ β
β β (libvirt) β β Shell β β (Monaco) β β
β ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ β
β β β β β
β ββββββββββββββββββΌβββββββββββββββββ β
β βΌ β
β βββββββββββββββββββββββ β
β β Windows 11 VM β β
β β (QEMU/KVM, SPICE) β β
β βββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
cd /home/tehlappy/π\ Lilith/_shared/gateway
./launch-gateway.sh
# Opens http://localhost:8080cd /home/tehlappy/Desktop/windows-port-console
source venv/bin/activate
python3 server.py
# Opens http://localhost:8081Both dashboards integrate with the MSN Integration mod deployment pipeline:
- Gateway API (
/api/status) exposes mod repo status (dirty/clean, branch, commit) - Deployment scripts (
deploy_all_mods.sh) trigger verification via Gateway - CET console commands verified through Gateway status endpoint
- Desktop launchers provide one-click access to full deployment workflow
curl -s http://localhost:8080/api/status | python3 -c "
import json, sys
d = json.load(sys.stdin)
for r in d.get('repositories', []):
if any(k in r['name'].lower() for k in ['msn', 'gtc', 'cyberpunk']):
print(f\" {r['name']}: {r['status']} ({r['branch']}) dirty={r['dirty_files']}\")
"vm-ai-gateway/
βββ lilith-gateway/ # Lilith Gateway (port 8080)
β βββ gateway_server.py # FastAPI server
β βββ gateway-server.py # Legacy/alternate entry
β βββ scan_apps.py # .desktop scanner
β βββ scan_vms.py # libvirt VM scanner
β βββ vm_helper.sh # VM helper scripts
β βββ inventory-refresh.sh # Refresh apps/VMs
β βββ launch-gateway.sh # Startup script
β βββ llm_providers.py # LLM provider abstraction
β βββ apps.json # Cached app inventory
β βββ vms.json # Cached VM inventory
β βββ static/ # Frontend assets
β β βββ index.html
β β βββ app.js
β β βββ style.css
β βββ templates/ # Jinja2 templates
βββ windows-port-console/ # Windows Port Console (port 8081)
β βββ server.py # FastAPI server
β βββ vm_manager.py # libvirt VM operations
β βββ winrm_client.py # WinRM/PowerShell client
β βββ requirements.txt
β βββ start.sh
β βββ static/
β β βββ index.html
β β βββ app.js
β β βββ style.css
β βββ venv/ # Python virtualenv
βββ unified-dashboard/ # πͺ· Lilith Unified Dashboard (port 3000)
βββ server/index.ts # Express API server
βββ src/ # React + TypeScript frontend
β βββ App.tsx # Main app with 7 tabs
β βββ components/ # React components
β β βββ DashboardOverview.tsx
β β βββ Header.tsx
β β βββ LilithGatewaySection.tsx
β β βββ BlackSpaceEngineSection.tsx
β β βββ CyberpunkModSection.tsx
β β βββ KairosDreamSection.tsx
β β βββ KnowledgeGraphSection.tsx
β β βββ GitHubProfileSection.tsx
β β βββ ...
β βββ hooks/ # React hooks (system, github, engine, dreams)
β βββ api.ts # API client
β βββ types.ts # TypeScript types
βββ vite.config.ts # Vite build config
βββ package.json
βββ index.html
- Python 3.10+
- FastAPI, Uvicorn
- httpx (LLM proxy)
- psutil (system stats)
- libvirt-python (VM management)
- Python 3.10+
- FastAPI, Uvicorn
- libvirt-python
- pywinrm (WinRM client)
- websockets
Environment variables in ~/.hermes/.env:
OLLAMA_URL=http://localhost:11434
GATEWAY_PORT=8080
GATEWAY_HOST=0.0.0.0Edit server.py constants:
VM_NAME = "Windows11"
ISO_PATH = Path.home() / "ISOs" / "Win11_24H2.iso"
SHARED_DIR = Path.home() / "Desktop" / "cross-compile"
WINRM_PORT = 5985- Local-only by default β Both servers bind to
0.0.0.0but expect LAN/localhost use - No auth on LLM proxy β Add
x-api-keyheader validation if exposed - WinRM credentials β Passed per-request; not stored
- WebSocket β No auth; restrict to trusted networks
| Repo | Purpose |
|---|---|
msn-integration |
Cyberpunk 2077 MSN Integration mod (205+ REDscripts) |
gtc-mod-staging |
GTC mod stack staging & validation |
lilith-frankenstein |
Unified Lilith sovereign AI framework |
Sovereign-Core |
10 Sephirothic agents + council bus |
convergence-crucible |
Alchemical conflict resolution engine |
MIT β Part of the Lilith Systems sovereign AI framework.