head to head · open source
caddy vs gravity
caddy has 79,109 GitHub stars, 5,274 forks, 286 open issues and last shipped 4 days ago. gravity has 933 stars, 33 forks, 59 open issues and last shipped yesterday. caddy leads on adoption by 8,379% (79,109 vs 933 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 4%. gravity 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 | ★ 79K | ★ 933 |
| License | Apache-2.0 | GPL-3.0 |
| Written in | Go | Go |
| Last push | 2026-11-14 | 2026-11-17 |
| Forks | ⑂ 5.3K | ⑂ 33 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick caddy if
- You weight community size — 79K 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
a project Every site on HTTPS Caddy is an extensible server platform that uses TLS by default. Releases · Documentation · Get Help Powered by Special thanks to: Warp, built for coding with multiple AI agents Available for MacOS, Linux, & Windows Menu Features Install Build from source For development With version information and/or plugins Quick start Overview Full documentation Getting help About Features Easy configuration with the Caddyfile Powerful configuration with its native JSON config Dynamic configuration with the JSON API Config adapters if you don't like JSON Automatic HTTPS by default ZeroSSL and…
read the full caddy overview →
About gravity
Fully replicated DNS, DHCP and TFTP Server backed by etcd. Screenshots See gravity.beryju.io for more info.
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 79,109 GitHub stars and gravity has 933. 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 (79,109 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.