Displaying 1 to 20 from 22 results

Protocol Buffers - Google's data interchange format

  •    C++

Protocol buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages.

prototool - Your Swiss Army Knife for Protocol Buffers

  •    Go

Protobuf is one of the best interface description languages out there - it's widely adopted, and after over 15 years of use, it's practically bulletproof. However, working with Protobuf and maintaining consistency across your Protobuf files can be a pain - protoc, while being a tool that has stood the test of time, is non-trivial to use, and the Protobuf community has not developed common standards with regards to stub generation. Prototool aims to solve this by making working with Protobuf much simpler. Prototool accomplishes this by downloading and calling protoc on the fly for you, handing error messages from protoc and your plugins, and using the generated FileDescriptorSets for internal functionality, as well as wrapping a few great external libraries already in the Protobuf ecosystem.

protobuf-swift - Google ProtocolBuffers for Apple Swift

  •    Swift

An implementation of Protocol Buffers in Swift. Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. This project is based on an implementation of Protocol Buffers from Google. See the Google protobuf project for more information.

protoc-gen-doc - Documentation generator plugin for Google Protocol Buffers

  •    Go

This is a documentation generator plugin for the Google Protocol Buffers compiler (protoc). The plugin can generate HTML, JSON, DocBook and Markdown documentation from comments in your .proto files. It supports proto2 and proto3, and can handle having both in the same context (see examples for proof).

ts-protoc-gen - Protocol Buffers Compiler (protoc) plugin for TypeScript and gRPC-Web.

  •    TypeScript

This repository contains a protoc plugin that generates TypeScript declarations (.d.ts files) that match the JavaScript output of protoc --js_out=import_style=commonjs,binary. This plugin can also output service definitions as both .js and .d.ts files in the structure required by grpc-web. This plugin is tested and written using TypeScript 2.7.

goprotowrap - A package-at-a-time wrapper for protoc, for generating Go protobuf code.

  •    Go

A package-at-a-time wrapper for protoc, for generating Go protobuf code.protowrap is a small tool we found helpful when working with protocol buffers in Go at Square. We're publishing it in the hope that others find it useful too. Contributions are welcome.

pb-and-k - Kotlin Code Generator and Runtime for Protocol Buffers

  •    Kotlin

PBAndK is a Kotlin code generator and runtime for Protocol Buffers. It is built to work across multiple Kotlin platforms. Read below for more information and see the examples.

protoc-gen-gotemplate - :open_file_folder: protocol generator + golang text/template (protobuf)

  •    Go

A generic code/script/data generator based on Protobuf. This project is a generator plugin for the Google Protocol Buffers compiler (protoc).

protokit - A starter kit for building protoc plugins

  •    Go

A starter kit for building protoc-plugins. Rather than write your own, you can just use an existing one. See the examples directory for uh...examples.

gapic-generator-kotlin - Generate Kotlin gRPC client libraries from Protocol Buffer definitions.

  •    Kotlin

Kgen creates idiomatic coroutine-based gRPC Kotlin client libraries from a protocol buffer description of an API. It supports full-stack Kotlin development on the server and in Android applications.

protoc-go-plugins - Some useful Go's protoc plugins.

  •    Go

Some useful Go's protoc plugins. See gRPC Go Quickstart for installation instructions.

go2gql - graphql-go schema generator by proto files

  •    Go

proto2gql plugin parses .proto files, defined in config and pass them to graphql plugin. proto2gql plugin parses swagger files, defined in config and pass them to graphql plugin.

docker-protobuf - An all-inclusive protoc Docker image

  •    Dockerfile

A lightweight protoc Docker image. It started out as https://github.com/znly/docker-protobuf fork, but grew into a stand-alone project.

go-proto-gql - Protoc plugins for generating graphql schema and quickly create servers

  •    Go

This repository aims to simplify working with grpc trough protocol buffers and graphql by generating code. There are 2 plugins: gql that generates graphql schema and gogqlgen that generates methods for implementing github.com/99designs/gqlgen/graphql.Marshaler and github.com/99designs/gqlgen/graphql.Unmarshaler interfaces.

gosproto - 基于云风的sproto二进制标准上的描述文件及代码生成工具

  •    Go

Google Protobuf是一个用途非常广泛的数据传输格式及标准,几乎支持所有地球上的编程语言. Protobuf 3.0版本的很多设计也是非常优秀的.但是和C++多年发展类似的,Protobuf承载了太多的历史包袱. 除了格式复杂,到描述文件,插件体系的设计都不能满足一些性能领域或者特殊领域的特别要求. 使用Unity配合Lua制作游戏的团队中,很多也使用Protobuf.但是Protobuf的二进制复杂格式在Lua层上造成了很大的GC和性能问题. 云风自己的pbc也不能完全与官方Protobuf二进制兼容.

protoc-gen-star - protoc plugin library for efficient proto-based code generation

  •    Go

While this README seeks to describe many of the nuances of protoc plugin development and using PG*, the true documentation source is the code itself. The Go language is self-documenting and provides tools for easily reading through it and viewing examples. The docs can be viewed on GoDoc or locally by running make docs, which will start a godoc server and open them in the default browser. protoc-gen-example, can be found in the testdata directory. It includes two Module implementations using a variety of the features available. It's protoc execution is included in the testdata/generated Makefile target. Examples are also accessible via the documentation by running make docs.

protoc-gen-validate - protoc plugin to generate polyglot message validators

  •    Go

PGV is a protoc plugin to generate polyglot message validators. While protocol buffers effectively guarantee the types of structured data, they cannot enforce semantic rules for values. This plugin adds support to protoc-generated code to validate such constraints. All messages generated include the new Validate() error method. PGV requires no additional runtime dependencies from the existing generated code.

protolock - Protocol Buffer companion tool to `protoc` and `git`

  •    Go

Track your .proto files and prevent changes to messages and services which impact API compatibility. Ever accidentally break your API compatibility while you're busy fixing problems? You may have forgotten to reserve the field number of a message or you re-ordered fields after removing a property. Maybe a new team member was not familiar with the backward-compatibility of Protocol Buffers and made an easy mistake.