head to head · open source
Supabase vs d2
Supabase has 110,750 GitHub stars, 14,784 forks, 1,128 open issues and last shipped today. d2 has 25,506 stars, 752 forks, 530 open issues and last shipped 5 days ago. Supabase leads on adoption by 334% (110,750 vs 25,506 stars). Supabase is written in TypeScript under Apache-2.0; d2 is written in Go under MPL-2.0. Supabase has attracted 13% as many forks as stars, d2 3%. Supabase 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
| Supabase | d2 | |
|---|---|---|
| GitHub stars | ★ 111K | ★ 26K |
| License | Apache-2.0 | MPL-2.0 |
| Written in | TypeScript | Go |
| Last push | 2026-09-25 | 2026-09-20 |
| Forks | ⑂ 15K | ⑂ 752 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick Supabase if
- You weight community size — 111K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches TypeScript
- You value the larger contributor base for long-term maintenance
pick d2 if
- You want the d2 feature set and don't need the biggest community
- You prefer the MPL-2.0 license terms
- Your stack matches Go
- You evaluated both and d2 fits your workflow better
About Supabase
Supabase is an open source, Apache 2.0 licensed Postgres development platform that bundles a dedicated Postgres database with authentication, auto generated APIs, realtime subscriptions, file storage, and edge functions for developers building web, mobile, and AI applications.
read the full Supabase overview →
About d2
D2 is a modern diagram scripting language, written in Go and released under the MPL 2.0 licence, that turns plain text .d2 files into rendered diagrams such as SVGs, aimed at developers and teams who want their architecture and system diagrams kept as reviewable source rather than as opaque image files.
More in Developer Tools
Related comparisons
More Frameworks & Platforms projects
Compare either of these against the rest of the Frameworks & Platforms field.
Frequently asked questions
Is Supabase or d2 more popular?
Supabase has 110,750 GitHub stars and d2 has 25,506. Supabase has the larger community by that measure.
Are Supabase and d2 free?
Both are open source. Supabase is licensed under Apache-2.0 and d2 under MPL-2.0. Neither carries a licence fee.
What is the difference between Supabase and d2?
Supabase is written in TypeScript and d2 in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, Supabase or d2?
Choose Supabase if you want the larger community (110,750 stars) or its Apache-2.0 licence terms. Choose d2 if its feature set, stack or MPL-2.0 licence fits better. Both are self-hostable.