A modular laboratory environment for React experiments featuring a mechanical terminal-inspired UI.
- Frontend: React 19, Vite, React Router, Tailwind CSS v4 (using the
@tailwindcss/viteplugin). - Backend: Python FastAPI server providing system telemetry and project-wide filesystem statistics.
- Dashboard: Central command with live backend data connection status and terminal logs.
- Project Information: Real-time filesystem metrics (total files, size, largest files) scanned via a custom Python utility (
project_stats.py). It calculates metrics like average file size, directory depth, and file type distribution while ignoring heavy directories likenode_modulesand.git. - System Clock: High-performance live clock using
Intl.DateTimeFormat. - UI Components: Custom "Laboratory Panel" layout, "Mechanical" buttons, and an orange/green safety-themed terminal aesthetic.
The project uses a specific set of theme tokens defined in src/index.css:
- Safety Orange:
--color-accent-primary(#f59e0b) - Used for primary actions and highlights. - Isotope Green:
--color-accent-secondary(#10b981) - Used for success states and secondary accents. - Backgrounds:
--color-bg-main(#12141a) and--color-bg-panel(#1a1d26). - Typography: Monochrome/Mono-spaced font stack for that terminal feel.
- Node.js (Latest LTS)
- Python 3.10+
-
Install Frontend dependencies:
npm install
-
Install Backend dependencies:
pip install -r backend/requirements.txt
-
Start the Vite dev server:
npm run dev
-
Start the FastAPI backend:
python backend/main.py