Developer builds zero-dependency reverse proxy in a single binary using Bun for hackathon
A developer created zeroproxy, a single-binary tool that replaces 16 npm packages with zero external dependencies, built as an entry for the Zero Dependency Hackathon. The project runs on Bun 1.4 and handles four core functions: reverse proxying, HTTP routing, static file serving, and WebSocket tunneling. It uses native Bun and web-platform APIs such as URLPattern and CompressionStream instead of third-party libraries. The codebase is structured around pure functions and a single event loop, with features including weighted load balancing, live config reload, TLS support, and graceful shutdown. The project is open source and includes a built-in load test, demo environment, and 100 automated tests across nine files.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in