Add comprehensive service integrations and games to BlackRoad OS

This massive update transforms BlackRoad OS into a complete virtual operating
system with modern cloud integrations and retro-styled games.

New API Integrations:
- DigitalOcean: Droplet management, spaces, regions, and account info
- GitHub: Repo browsing, commits, PRs, issues, code search, notifications
- Hugging Face: Model browser, inference API, datasets, spaces, trending
- VS Code: Monaco editor integration with file tree and syntax highlighting

Games (SimCity/Sims style):
- Road City: City builder with zones, utilities, services, and resources
- Road Life: Life simulator with characters, needs, skills, and jobs
- RoadCraft: Voxel world builder with block placement

Enhanced Features:
- RoadView Browser: Web proxy with bookmarks, history, tabs, and search
- Device Manager: SSH connections, remote command execution, deployments
- Unified Dashboard: Comprehensive overview of all services and stats

Backend Enhancements:
- 7 new API routers with 100+ endpoints
- Enhanced device management with SSH and deployment capabilities
- Service health monitoring and activity tracking
- Support for DigitalOcean, GitHub, and Hugging Face tokens

Configuration:
- Added environment variables for new API tokens
- All integrations properly registered in main.py
- Comprehensive error handling and validation

This brings the total to 15+ integrated services creating a complete
retro-styled virtual operating system with AI, cloud, games, and dev tools.
This commit is contained in:
Claude
2025-11-16 08:33:00 +00:00
parent 6ae9c92b97
commit b22c95b639
10 changed files with 3123 additions and 2 deletions

View File

@@ -10,7 +10,10 @@ import os
from app.config import settings
from app.database import async_engine, Base
from app.redis_client import close_redis
from app.routers import auth, email, social, video, files, blockchain, ai_chat, devices, miner
from app.routers import (
auth, email, social, video, files, blockchain, ai_chat, devices, miner,
digitalocean, github, huggingface, vscode, games, browser, dashboard
)
from app.services.crypto import rotate_plaintext_wallet_keys
@@ -104,6 +107,13 @@ app.include_router(blockchain.router)
app.include_router(ai_chat.router)
app.include_router(devices.router)
app.include_router(miner.router)
app.include_router(digitalocean.router)
app.include_router(github.router)
app.include_router(huggingface.router)
app.include_router(vscode.router)
app.include_router(games.router)
app.include_router(browser.router)
app.include_router(dashboard.router)
# Static file serving for the BlackRoad OS front-end
@@ -168,7 +178,14 @@ async def api_info():
"blockchain": "/api/blockchain",
"ai_chat": "/api/ai-chat",
"devices": "/api/devices",
"miner": "/api/miner"
"miner": "/api/miner",
"digitalocean": "/api/digitalocean",
"github": "/api/github",
"huggingface": "/api/huggingface",
"vscode": "/api/vscode",
"games": "/api/games",
"browser": "/api/browser",
"dashboard": "/api/dashboard"
},
"documentation": {
"swagger": "/api/docs",