
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
github.com/twitchtv/twirp
Twirp is a framework for service-to-service communication emphasizing simplicity and minimalism. It generates routing and serialization from API definition files and lets you focus on your application's logic instead of thinking about folderol like HTTP methods and paths and JSON.
Twirp is similar to gRPC, but without the custom
HTTP server and transport implementations: it runs on the standard library's
extremely-well-tested-and-high-performance net/http
Server. It can run on HTTP
1.1, not just http/2, and supports JSON serialization for easy debugging.
Along the way, you get autogenerated clients and a simple, smart framework for passing error messages. Nice!
Read more about the motivation behind on the announcement blog post.
This repo contains the generator and runtime library for the Go implementation.
Here is a list of some third-party implementations in other languages.
Language | Clients | Servers | Repository |
---|---|---|---|
Python3 | ✓ | ✓ | github.com/verloop/twirpy |
Java | ✓ | ✓ | github.com/fajran/protoc-gen-twirp_java_jaxrs |
Java | ✓ | github.com/devork/flit | |
JavaScript | ✓ | github.com/thechriswalker/protoc-gen-twirp_js | |
JavaScript | ✓ | github.com/Xe/twirp-codegens/cmd/protoc-gen-twirp_jsbrowser | |
JavaScript | ✓ | ✓ | github.com/tatethurston/TwirpScript |
Typescript | ✓ | ✓ | github.com/hopin-team/twirp-ts |
Typescript | ✓ | github.com/larrymyers/protoc-gen-twirp_typescript | |
Typescript | ✓ | ✓ | github.com/tatethurston/TwirpScript |
Typescript | ✓ | ✓ | github.com/timostamm/protobuf-ts |
Ruby | ✓ | ✓ | github.com/twitchtv/twirp-ruby |
Rust | ✓ | ✓ | github.com/cretz/prost-twirp |
Scala | ✓ | ✓ | github.com/soundcloud/twinagle |
Swagger | ✓ | ✓ | github.com/go-bridget/twirp-swagger-gen |
PHP | ✓ | ✓ | github.com/twirphp/twirp |
Dart | ✓ | github.com/apptreesoftware/protoc-gen-twirp_dart | |
Elixir | ✓ | ✓ | github.com/keathley/twirp-elixir |
Swift | ✓ | github.com/CrazyHulk/protoc-gen-swiftwirp | |
Crystal | ✓ | ✓ | github.com/mloughran/twirp.cr |
We have a channel on the Gophers slack, #twirp, which is the best place to get quick answers to your questions. You can join the Gopher slack here.
Twirp follows semantic versioning through git tags, and uses Github Releases for release notes and upgrade guides: Twirp Releases
Check out CONTRIBUTING.md for notes on making contributions.
This library is licensed under the Apache 2.0 License.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.