Project

twirp

0.17
The project is in a healthy, maintained state
Twirp is a simple RPC framework with protobuf service definitions. The Twirp gem provides native support for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

>= 2.2.3
>= 0

Runtime

~> 3.0, >= 3.7.0
 Project Readme

Twirp-Ruby

Twirp is a protocol for routing and serialization of services defined in a .proto file, allowing easy implementation of RPC services with auto-generated clients in different languages.

The canonical implementation is in Golang. The Twirp-Ruby project is the official implementation in Ruby for both server and clients.

Install

Add gem "twirp" to your Gemfile, or install with gem install twirp.

To auto-generate Ruby code from a proto file, use the protoc plugin and the --ruby_out option (see Wiki page).

Documentation

On the wiki.

Contributing

On the CONTRIBUTING file.