head to head · open source

Supabase vs d2

Supabase has 114,686 GitHub stars, 15,515 forks, 1,128 open issues and last shipped yesterday. d2 has 25,811 stars, 777 forks, 530 open issues and last shipped 1 months ago. Supabase leads on adoption by 344% (114,686 vs 25,811 stars). Supabase is written in TypeScript under Apache-2.0; d2 is written in Go under MPL-2.0. Supabase has attracted 14% 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.

Supabase ★ 115K d2 ★ 26K category Developer Tools

← all 20902 open source comparisons

Side by side

Supabase d2
GitHub stars ★ 115K ★ 26K
License Apache-2.0 MPL-2.0
Written in TypeScript Go
Last push 2026-11-09 2026-10-11
Forks ⑂ 16K ⑂ 777
Self-hosting Yes Yes
Data ownership Your server Your server

pick Supabase if

  • You weight community size — 115K 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

full Supabase profile →

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

full d2 profile →

About Supabase

Supabase Supabase is the Postgres development platform. We're building the features of Firebase using enterprise grade open source tools. [x] Hosted Postgres Database. Docs [x] Authentication and Authorization. Docs [x] Auto generated APIs. [x] REST. Docs [x] GraphQL. Docs [x] Realtime subscriptions. Docs [x] Functions. [x] Database Functions. Docs [x] Edge Functions Docs [x] File Storage. Docs [x] AI + Vector/Embeddings Toolkit. Docs [x] Dashboard Watch "releases" of this repo to get notified of major updates. Documentation For full documentation, visit supabase.com/docs To see how to Contribute, visit Getting…

read the full Supabase overview →

About d2

A modern diagram scripting language that turns text to diagrams. Docs Cheat sheet Comparisons Playground Table of Contents What does D2 look like? Quickstart Install D2 as a library Themes Fonts Export file types Language tooling Layout engines Comparison Contributing License Related Official plugins Community plugins Misc FAQ Notable open source projects documenting with D2 What does D2 look like? Open in playground For more examples, see ./docs/examples. Quickstart The most convenient way to use D2 is to just run it as a CLI executable to produce SVGs from .d2 files. A browser window will open with out.svg and…

read the full d2 overview →

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 114,686 GitHub stars and d2 has 25,811. 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 (114,686 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.