head to head · open source
frp vs gravity
frp has 109,718 GitHub stars, 15,232 forks, 48 open issues and last shipped 18 days ago. gravity has 930 stars, 31 forks, 59 open issues and last shipped yesterday. frp leads on adoption by 11,698% (109,718 vs 930 stars). frp is written in Go under Apache-2.0; gravity is written in Go under GPL-3.0. frp has attracted 14% as many forks as stars, gravity 3%. 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
| frp | gravity | |
|---|---|---|
| GitHub stars | ★ 110K | ★ 930 |
| License | Apache-2.0 | GPL-3.0 |
| Written in | Go | Go |
| Last push | 2026-09-15 | 2026-10-02 |
| Forks | ⑂ 15K | ⑂ 31 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick frp if
- You weight community size — 110K 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 frp
frp is a fast reverse proxy written in Go that exposes a local server behind a NAT or firewall to the internet, built for operators and developers who need inbound access to machines they cannot port forward.
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 frp or gravity more popular?
frp has 109,718 GitHub stars and gravity has 930. frp has the larger community by that measure.
Are frp and gravity free?
Both are open source. frp is licensed under Apache-2.0 and gravity under GPL-3.0. Neither carries a licence fee.
What is the difference between frp and gravity?
frp 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, frp or gravity?
Choose frp if you want the larger community (109,718 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.