head to head · open source
Mermaid vs F2
Mermaid has 90,981 GitHub stars, 9,444 forks, 1,781 open issues and last shipped yesterday. F2 has 7,995 stars, 637 forks, 303 open issues and last shipped 6 months ago. Mermaid leads on adoption by 1,038% (90,981 vs 7,995 stars). Mermaid is written in TypeScript under MIT; F2 is written in JavaScript under MIT. Mermaid has attracted 10% as many forks as stars, F2 8%. Mermaid was the more recently maintained of the two, and both are self-hostable with no licence fee.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| Mermaid | F2 | |
|---|---|---|
| GitHub stars | ★ 91K | ★ 8.0K |
| License | MIT | MIT |
| Written in | TypeScript | JavaScript |
| Last push | 2026-11-02 | 2026-05-19 |
| Forks | ⑂ 9.4K | ⑂ 637 |
| 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
pick F2 if
- You want the F2 feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches JavaScript
- You evaluated both and F2 fits your workflow better
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 F2
F2,一个专注于移动,开箱即用的可视化解决方案,完美支持 H5 环境同时兼容多种环境(node, 小程序,weex)。完备的图形语法理论,满足你的各种可视化需求。专业的移动设计指引为你带来最佳的移动端图表体验。英文 README 在此衷心感谢《The Grammar of Graphics》的作者 Leland Wilkinson,为 F2 的图形语法提供了理论基础! 安装 特性 专注移动,体验优雅 轻量化呈现,自然反馈 :在设计上我们以人为本,追求自然简单易懂,有吸引力的表达效果,让用户在碎片化的时间里更快更高效得获取图表信息。同时在可视化的操作我们追求内容和操作有机融合,符合人的自然行为反应,让交互操作更自然。 轻巧流畅 :F2 一直致力于追求极致的性能,针对移动设备做了大量的优化,在支持丰富(50+)图表的基础上同时保持代码量的小巧(不带交互版本 gzip 压缩后 44k,带所有交互版本 56k),同时提供模块化的设计以支持动态加载,提供更优的大小。 多端异构 :在完美支持 H5 环境的同时,同时兼容 Node.js,支付宝小程序、微信小程序、React Native以及 Weex 端的渲染,一份代码,多设备多环境渲染。 图表丰富,组件完备 与传统的图表库不同,抛弃了特图特做的封装思路,基于强大的图形语法理论,以数据驱动,通过图形语法的组合灵活构建各类图表,目前可绘制 50+…
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 F2 more popular?
Mermaid has 90,981 GitHub stars and F2 has 7,995. Mermaid has the larger community by that measure.
Are Mermaid and F2 free?
Both are open source. Mermaid is licensed under MIT and F2 under MIT. Neither carries a licence fee.
What is the difference between Mermaid and F2?
Mermaid is written in TypeScript and F2 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 F2?
Choose Mermaid if you want the larger community (90,981 stars) or its MIT licence terms. Choose F2 if its feature set, stack or MIT licence fits better. Both are self-hostable.