How 0xjc65eth/cypher65-war-room works
CYPHER65 War Room is a self-hosted Bitcoin-mining command center. Operators use the web dashboard or mobile companion to view live fleet and pool telemetry, analyze block probability and economic scenarios, manage rentals, and control ASICs. Flask routes expose these capabilities; background polling and service-layer models feed snapshots, while tenant/authentication and safety checks govern access and actions. The README documents the major product branches; unsampled implementation details are represented only at the documented subsystem level.
Main entry points: app.js Web dashboard · dashboard_routes.py Dashboard API · user_polling.py Background polling · app.py Flask application
Components 20
Operator clients
- Web dashboard
static/app.js - Mobile companion
mobile/App.tsx
API and access
- Flask application
app.py - Dashboard API
routes/dashboard_routes.py - Authentication
services/auth.py - Tenant isolation
services/tenant.py - SQLite persistence
services/bootstrap.py
Telemetry and analytics
- Background polling
services/user_polling.py - Snapshot assembly
services/snapshot_assembly.py - Block probability
services/probability_engine.py
Fleet operations
- Fleet API
axe_fleet/routes.py - ASIC registry
axe_fleet/registry.py - Safety engine
core/safety/safety_engine.py - Alerts and automation
core/alerts/automation_engine.py
Mining services
- Hashrate market
services/hashrate_market.py - Rental analytics
services/rental_performance.py - AI operator
services/ai_operator.py
Other components
- Operator
- Mining pool APIs
- Bitcoin network data
Connections 20
- Operator → Web dashboard: uses
- Operator → Mobile companion: uses
- Web dashboard → Flask application: requests data
- Mobile companion → Flask application: calls API
- Flask application → Dashboard API: registers routes
app.py - Flask application → Background polling: runs workers
app.py - Dashboard API → Snapshot assembly: serves snapshots
- Background polling → Mining pool APIs: polls telemetry
- Background polling → Bitcoin network data: polls network data
- Background polling → Snapshot assembly: updates state
- Dashboard API → Block probability: serves estimates
- Web dashboard → Hashrate market: shows offers
- Web dashboard → Rental analytics: shows performance
- Fleet API → ASIC registry: manages devices
axe_fleet/routes.py - Fleet API → Safety engine: validates commands
axe_fleet/routes.py - Alerts and automation → Safety engine: checks actions
core/alerts/automation_engine.py - Web dashboard → Fleet API: controls fleet
- Dashboard API → SQLite persistence: reads history
routes/dashboard_routes.py - Authentication → Tenant isolation: supplies identity
services/tenant.py - AI operator → Web dashboard: streams assistance