Skip to content

docs(readme): iconic, professional README with visuals + Chinese docs - #15

Merged
taylor009 merged 3 commits into
taylor009:mainfrom
muqsitnawaz:readme-glowup
Jul 17, 2026
Merged

docs(readme): iconic, professional README with visuals + Chinese docs#15
taylor009 merged 3 commits into
taylor009:mainfrom
muqsitnawaz:readme-glowup

Conversation

@muqsitnawaz

Copy link
Copy Markdown
Contributor

Reworks the top-level README into a modern, visual landing page and adds a Simplified Chinese translation — the kind of README trending repos ship.

What changed (docs + assets only, no code)

  • Hero banner + diagrams — three hand-authored inline SVGs: a hero wordmark, an architecture diagram (scan → graph → cgraph / graphd+client / cgraph-mcp), and a before/after performance chart.
  • Lead value-add section — "Why CGraph?" up top: reverse-dependency / blast-radius, navigate-by-graph-not-grep, architecture-at-a-glance, deterministic + fast, built-for-agents — with the one-line pitch.
  • Real output visual — the actual graph.html viewer on a 10,708-node / 28,945-edge codebase.
  • Performance, charted — the viewer's 35 s → 0 ms layout win and 20–34× cheaper repaints (pairs with the layout + culling PRs).
  • Language logos — brand-badge row for all 13 tree-sitter languages.
  • BilingualREADME.mdREADME.zh-CN.md with a language switcher; standard badges (license, C++20, CMake, MCP, PRs).
  • Preserves the full install recipe (now collapsible) and the MCP tools + registration reference.

Preview

Rendered locally (badges + SVGs resolve on GitHub):

Hero + value-add + architecture + the real graph + perf chart + language badges, all in one scroll. Assets are self-contained SVG/PNG under assets/.

Doc-only; nothing in the build or engine changes.

Rework the top-level README into a modern, visual landing page and add a
Simplified Chinese translation.

- Hand-authored inline SVGs: hero banner, architecture diagram, and a
  before/after performance chart (35s -> 0ms layout, 20-34x cheaper repaints).
- A real graph.html render (10,708 nodes / 28,945 edges) as the 'what it
  produces' visual.
- A lead 'Why CGraph?' value-add section: reverse-dependency/blast-radius,
  navigate-by-graph-not-grep, architecture-at-a-glance, deterministic + fast,
  built-for-agents.
- Language support shown as brand-logo badges (C/C++/Go/Groovy/Java/JS/Kotlin/
  Python/Ruby/Scala/TS/TSX).
- README.md <-> README.zh-CN.md language switcher; badges (license, C++20,
  CMake, MCP, PRs).
- Preserves the full install recipe (collapsible) and the MCP tools/registration
  reference.

No code changes; docs + assets only.
Address review: the first pass dropped substantive reference content. Restore
every original section and add a clickable table of contents so readers can jump
to a specific section:

- Restored: Repository layout, Output formats, Codex CLI + Cursor/Windsurf
  registration, CLI, Daemon & thin client, MCP server, Host integrations,
  Semantic enrichment, Development notes, full Prerequisites.
- Added a Contents nav bar (anchor links) at the top of both languages.
- Kept the visual additions (hero, architecture + performance SVGs, real graph
  render, language logo badges) and full English/Chinese parity.

No information removed vs the original README; only reorganized + illustrated.
Keep the visual top prominent and scannable; tuck the heavy reference
(full build recipe, per-agent registration, CLI/daemon/MCP, host
integrations + enrichment) into <details> blocks. No content removed —
everything is one click away, and the TOC still links each group.
@muqsitnawaz

Copy link
Copy Markdown
Contributor Author

Rendered preview

Here's the new README as it renders (collapsibles closed, the way GitHub shows them by default) — the visual top stays scannable, and the dense reference (build recipe, per-agent registration, CLI/daemon/MCP, host integrations + enrichment) is one click away inside <details>:

README preview

Hero → Why CGraph? value table → Architecture diagram → the real 10,708-node graph → 35s→0ms performance chart → language logo badges → quick start, then folded reference. Bilingual (README.mdREADME.zh-CN.md) with a clickable Contents bar. No original content removed — only reorganized, illustrated, and made collapsible.

@taylor009
taylor009 merged commit ba022b2 into taylor009:main Jul 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants