talira

Protocol Buffers compiler for Erlang

open sourceLGPL-2.1-or-laterfree

gpb is a compiler that turns Protocol Buffers definition files into Erlang modules for encoding and decoding messages, through its protoc-erl command-line tool or rebar integration. The code it generates belongs to whoever owns the input .proto files, not to gpb's licence.

Problems it solves

  • use Protocol Buffers in an Erlang app
  • generate Erlang code from .proto files
  • decode protobuf messages in Elixir

Features

  • compiles .proto files to Erlang encoders and decoders
  • protoc-erl command-line tool
  • rebar integration
  • generated code isn't covered by gpb's licence