twitchtv/twirp
View on GitHub ↗ ★ 7,526 Go
A simple RPC framework with protobuf service definitions
26 mentions on Hacker News by 22 people: 3 stories, 23 comments · first 2018-01-25 · latest 2025-12-01
20082026
-
That's what Twirp ( https://github.com/twitchtv/twirp ) is about. Protobuf or JSON, over any HTTP, with a simple URL schema. It's fairly simple.
comment by c-cube · 2025-12-01 · in Why I stopped using JSON for my APIs -
…UI / be accessible from the GitHub API. [0] https://github.com/actions/cache/discussions/1510 [1] https://github.com/twitchtv/twirp
comment by jacobwg · 2025-07-23 · in Reverse engineering the GHA cache to improve performance (2024) -
…the side effect of 2 (of having structured schema) is good enough. This was the idea behind twrip - https://github.com/twitchtv/twirp - not sure whether this is still actively used / maintained, but it's protobuf as json over HTTP.
comment by jeeyoungk · 2025-01-23 · in Understanding gRPC, OpenAPI and REST and when to use them in API design (2020) -
…that I like: - dRPC (by Storj): https://drpc.io (also compatible with gRPC) - Twirp (by Twitch): https://github.com/twitchtv/twirp (no gRPC compatibility)
comment by rochacon · 2024-12-17 · in Go Protobuf: The New Opaque API -
…lovely, we kind of hit a wall when using it internally because it doesn't have a streaming story: https://github.com/twitchtv/twirp/issues/3 If you don't need to stream data it is excellent.
comment by maxmcd · 2024-09-03 · in gRPC: 5 Years Later, Is It Still Worth It? -
…what you're expecting to deal with when at its core, it is still just HTTP. Something like Twirp ( https://github.com/twitchtv/twirp ) is so much better. Use existing transports and protocols, then everything else Just Works.
comment by jameskilton · 2024-09-03 · in gRPC: 5 Years Later, Is It Still Worth It? -
…choice - rest, grpc, soap, a socket. I honestly don't know why more people don't give twirp a shot. https://github.com/twitchtv/twirp
comment by gregors · 2024-07-17 · in Eight Years of GraphQL -
▲ 2
Twirp is a simple RPC framework built on protobufstory by mroche · 2024-06-19 · 0 comments
-
…Twirp before and it does that. It is a great middleground between gRPC and plain-HTTP services. :) https://github.com/twitchtv/twirp
comment by rochacon · 2024-05-17 · in Demystifying the protobuf wire format -
…Level 0.5 seems to be what twirp[1], which I have used and enjoyed, would also fall under. [1]: https://github.com/twitchtv/twirp
comment by stock_toaster · 2023-12-28 · in It's time to put REST to rest -
The next time I want to build an API, I will probably make use of https://github.com/twitchtv/twirp . I like working with Protobuf and having strongly-typed and well-defined messages, but gRPC is way, way too much. It's obviously a Google…
comment by jameskilton · 2023-12-26 · in I Reviewed 1,000s of Opinions on gRPC -
…(Twitch light version of gRPC, with optional JSON encoding, HTTP1 support and without streaming) - https://github.com/twitchtv/twirp - Connect - "Better gRPC" https://connect.build/docs/introduction/
comment by divan · 2023-04-29 · in A detailed comparison of REST and gRPC -
…good parts, protobufs and generated code, but its supports regular http, by no including streaming. https://github.com/twitchtv/twirp
comment by mcfedr · 2022-08-08 · in Why does gRPC insist on trailers? -
Take a look at Twirp ( https://github.com/twitchtv/twirp ) open sourced by TwitchTv. It's a lot lighter weight than gRPC. It does use Protobufs but addresses some of the concerns you mentioned, such as being able to test with JSON…
comment by agotterer · 2022-08-04 · in Connect-Web: TypeScript library for calling RPC servers from web browsers -
…but alas. It was the #3 issue opened on twirp repository, but they never settled on a solution. https://github.com/twitchtv/twirp/issues/3 One super underrated feature Connect offers for Go devs is access to the request/response headers.…
comment by mf192 · 2022-06-01 · in Connect: A Better gRPC -
…that helps for your use case. Twitch has open sourced their HTTP1 protobuff client/server library: https://github.com/twitchtv/twirp
comment by ItMayWorkTryIt · 2022-05-09 · in Ask HN: Is Heroku Being Sunset? -
Just be aware of the lack of streams: https://github.com/twitchtv/twirp/issues/3
comment by tommiegannert · 2022-04-05 · in Show HN: Pbkit – Protobuf toolkit written in Deno/TypeScript -
Have you seen: https://github.com/twitchtv/twirp
comment by T-J-L · 2022-03-12 · in How to Design Better APIs -
▲ 2
Twirp: A simple RPC framework with protobuf service definitionsstory by tosh · 2021-10-08 · 0 comments
-
…alternatives while keeping protobuf for serialization. Their development is Go focused though. [1] https://github.com/twitchtv/twirp [2] https://github.com/storj/drpc/
comment by PhilippGille · 2021-08-15 · in Cap'n Proto 0.9 -
…generators mainly for Go that also explicitly says it's simpler than gRPC is Twirp from Twitch: https://github.com/twitchtv/twirp I haven't used any of the two yet though so I can't comment on their differences.
comment by PhilippGille · 2021-04-28 · in DRPC: A battle-tested, drop-in replacement for gRPC in under 3kloc -
▲ 3
Twirp – A simple RPC framework with protobuf service definitionsstory by WinonaRyder · 2020-02-20 · 0 comments
-
…- Sentry - New Relic - gRPC and Twirp [2] - Netlify - Firebase [1] https://www.searchbx.com [2] https://github.com/twitchtv/twirp
comment by dahx4Eev · 2019-09-20 · in Ask HN: Companies of one, what is your tech stack? -
I prefer twirp's model of no http2 requirement and supports JSON. https://github.com/twitchtv/twirp I do think twirp code could be refactored and made a lot better though.
comment by pkieltyka · 2018-10-24 · in gRPC-Web is going GA -
…in that I can use the same Protobuf file to describe a Twirp or gRPC Service - it's great. [1]: https://github.com/twitchtv/twirp So what do you think would be a better step forward?
comment by asdkhadsj · 2018-10-24 · in gRPC-Web is going GA -
…gRPC to be a bit too heavyweight and complex. I'm pretty excited about twirp[1] right now. [1]: https://github.com/twitchtv/twirp
comment by stock_toaster · 2018-01-25 · in gRPC-Go Engineering Practices