Understand any codebase in seconds. Paste a GitHub URL or open a local folder β an interactive architecture map in seconds.
A fast, light, and complete codebase-intelligence tool: no React/Babel/D3, 60fps Canvas rendering, single-tree GitHub fetching, and analysis in a Web Worker.
- Just open
index.htmlin your browser β no server, nonpm install - Or serve it:
npx serve .βhttp://localhost:3000 - Or use the CLI:
node cli.mjs . --json report.json
| Feature | Details |
|---|---|
| πΊοΈ Interactive map | Fast Canvas graph (thousands of files), pan / zoom / drag nodes |
| π₯ Blast radius | βIf I change this file, what breaks?β β answered instantly |
| π‘οΈ Security scanner | Exposed secrets, SQLi, eval/innerHTML, dev leftovers |
| π§© Patterns | singleton / factory / observer / react-hooks + god-object detection |
| π― Health grade AβF | Dead code, cycles, coupling, security |
| π Local + GitHub | File System API + drag & drop + fast Tree API |
| π English / Arabic | Full RTL toggle in one click |
| π₯ Export | JSON / Markdown / SVG |
| π₯οΈ CLI | Same analyzer for terminal & CI, zero dependencies |
- One tree request (
git/trees?recursive=1) instead of one request per file, then parallel raw fetches (8 concurrent). - No React/Babel in the browser β pure vanilla JS.
- Canvas instead of SVG/D3 β smooth with thousands of nodes.
- Single-pass analysis in a Worker (never blocks the UI) + O(n) edge indexing.
- Smart skipping:
node_modules/dist/build+ files over 2MB are listed, not parsed.
sideflow/
index.html β the UI (open it directly)
styles.css β dark flow theme
logo.svg β brand mark + favicon
app.js β fetching + rendering + interaction
analyzer.js β the core (browser + Worker + Node)
worker.js β off-main-thread analysis
cli.mjs β same analysis for terminal/CI
tests/ β node --test suite
node cli.mjs ./my-project --json report.json --md report.md --top 15
- 100% in-browser. A token (if provided) lives only in the tab's memory.
- Local analysis works fully offline.
PRs welcome. Run the tests with node --test tests/*.test.mjs.
MIT β Β© 2026 salim-slimani. Happy flowing! β