Compare

opencode vs mermaid

opencode and mermaid share 3 technologies: dompurify, marked, and katex. Both are written in TypeScript.

Read it as markdown

What they share and what sets them apart

mermaid-js

mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

TypeScript91kRead on November 4, 2026, at commit 63333fdWhat is mermaid built with?

In common

Only in opencode

Only in mermaid

  • js-yaml
  • markdown-table
  • sharp
  • stylis
  • roughjs
  • D3
  • dagre-d3-es
  • cytoscape
  • cytoscape-cose-bilkent
  • cytoscape-fcose
  • elkjs
  • @braintree/sanitize-url
  • Ajv

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
opencode1,028,811 lines written3,839 code files
mermaid232,641 lines written670 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
opencode0.3% of its commits signed by AIWith Claude Code, GitHub Copilot, Cursor, and Jules
mermaid5.1% of its commits signed by AIWith Claude Code, Codex, Cursor, GitHub Copilot, and CodeRabbit
ActivityFrom GitHub and its history, on the day SeeRepo read it.
opencodeLast push November 4, 202621,835 commits224,454 stars
mermaidLast push November 4, 202611,988 commits91,011 stars
TestsThe files that test the code, and the share of code files a test imports.
opencode1,608 test files35.1% of its code files have a test that imports them
mermaid505 test files40.1% of its code files have a test that imports them

Frequently asked questions

Which is bigger, opencode or mermaid?
opencode, with 1,028,811 lines written; mermaid has 232,641.

The proof: anomalyco/opencode's code at commit ffe6fed

Which has more GitHub stars, opencode or mermaid?
opencode, with 224,454 stars; mermaid has 91,011.

The proof: anomalyco/opencode on GitHub

Which has more tests, opencode or mermaid?
opencode, with 1,608 test files; mermaid has 505.

The proof: anomalyco/opencode's code at commit ffe6fed

Which was updated more recently, opencode or mermaid?
Both got their last push on November 4, 2026.

The proof: mermaid-js/mermaid's commits on GitHub

Which has more commits signed by AI, opencode or mermaid?
mermaid: an AI signed 5.1% of its commits, with Claude Code, Codex, Cursor, GitHub Copilot, and CodeRabbit; in opencode, 0.3%.

The proof: the commits each tool signed in mermaid-js/mermaid

What is your repo built with?

Paste your public repo and see it drawn.

Free, no account.

Or look inside SeeRepo's own →