How dev1-fonzz/nexoraf-local-1010 works
NEXoraF is a self-hosted ESP32 control console for hosted static sites, project databases, users, storage, backups, and optional GitHub/Vercel integrations. The principal workflow is an authenticated console request routed by firmware to domain managers, which validate and operate on SD-backed state before returning results. Import/export adds a review-and-confirm staging step; project deployment and token API access are distinct paths. The README documents the main capabilities, while several implementation links below are limited to that documentation because their source was not sampled.
Main entry points: main.cpp HTTP API router · ImportExportManager.cpp Import/export staging · IntegrationManager.cpp GitHub and Vercel · ApiV1.cpp Token REST API
Components 27
Console and API
- Web console
web/app.js - Console router
web/js/router.js - HTTP API router
firmware/src/main.cpp - Token REST API
firmware/src/ApiV1.cpp - Vercel relay
relay/api/v1.js - Relay client
relay/lib/relay.js
Identity and Access
- Sessions and RBAC
firmware/src/AuthManager.cpp - User accounts
firmware/src/UserManager.cpp
Projects and Data
- Project registry
firmware/src/ProjectManager.cpp - Website hosting
firmware/src/HostingManager.cpp - Project databases
firmware/src/DatabaseManager.cpp - Project tokens
firmware/src/TokenManager.cpp - Import/export staging
firmware/src/ImportExportManager.cpp - CSV parsing
firmware/src/CsvParser.cpp - ZIP reading
firmware/src/ZipReader.cpp - ZIP writing
firmware/src/ZipWriter.cpp
Operations and Storage
- Backups and restore
firmware/src/BackupManager.cpp - SD filesystem
firmware/src/FilesystemManager.cpp - Project quotas
firmware/include/QuotaLogic.h - Operations center
firmware/include/OperationLogic.h
Device and Integrations
- Network settings
firmware/src/NetworkManager.cpp - Hotspot clients
firmware/src/StationManager.cpp - Firmware updates
firmware/src/OtaManager.cpp - GitHub and Vercel
firmware/src/IntegrationManager.cpp
Other components
- Console user
- GitHub
- Vercel
Connections 31
- Console user → Web console: uses
- Web console → Console router: routes views
- Console router → HTTP API router: requests API
- HTTP API router → Sessions and RBAC: routes authentication
- Sessions and RBAC → User accounts: verifies credentials
- HTTP API router → User accounts: routes account requests
- HTTP API router → Project registry: routes project requests
- HTTP API router → Website hosting: serves hosted sites
- HTTP API router → Project databases: routes database requests
- HTTP API router → Project tokens: routes token requests
- Token REST API → Project databases: CRUDs records
- Token REST API → Project tokens: validates tokens
- Vercel relay → Relay client: delegates requests
relay/api/v1.js - Vercel relay → Token REST API: forwards API calls
- HTTP API router → Import/export staging: routes staged imports
- Import/export staging → CSV parsing: parses CSV
- Import/export staging → ZIP reading: reads archives
- Import/export staging → ZIP writing: writes archives
- HTTP API router → Backups and restore: routes backup actions
- HTTP API router → SD filesystem: routes file operations
firmware/src/main.cpp - Project registry → SD filesystem: uses SD storage
- Project databases → Project registry: checks project
- Backups and restore → SD filesystem: uses file tree
- HTTP API router → Project quotas: enforces limits
firmware/src/main.cpp - HTTP API router → Operations center: records operations
firmware/src/main.cpp - HTTP API router → Network settings: routes network settings
- HTTP API router → Hotspot clients: manages hotspot clients
- HTTP API router → Firmware updates: routes firmware updates
- HTTP API router → GitHub and Vercel: routes deployment integrations
- GitHub and Vercel → GitHub: calls API
firmware/src/IntegrationManager.cpp - GitHub and Vercel → Vercel: calls API
firmware/src/IntegrationManager.cpp