Settings

Theme

Show HN: Easy-to-Use gRPC-Web Proxy Built with Nix/Docker

github.com

1 points by mlenz 3 years ago · 0 comments · 1 min read

Reader

I work a lot with gRPC services and recently investigated the use in some of my JS apps. I found that gRPC-Web cannot directly communicate with regular gRPC services, requiring to set up some proxy (most likely envoy with its built-in filters).

In an effort to make setting up such a proxy easier, I created a ready-to-use Docker image based on envoy. Its parameters can be customized through the run instruction, making it possible to apply it to a wide variety of use cases. It support Intel and ARM-based machines natively.

The proxy is built entirely using nix, even the Docker image itself is created straight from nix expressions. The release process is automatic, meaning that every merged PR will automatically trigger a new release.

I hope to make using gRPC services from browsers easier with this small proxy. Please let me know about any feedback you might have regarding this project!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection