NPS vs River

A side-by-side comparison of two self-hosted reverse proxy & gateways options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureNPSRiver
CategoryReverse Proxy & GatewaysReverse Proxy & Gateways
LicenseGPL-3.0Apache-2.0
LanguageGoRust
Setup difficultyMediumMedium
Min. RAM64 MB64 MB
Deploymentdocker, binarybinary, source
GitHub stars★ 34,157★ 2,351
First released20192024
Replacesngroknginx, HAProxy

Why pick each one

Choose NPS if…

  • Released under the GPL-3.0 license
  • First-class Docker support for quick deployment
  • Mature project with 34.2k GitHub stars
  • Written in Go
NPS details

Choose River if…

  • Released under the Apache-2.0 license
  • Active community (2.4k GitHub stars)
  • Written in Rust
  • Tiny footprint — runs in 64 MB RAM
River details

Frequently asked questions

Is NPS or River better?

Neither is universally better. NPS has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.

Are NPS and River free and open-source?

Yes. NPS is licensed under GPL-3.0 and River under Apache-2.0. Both can be self-hosted at no software cost.

Can I run NPS and River with Docker?

NPS: yes. River: check the project docs for container support.

Related comparisons