head to head · open source

Mermaid vs troika

Mermaid has 90,981 GitHub stars, 9,444 forks, 1,781 open issues and last shipped yesterday. troika has 1,985 stars, 161 forks, 92 open issues and last shipped yesterday. Mermaid leads on adoption by 4,483% (90,981 vs 1,985 stars). Mermaid is written in TypeScript under MIT; troika is written in JavaScript under MIT. Mermaid has attracted 10% as many forks as stars, troika 8%. Mermaid was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (javascript), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

Mermaid ★ 91K troika ★ 2.0K category Data & Analytics

← all 20902 open source comparisons

Side by side

Mermaid troika
GitHub stars ★ 91K ★ 2.0K
License MIT MIT
Written in TypeScript JavaScript
Last push 2026-11-02 2026-11-02
Forks ⑂ 9.4K ⑂ 161
Self-hosting Yes Yes
Data ownership Your server Your server

pick Mermaid if

  • You weight community size — 91K stars and counting
  • You want the MIT license terms
  • Your stack matches TypeScript
  • You value the larger contributor base for long-term maintenance

full Mermaid profile →

pick troika if

  • You want the troika feature set and don't need the biggest community
  • You prefer the MIT license terms
  • Your stack matches JavaScript
  • You evaluated both and troika fits your workflow better

full troika profile →

About Mermaid

Mermaid Generate diagrams from Markdown like text. Live Editor! 📖 Documentation 🚀 Getting Started 🌐 CDN 🙌 Join Us 简体中文 Try Live Editor previews of future releases: Develop Next :trophy: Mermaid was nominated and won the JS Open Source Awards (2019) in the category "The most exciting use of technology"!!! Thanks to all involved, people committing pull requests, people answering questions! 🙏 Table of content Expand contents About Examples Release Related projects Contributors Security and safe diagrams Reporting vulnerabilities Appreciation About Mermaid is a JavaScript based diagramming and charting tool…

read the full Mermaid overview →

About troika

Troika JS Troika is a collection of JavaScript tools for creating interactive graphics in the browser, with a focus on 3D/WebGL, and optimized for data visualization use cases. The provided tools fall into two main categories: The Troika Framework , a fully featured framework for managing entire scenes with rich interactivity and high performance, and A growing set of other tools for Three.js , that do not depend on that framework. The Troika project's main goal is to take aspects of developing interactive graphics that you almost always need, but are difficult to manage yourself, and make them as easy as…

read the full troika overview →

More in Data & Analytics

Related comparisons

More Business Intelligence & Reporting projects

Compare either of these against the rest of the Business Intelligence & Reporting field.

Frequently asked questions

Is Mermaid or troika more popular?

Mermaid has 90,981 GitHub stars and troika has 1,985. Mermaid has the larger community by that measure.

Are Mermaid and troika free?

Both are open source. Mermaid is licensed under MIT and troika under MIT. Neither carries a licence fee.

What is the difference between Mermaid and troika?

Mermaid is written in TypeScript and troika in JavaScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, Mermaid or troika?

Choose Mermaid if you want the larger community (90,981 stars) or its MIT licence terms. Choose troika if its feature set, stack or MIT licence fits better. Both are self-hostable.