Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(readme): media that actually renders on GitHub (#1197)
Raghav Chamadiya394a403c83e3
diff --git a/.github/assets/dashboard/architecture-page.mp4 b/.github/assets/dashboard/architecture-page.mp4deleted file mode 100644index 9f6143c22..000000000Binary files a/.github/assets/dashboard/architecture-page.mp4 and /dev/null differdiff --git a/.github/assets/dashboard/architecture-page.png b/.github/assets/dashboard/architecture-page.pngnew file mode 100644index 000000000..2a5951d7fBinary files /dev/null and b/.github/assets/dashboard/architecture-page.png differdiff --git a/.github/assets/dashboard/chat-page.mp4 b/.github/assets/dashboard/chat-page.mp4deleted file mode 100644index 0557e7b4c..000000000Binary files a/.github/assets/dashboard/chat-page.mp4 and /dev/null differdiff --git a/.github/assets/dashboard/chat-page.png b/.github/assets/dashboard/chat-page.pngnew file mode 100644index 000000000..7f010ba91Binary files /dev/null and b/.github/assets/dashboard/chat-page.png differdiff --git a/.github/assets/dashboard/code-health-map.png b/.github/assets/dashboard/code-health-map.pngnew file mode 100644index 000000000..20fc67c09Binary files /dev/null and b/.github/assets/dashboard/code-health-map.png differdiff --git a/.github/assets/dashboard/code-health.mp4 b/.github/assets/dashboard/code-health.mp4deleted file mode 100644index a11fc8ac6..000000000Binary files a/.github/assets/dashboard/code-health.mp4 and /dev/null differdiff --git a/.github/assets/dashboard/code-health.png b/.github/assets/dashboard/code-health.pngindex 7281f0650..6a2d7109b 100644Binary files a/.github/assets/dashboard/code-health.png and b/.github/assets/dashboard/code-health.png differdiff --git a/.github/assets/dashboard/docs-page.mp4 b/.github/assets/dashboard/docs-page.mp4deleted file mode 100644index 8f09f0592..000000000Binary files a/.github/assets/dashboard/docs-page.mp4 and /dev/null differdiff --git a/.github/assets/dashboard/docs-page.png b/.github/assets/dashboard/docs-page.pngnew file mode 100644index 000000000..23cc7c3dcBinary files /dev/null and b/.github/assets/dashboard/docs-page.png differdiff --git a/.github/assets/dashboard/docs.png b/.github/assets/dashboard/docs.pngdeleted file mode 100644index ae16252cd..000000000Binary files a/.github/assets/dashboard/docs.png and /dev/null differdiff --git a/.github/assets/dashboard/graph.png b/.github/assets/dashboard/graph.pngdeleted file mode 100644index eed5cd20f..000000000Binary files a/.github/assets/dashboard/graph.png and /dev/null differdiff --git a/.github/assets/demo.gif b/.github/assets/demo.gifnew file mode 100644index 000000000..e34ecd6baBinary files /dev/null and b/.github/assets/demo.gif differdiff --git a/.github/assets/demo.mp4 b/.github/assets/demo.mp4deleted file mode 100644index 40d1dd509..000000000Binary files a/.github/assets/demo.mp4 and /dev/null differdiff --git a/README.md b/README.mdindex 0d2dd5643..2f323fe8b 100644--- a/README.md+++ b/README.md@@ -75,7 +75,10 @@ and anything else that speaks MCP. Most tools are built around data entities (onfile, one symbol), which forces agents into long chains of sequential calls. These arebuilt around **tasks**: pass several targets in one call, get complete context back.-<video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/demo.mp4" alt="Claude Code querying the codebase through repowise's MCP tools" autoplay loop muted playsinline width="100%"></video>+<img src=".github/assets/demo.gif" alt="The repowise dashboard running locally on localhost:3000: health score, code health map, a break-cycle refactoring plan, the agent prompt it generates, change coupling, and the generated wiki" width="100%" />++<sub>The same index those tools read from, browsable at `localhost:3000`. Recorded on this+repository, no API key and nothing uploaded.</sub>Because the exploration work is already done, that phase mostly disappears. Loadingone commit's context through `get_context` costs **2,391 tokens instead of 64,039**@@ -231,12 +234,12 @@ setup, all local.<table><tr>-<td width="50%"><video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/dashboard/architecture-page.mp4" alt="Architecture view: the dependency graph laid out and explorable, with a context drawer per node" autoplay loop muted playsinline width="100%"></video><br/><sub><b>Architecture</b> · the dependency graph, laid out and explorable, with per-node context and change coupling</sub></td>-<td width="50%"><video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/dashboard/code-health.mp4" alt="Code health map: every file as a bubble, hover to inspect score, coverage and tests" autoplay loop muted playsinline width="100%"></video><br/><sub><b>Code Health</b> · every file as a bubble, hover any one to inspect its score, size, coverage and findings</sub></td>+<td width="50%"><img src=".github/assets/dashboard/architecture-page.png" alt="Architecture view: the dependency graph laid out and explorable, with a context drawer per node" width="100%" /><br/><sub><b>Architecture</b> · the dependency graph, laid out and explorable, with per-node context and change coupling</sub></td>+<td width="50%"><img src=".github/assets/dashboard/code-health-map.png" alt="Code health map: every file as a bubble, hover to inspect score, coverage and tests" width="100%" /><br/><sub><b>Code Health</b> · every file as a bubble, hover any one to inspect its score, size, coverage and findings</sub></td></tr><tr>-<td width="50%"><video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/dashboard/chat-page.mp4" alt="Chat view: ask questions against the indexed repo, with answers that cite the files and pages they came from" autoplay loop muted playsinline width="100%"></video><br/><sub><b>Chat</b> · ask the codebase a question, answers cite the files and pages they came from</sub></td>-<td width="50%"><video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/dashboard/docs-page.mp4" alt="Docs view: auto-generated wiki pages with a tree, mermaid diagrams, and freshness badges" autoplay loop muted playsinline width="100%"></video><br/><sub><b>Docs</b> · auto-generated wiki pages for the whole codebase, with confidence and freshness badges</sub></td>+<td width="50%"><img src=".github/assets/dashboard/chat-page.png" alt="Chat view: ask questions against the indexed repo, with answers that cite the files and pages they came from" width="100%" /><br/><sub><b>Chat</b> · ask the codebase a question, answers cite the files and pages they came from</sub></td>+<td width="50%"><img src=".github/assets/dashboard/docs-page.png" alt="Docs view: auto-generated wiki pages with a tree, mermaid diagrams, and freshness badges" width="100%" /><br/><sub><b>Docs</b> · auto-generated wiki pages for the whole codebase, with confidence and freshness badges</sub></td></tr></table>diff --git a/docs/start/DASHBOARD.md b/docs/start/DASHBOARD.mdindex a085c6056..bf975fb9f 100644--- a/docs/start/DASHBOARD.md+++ b/docs/start/DASHBOARD.md@@ -55,7 +55,7 @@ If a job is in flight, the progress and log stream here.**Answers:** how does this system work, in prose someone can read?-<video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/dashboard/docs-page.mp4" alt="Repowise docs reader: page tree on the left, generated wiki page with confidence and freshness badges in the center" autoplay loop muted playsinline width="100%"></video>+<img src="../../.github/assets/dashboard/docs-page.png" alt="Repowise docs reader: page tree on the left, generated wiki page with confidence and freshness badges in the center" width="100%" />The generated wiki: a page tree on the left, the rendered page in the middlewith mermaid diagrams, code blocks that link into the file views, a confidence@@ -117,7 +117,7 @@ regenerating everything.**Answers:** what talks to what?-<video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/dashboard/architecture-page.mp4" alt="Repowise dependency graph: ELK-laid-out module graph with a context drawer showing a selected node's dependents" autoplay loop muted playsinline width="100%"></video>+<img src="../../.github/assets/dashboard/architecture-page.png" alt="Repowise dependency graph: detected communities laid out on the module map, sized by how much code each holds" width="100%" />Five views behind `?view=`:@@ -149,7 +149,7 @@ zoomed on one node. The older `/c4` and `/zoom` URLs redirect here.**Answers:** which files are likely to break next, and why?-<img src="../../.github/assets/dashboard/code-health.png" alt="Repowise code health: health ring, band distribution, KPI cards and the lowest-scoring file list" width="100%" />+<img src="../../.github/assets/dashboard/code-health.png" alt="Repowise code health: the three co-equal pillars, the alert/warning/healthy band distribution, KPI cards and the code health map" width="100%" />Tabs behind `?tab=`:@@ -263,7 +263,7 @@ tried that" answer from being lost.`/repos/<id>/chat`-<video src="https://raw.githubusercontent.com/repowise-dev/repowise/main/.github/assets/dashboard/chat-page.mp4" alt="Repowise chat: a question answered against the index, with citations to the pages and files it came from and an artifacts panel" autoplay loop muted playsinline width="100%"></video>+<img src="../../.github/assets/dashboard/chat-page.png" alt="Repowise chat: a question answered against the index, with citations to the pages and files it came from and an artifacts panel" width="100%" />Ask questions against the indexed repo. Answers cite the pages and files theycame from, an artifacts panel collects code the answer produced, and you candiff --git a/scripts/gen_readme_hero.py b/scripts/gen_readme_hero.pyindex f6a3882e6..49baee0c2 100644--- a/scripts/gen_readme_hero.py+++ b/scripts/gen_readme_hero.py@@ -7,9 +7,14 @@ Colours come from the resolved tokens in docs/design/theme-tokens.md; keep the tin sync when those change. The README picks a variant with <picture> +prefers-color-scheme.-Companion recipe for the dashboard GIFs under .github/assets/dashboard/ (ffmpeg-only, no extra dependency). README media is kept under ~2MB per asset because the-repo has no git-lfs, so every byte is permanent clone weight:+The dashboard stills under .github/assets/dashboard/ are PNGs, not video: GitHub+strips <video> from rendered markdown unless the source is its own attachment+host, so an <img> is the only form that reliably renders. Same reason+.github/assets/demo.gif is a GIF rather than an mp4.++Companion recipe for that GIF (ffmpeg only, no extra dependency). README media is+kept under ~2MB per asset because the repo has no git-lfs, so every byte is+permanent clone weight:ffmpeg -i in.gif -vf "fps=11,scale=1100:-1:flags=lanczos,split[a][b]; [a]palettegen=max_colors=112[p];[b][p]paletteuse=dither=bayer:bayer_scale=3" -loop 0 out.gif"""