grpcurl
protobuf-es
Our great sponsors
grpcurl | protobuf-es | |
---|---|---|
37 | 7 | |
10,086 | 927 | |
2.4% | 4.1% | |
7.1 | 9.2 | |
9 days ago | about 7 hours ago | |
Go | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
grpcurl
-
Roll your own auth with Rust and Protobuf
grpcurl
- Grpcurl: Like Curl, but for gRPC
-
Build and Deploy a gRPC-Web App Using Rust Tonic and React
The API server will be built and start running on port 50051. You can test the functionality using a gRPC client of your choice like grpcurl or Postman.
- download starlink stats
-
A detailed comparison of REST and gRPC
> What is the ubiquitous utility for interacting with gRPC? We have curl for REST. What is openAPI of gRPC?
grpcurl[1] combined with gRPC server reflection[2]. The schema is compiled into the server as an encoded proto which is exposed via server reflection, which grpcurl reads to send correctly encoded requests.
-
gRPC on the client side
The whole idea behind the post is that accessing the gRPC service with regular tools is impossible. To test, we need a dedicated tool nonetheless. I found grpcurl. Let's install it and use it to list available services:
-
RPC > REST
gRpcurl is a cool little tool to look at btw. Had to use it at my job before. Can call a gRPC via a curl like command. Regular curl doesn't support HTTP2. Had to use TLS with some tokens even. But you can reference a local .proto(gRPC protobuf file for the call) and make things easier for yourself if you hate reading instructions on command line args like I do.
- Show HN: ProtoCURL, a Curl for Protobuf
-
grpc-nvim: A simple GRPC client
A simple GRPC client built using grpcurl.
-
Traffic routing based on header value not working in gRPC service
Try testing with grpcurl, using the -H or -rpc-header flags to set the appropriate header.
protobuf-es
-
gut: convert golang structs to typescript interfaces
Yes, you can. You are mistaking protobuf with gRPC. See this for more information.
-
TypeScript type safety with GO
You can use this with connect: https://github.com/bufbuild/protobuf-es
-
Ask HN: Why isn't JSON-RPC more widely adopted?
Ah you should check out https://github.com/bufbuild/protobuf-es which feels great so far. Then there's connect by the same buf people but it has a grpc-web option https://connect.build/docs/web/getting-started/. The amount of code generated is also tiny, which I love.
-
Connect-Web: ergonomic Protobuf & gRPC for browsers
I'd recommend looking into protobuf-ts (Timo from Buf) or protobuf-es (Buf maintained).
-
Connect-Web: It's time for Protobuf/gRPC to be your first choice in the browser
Not sure if it is a magic bullet, but it was definitely written by TypeScript developers, for TypeScript developers.
The generated TypeScript code is already pretty minimal because all serialization ops are implemented with reflection instead of generated code (which is only marginally slower than generated code in JS).
But you can also switch to generating JavaScript + TypeScript declaration files, which is truly minimal: JavaScript is an entire dynamic language, so we actually only generated a small snippet of metadata in the .js output, and create a class at run time with a function call. The generated typings (.d.ts) give you type safety, autocompletion in the IDE, and so on.
You can see the output here: https://github.com/bufbuild/protobuf-es/blob/main/packages/p...
- Connect: A Better gRPC
What are some alternatives?
bloomrpc - Former GUI client for gRPC services. No longer maintained.
ts-proto - An idiomatic protobuf generator for TypeScript
grpc-over-webrtc - gRPC over WebRTC
connect-go - Moved to https://github.com/connectrpc/connect-go
grpc-web - gRPC for Web Clients
protobuf-ts - Protobuf and RPC for TypeScript
wrk - Modern HTTP benchmarking tool
grpcui - An interactive web UI for gRPC, along the lines of postman
connect-es - The TypeScript implementation of Connect: Protobuf RPC that works.
Hey - HTTP load generator, ApacheBench (ab) replacement
fetch - Fetch Standard