A CLI + dashboard that analyzes any project, auto-fixes inefficiencies using AI, and proves it with real benchmarks. Built for the Hack Club Optimization Sidequest.
Single-file dark UI — treemap (Canvas), benchmark charts (Chart.js), live memory timeline, SSE progress.
UI
06
Backend API
Pure Node.js http — /api/analyze, /api/memory, /api/optimize (SSE stream), /api/report.
API
07
AI Auto-Fix Engine
Claude API reads files, returns optimized versions + JSON stats comment. Saves to /dist/ai-fixed/.
CLAUDE API
08
Benchmark + Badge
100× timing runs with worker_threads. SVG badge generator with letter grade. Auto README inject.
METRICS
09
Demo Script
bloat.sh creates 912KB mess. Full pipeline runs. ASCII art summary: F → A+ in 0.4s.
DEMO
Killer README Section
It optimizes itself.
Run optidash self-optimize to bundle the entire CLI into a single 12KB binary using esbuild. The tool eats its own cooking — proving every claim it makes.