By ivanmkc
Render Mermaid diagrams as deterministic ASCII/Unicode directly in the terminal — no PNGs, no browser. Adds a skill and a /termchart command, backed by the termchart CLI.
Deterministic Mermaid → ASCII/Unicode diagrams in your terminal. No PNGs, no browser, no Mermaid handoff — just aligned text that pastes cleanly into PRs, issues, and chat.
Ships as two things that install together:
termchart) that renders Mermaid to text, andtermchart skill + /termchart:diagram command) that teaches
an agent to emit supported Mermaid and render it.Built on beautiful-mermaid — a
synchronous, no-DOM grid renderer, so the same input + flags always produce the
same bytes.
$ printf 'graph LR\n A[Client] --> B[API] --> C[(DB)]' | termchart
┌────────┐ ┌─────┐ ┌──────┐
│ Client ├────►│ API ├────►│ DB │
└────────┘ └─────┘ └──────┘
/plugin marketplace add ivanmkc/termchart
/plugin install termchart@termchart
On session start the plugin ensures the termchart CLI is on your PATH
(installing it via npm if missing).
npm i -g termchart
Requires Node 18+.
termchart [file] # render a Mermaid file, or stdin if omitted
termchart lint [file] # check source is within the renderable subset
termchart --version
Flags:
--ascii # pure ASCII (+,-,|) instead of Unicode box-drawing
--color <auto|none|16|256|truecolor> # default auto (color on a TTY, plain when piped)
--theme <name> # zinc-dark, tokyo-night, dracula, nord, github-dark, …
--padding-x <n> / --padding-y <n>
--fit # auto-compact spacing to fit terminal width (80 if piped)
--width <n> # fit within <n> columns (implies --fit)
--fit/--width shrink spacing to fit; they can't reflow an inherently wide
graph, so termchart warns and uses the tightest spacing when a target is
impossible (switch TD⇄LR, shorten labels, or use --ascii).
Exit codes: 0 ok · 1 lint/unsupported · 2 parse error · 3 bad usage.
flowchart · stateDiagram-v2 · sequenceDiagram · classDiagram · erDiagram · xychart-beta.
termchart lint warns about constructs the renderer drops (e.g. sequence
note/loop/alt/opt).
Point any agent's rules/skill file at the same CLI: have it write Mermaid in the
supported subset, run termchart lint, then termchart to render. See
plugin/skills/termchart/SKILL.md — it's
written to be agent-agnostic.
npm install # installs workspace deps
npm run build # tsc → packages/cli/dist
npm test # vitest (lint, render, golden snapshots, CLI smoke)
Design notes: docs/specs/2026-05-31-termchart-design.md.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub ivanmkc/termchart --plugin termchartComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.