Giter Site home page Giter Site logo

dumpmemory / twirp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twitchtv/twirp

0.0 0.0 0.0 3.8 MB

A simple RPC framework with protobuf service definitions

Home Page: https://twitchtv.github.io/twirp/docs/intro.html

License: Apache License 2.0

Makefile 0.05% Go 99.20% Shell 0.16% JavaScript 0.56% CSS 0.03%

twirp's Introduction

Twirp Logo Build Status Go Report Card GoDoc


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.

Documentation

Implementations in other languages

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
Crystal github.com/mloughran/twirp.cr
Dart github.com/apptreesoftware/protoc-gen-twirp_dart
Elixir github.com/keathley/twirp-elixir
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
Kotlin github.com/collectiveidea/twirp-kmm
PHP github.com/twirphp/twirp
Python3 github.com/verloop/twirpy
Ruby github.com/twitchtv/twirp-ruby
Rust github.com/sourcefrog/prost-twirp
Scala github.com/soundcloud/twinagle
Swagger github.com/go-bridget/twirp-swagger-gen
Swift github.com/CrazyHulk/protoc-gen-swiftwirp
Typescript github.com/hopin-team/twirp-ts
Typescript github.com/tatethurston/TwirpScript
Typescript github.com/timostamm/protobuf-ts

Support and Community

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.

Releases

Twirp follows semantic versioning through git tags, and uses Github Releases for release notes and upgrade guides: Twirp Releases

Contributing

Check out CONTRIBUTING.md for notes on making contributions.

License

This library is licensed under the Apache 2.0 License.

twirp's People

Contributors

3ventic avatar amcohen-twitch avatar bufdev avatar ccmtaylor avatar cespare avatar delaneyj avatar dennisssdev avatar dpolansky avatar dvrkps avatar flimzy avatar furdarius avatar garethlewin avatar gorzell avatar hyandell avatar iheanyi avatar jeff-garneau avatar jmank88 avatar jonathaningram avatar jtvjorge avatar jumpeimano avatar larrymyers avatar marioizquierdo avatar marwan-at-work avatar mellis avatar mikejihbe avatar mkabischev avatar mocax avatar ofpiyush avatar spenczar avatar wmatveyenko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.