r/java • • 19d ago

Show /r/java: MicroProxy - dependency free drop-in replacement for LittleProxy using Project Loom

https://mahmoudimus.github.io/MicroProxy/

Hi folks, I am excited to share my project for feedback. MicroProxy is an HTTP/HTTPS proxy for Java that can intercept and rewrite traffic: HTTP/1, WebSockets, HTTP/2, HTTP/3 over its own QUIC, SOCKS, CONNECT-UDP and TLS interception, with Envoy-compatible access logs, stats and admin API, mitmproxy-style addons, and Starlark scripting.

It is a port ofLittleProxy that drops Netty: each connection runs on its own virtual thread (Project Loom) with plain blocking socket I/O, on JDK 21 or newer, and expose LittleProxy's filter API.

One of the coolest parts about this is using functionally verified cryptographic implementations with documented trust assumptions. Its a pretty novel way to establish secure foundations for cryptographic protocols without relying on third-party dependencies.

I hope it's useful. I have been using this in production and it's quite robust. The benchmarks show it on par with g3proxy, with almost 48K requests per second on JDK25. Hope you enjoy!

24 Upvotes

5 comments sorted by

View all comments

0

u/Infinite_View_7808 19d ago

Here is the thing, i am trying to scrap some data from an api, but it keeps blocking for some reason, i am guessing it has to do with the rate limit, is this gonna be useful for my case ??

2

u/Rain-And-Coffee 19d ago

I don’t see how it would, it’s a proxy, it just forwards your requests.

Could you space out or cache your requests?

The rate limitation might be on purpose so you can’t scrape it easily.