protobuf-es
webrpc
protobuf-es | webrpc | |
---|---|---|
7 | 7 | |
937 | 675 | |
2.8% | 1.8% | |
9.2 | 8.4 | |
3 days ago | 10 days ago | |
TypeScript | Go | |
Apache License 2.0 | MIT License |
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.
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
webrpc
- Bebop v3: a fast, modern replacement to Protocol Buffers
-
Go server + TypeScript client with end-to-end type safety?
Webrpc is what you're looking for: https://github.com/webrpc/webrpc
-
TypeScript type safety with GO
And addition to what was mentioned there are also webrpc and twirp.
-
Best SPA Typescript <-> Golang integration
webrpc
-
[Hiring] Remote Golang job: Senior Backend Engineer (Go) at Horizon (Toronto, Canada)
You will be joining the expert Go team at Horizon, previously who in our spare time + for fun, authored OSS projects like chi (https://github.com/go-chi/chi), upper/db (https://github.com/upper/db), webrpc (https://github.com/webrpc/webrpc), goware (https://github.com/goware), and much more. Our Go codebases are extremely clean and the patterns we've built have been shaped over 7 years of writing production Go systems and open source projects. These are the patterns which we apply to our infrastructure at Horizon in our products Skyweaver and Sequence.
- How to Design Better APIs
- REST vs. gRPC vs. GraphQL
What are some alternatives?
ts-proto - An idiomatic protobuf generator for TypeScript
grpc-web - gRPC for Web Clients
connect-go - Moved to https://github.com/connectrpc/connect-go
grpc-over-webrtc - gRPC over WebRTC
bloomrpc - Former GUI client for gRPC services. No longer maintained.
hasura-cms - Automatically exposed GraphQL API via Hasura with schema + permissions for GraphCMS-like handling of content types
protobuf-ts - Protobuf and RPC for TypeScript
jsonrpc-ts - Strongly 💪 Typed Fast and lightweight JSON RPC 2.0 Client for Nodejs
grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers
grpc-swift - The Swift language implementation of gRPC.
connect-es - The TypeScript implementation of Connect: Protobuf RPC that works.
fish-history-ui - Fish shell history visualize Web UI.