oto
electron-trpc
oto | electron-trpc | |
---|---|---|
3 | 1 | |
723 | 208 | |
1.7% | - | |
5.7 | 4.5 | |
about 2 months ago | 6 days 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.
oto
- tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
-
Generating OpenAPI 3.0 specs from code - what's working for me...
For new projects, I can probably use https://github.com/pacedotdev/oto and stick with an RPC style, but I've got lots of REST services that include URL params and GET requests to document, hence writing this.
-
Generate types for TS
You should check out https://github.com/pacedotdev/oto.
electron-trpc
-
tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
Dropping in a tRPC use case that I've really got a lot of mileage out of: communication between the Electron main and renderer processes using https://github.com/jsonnull/electron-trpc. Traditional Electron IPC is hard to do type safely, which electron-trpc solves, and the react-query integration (meaning you get automatic type-safe hooks to issue the requests) is really nice.
What are some alternatives?
vellum-client-generator - Vellum’s Fern API which is used to generate SDKs.
telefunc - Remote Functions. Instead of API.
crosswalk - Typed express router for TypeScript
fern - 🌿 Stripe-level SDKs and Docs for your API
fern-java - Generate Java models, clients, and server interfaces from your API definition.
transmission-material-ui - Web Interface for Transmission using React and MUI.
zact - Nothing to see here
typescriptify-golang-structs - A Golang struct to TypeScript class/interface converter
create-t3-app - The best way to start a full-stack, typesafe Next.js app
ts-websocket-compressor - This library compresses data sent over a WebSocket connection to improve throughput on devices that can't use compression for one reason or another.