mitmproxy 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?
FeaturemitmproxyRiver
CategoryReverse Proxy & GatewaysReverse Proxy & Gateways
LicenseMITApache-2.0
LanguagePythonRust
Setup difficultyEasyMedium
Min. RAM256 MB64 MB
Deploymentdocker, binary, sourcebinary, source
GitHub stars★ 44,605★ 2,351
First released20102024
ReplacesCharles Proxy, Fiddlernginx, HAProxy

Why pick each one

Choose mitmproxy if…

  • Powerful for debugging
  • Highly scriptable
mitmproxy 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 mitmproxy or River better?

mitmproxy is the stronger all-round pick: it has both the larger community and the simpler easy setup. Consider River if its specific feature set fits your needs better.

Are mitmproxy and River free and open-source?

Yes. mitmproxy is licensed under MIT and River under Apache-2.0. Both can be self-hosted at no software cost.

Can I run mitmproxy and River with Docker?

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

Related comparisons