# CLAUDE.md - BlackRoad OS Codebase Guide ## Project Overview BlackRoad OS is an AI-powered operating system platform serving a static frontend via GitHub Pages at **blackroad.io** with a FastAPI backend. The project combines a web dashboard for managing 30,000 AI agents, a blockchain explorer (RoadChain), crypto wallet integrations, payment processing (Stripe), and the "Lucidia" AI consciousness framework. **Repository:** `blackboxprogramming/blackroad.io` **License:** MIT **Domain:** blackroad.io (served via GitHub Pages + CNAME) **Note:** Active development has moved to the [BlackRoad-OS](https://github.com/BlackRoad-OS) organization. This repo (`blackboxprogramming/blackroad.io`) is legacy but still hosts the live site. ## Architecture ### Frontend (Static HTML/JS - GitHub Pages) The frontend is a collection of standalone HTML pages with inline CSS and vanilla JavaScript. There is no build step, bundler, or framework — files are served directly by GitHub Pages. - **API Client:** `blackroad-api.js` — singleton `BlackRoadAPI` class exposed as `window.blackroad`. Handles auth tokens (JWT in localStorage), all API calls, and UI helpers. - **Navigation:** `blackroad-nav.js` — shared nav component injected via `blackroadNav.inject()` into any page with a `
`. - **Shared CSS:** `style.css` — legacy shared styles (light theme, cards). Most newer pages use inline `