head to head · open source
caddy vs gravity
caddy has 76,234 GitHub stars, 5,023 forks, 286 open issues and last shipped yesterday. gravity has 930 stars, 31 forks, 59 open issues and last shipped yesterday. caddy leads on adoption by 8,097% (76,234 vs 930 stars). caddy is written in Go under Apache-2.0; gravity is written in Go under GPL-3.0. caddy has attracted 7% as many forks as stars, gravity 3%. caddy 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
| caddy | gravity | |
|---|---|---|
| GitHub stars | ★ 76K | ★ 930 |
| License | Apache-2.0 | GPL-3.0 |
| Written in | Go | Go |
| Last push | 2026-10-02 | 2026-10-02 |
| Forks | ⑂ 5.0K | ⑂ 31 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick caddy if
- You weight community size — 76K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches Go
- You value the larger contributor base for long-term maintenance
pick gravity if
- You want the gravity feature set and don't need the biggest community
- You prefer the GPL-3.0 license terms
- Your stack matches Go
- You evaluated both and gravity fits your workflow better
About caddy
Caddy is a Go based, Apache 2.0 licensed HTTP/1.1, HTTP/2, and HTTP/3 web server and reverse proxy that obtains and renews TLS certificates automatically by default, built for operators and teams who want every site on HTTPS without maintaining a separate certificate workflow.
read the full caddy overview →
About gravity
Gravity is a fully replicated DNS, DHCP and TFTP server with ad blocking, written in Go and backed by etcd, for self hosters and network operators who want name and address services that stay consistent across a cluster.
read the full gravity overview →
More in Infrastructure & Operations
Related comparisons
More Networking & Connectivity projects
Compare either of these against the rest of the Networking & Connectivity field.
Frequently asked questions
Is caddy or gravity more popular?
caddy has 76,234 GitHub stars and gravity has 930. caddy has the larger community by that measure.
Are caddy and gravity free?
Both are open source. caddy is licensed under Apache-2.0 and gravity under GPL-3.0. Neither carries a licence fee.
What is the difference between caddy and gravity?
caddy is written in Go and gravity 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, caddy or gravity?
Choose caddy if you want the larger community (76,234 stars) or its Apache-2.0 licence terms. Choose gravity if its feature set, stack or GPL-3.0 licence fits better. Both are self-hostable.