webrpc
jsonrpc-ts
webrpc | jsonrpc-ts | |
---|---|---|
7 | 1 | |
675 | 65 | |
1.8% | - | |
8.4 | 2.8 | |
10 days ago | 7 months ago | |
Go | TypeScript | |
MIT License | 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.
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
jsonrpc-ts
-
How to Design Better APIs
Active use is really irrelevant if you only plan on using it inside a company, because you can implement a client and server within 30 mins to an hour, no external tools needed. The spec is clear and readable. It's excellent. We use it with a TypeScript codebase and just share the interfaces for the services in a monorepo.
If you want a more advanced implementation with type inference for Typescript you can use this: https://github.com/shekohex/jsonrpc-ts
I'd still recommend implementing your own, my own implementation is based off the one above.
What are some alternatives?
grpc-web - gRPC for Web Clients
python-rapidjson - Python wrapper around rapidjson
grpc-over-webrtc - gRPC over WebRTC
typed-json-rpc - Simple, statically typed and ergonomic way to do async communications (events, workers, http requests) with json-rpc
hasura-cms - Automatically exposed GraphQL API via Hasura with schema + permissions for GraphCMS-like handling of content types
grpc-swift - The Swift language implementation of gRPC.
fish-history-ui - Fish shell history visualize Web UI.
graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
twirp - A simple RPC framework with protobuf service definitions
twirp-swagger-gen - A Twirp RPC Swagger/OpenAPI 2.0 generator
awesome-api-devtools - :books: A collection of useful resources for building RESTful HTTP+JSON APIs.