head to head · open source

postgrest vs martin

postgrest has 27,674 GitHub stars, 1,227 forks, 400 open issues and last shipped yesterday. martin has 3,929 stars, 391 forks, 52 open issues and last shipped today. postgrest leads on adoption by 604% (27,674 vs 3,929 stars). postgrest is written in Haskell under MIT; martin is written in Rust under Apache-2.0. postgrest has attracted 4% as many forks as stars, martin 10%. martin was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (postgresql), 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.

postgrest ★ 28K martin ★ 3.9K category Infrastructure & Operations

← all 20902 open source comparisons

Side by side

postgrest martin
GitHub stars ★ 28K ★ 3.9K
License MIT Apache-2.0
Written in Haskell Rust
Last push 2026-09-19 2026-09-20
Forks ⑂ 1.2K ⑂ 391
Self-hosting Yes Yes
Data ownership Your server Your server

pick postgrest if

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

full postgrest profile →

pick martin if

  • You want the martin feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches Rust
  • You evaluated both and martin fits your workflow better

full martin profile →

About postgrest

PostgREST is a Haskell written server that serves a fully RESTful API from any existing PostgreSQL database, and it is aimed at developers, database administrators, and operators who want a standards compliant HTTP API without writing and maintaining one from scratch.

read the full postgrest overview →

About martin

Martin is a Rust based tile server and toolkit from the MapLibre project that generates vector tiles on the fly from PostgreSQL/PostGIS databases and GeoJSON files, serves tiles from PMTiles, MBTiles and GeoParquet sources, and ships command line tooling for bulk tile generation and MBTiles maintenance, aimed at teams that self host map tiles under heavy traffic.

read the full martin overview →

More in Infrastructure & Operations

kubernetes ★ 128K Immich ★ 115K frp ★ 110K Uptime Kuma ★ 92K worldmonitor ★ 87K mall ★ 85K

Related comparisons

supabase vs postgrest supabase vs nocodb mall vs prometheus mall vs nocodb mall vs etcd mall vs dbeaver mall vs orm prometheus vs nocodb n8n vs huginn uptime-kuma vs worldmonitor uptime-kuma vs netdata uptime-kuma vs grafana worldmonitor vs netdata worldmonitor vs grafana uptime-kuma vs prometheus netdata vs grafana n8n vs kestra langchain vs haystack kubernetes vs rancher ansible vs compose ansible vs conductor ansible vs xxl-job ansible vs gitleaks ansible vs kestra

More Databases projects

Compare either of these against the rest of the Databases field.

postgrest vs mall postgrest vs Prometheus postgrest vs NocoDB postgrest vs etcd postgrest vs DBeaver postgrest vs orm postgrest vs Milvus postgrest vs TiDB postgrest vs drawDB postgrest vs typeorm postgrest vs AnotherRedisDesktopManager postgrest vs Qdrant

Frequently asked questions

Is postgrest or martin more popular?

postgrest has 27,674 GitHub stars and martin has 3,929. postgrest has the larger community by that measure.

Are postgrest and martin free?

Both are open source. postgrest is licensed under MIT and martin under Apache-2.0. Neither carries a licence fee.

What is the difference between postgrest and martin?

postgrest is written in Haskell and martin in Rust. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, postgrest or martin?

Choose postgrest if you want the larger community (27,674 stars) or its MIT licence terms. Choose martin if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.