Go Protobuf

Open-source Go projects categorized as Protobuf

Top 23 Go Protobuf Projects

  1. kratos

    Your ultimate Go microservices framework for the cloud-native era.

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. grpcurl

    Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

    Project mention: Top 4 gRPC API Testing Tools You Need to Know | dev.to | 2025-02-13

    grpcurl is a command-line tool designed to interact with gRPC services. It is simple, fast, and perfect for testing APIs directly from the terminal, especially when working with microservices.

  4. goprotobuf

    Go support for Google's protocol buffers (by golang)

    Project mention: gRPC vs. REST: Understand gRPC, OpenAPI and REST and When to Use in API Design | news.ycombinator.com | 2025-01-22

    > timestamppb.New(time) is hard to figure out?

    No need to be snarky; that API did not exist when I started using protobuf. https://github.com/golang/protobuf/blame/master/ptypes/times... <-- and you can still see the full code from this era on master because of the migration from `github.com/golang/protobuf` to `google.golang.org/protobuf`, which was a whole other exercise in terrible DX.

  5. buf

    The best way of working with Protocol Buffers.

    Project mention: Go Protobuf: The New Opaque API | news.ycombinator.com | 2024-12-16

    Buf CLI itself is licensed under a permissive Apache 2.0 License [0]. Buf distinguishes a few types of plugins: the most important being local and remote.

    Local plugins are executables installed on your own machine, and Buf places no restrictions on use of those. Since Buf is a compiler, its output cannot be copyrighted (similar to proprietary or GPL licensed compilers). DISCLAIMER: I am not a lawyer. But it is my understanding that if you only use Buf with local plugins, law-wise you should be in the clear.

    Remote plugins are hosted on BSR (Buf Schema Registry) servers [1], which are rate limited. All remote plugins are also available as local plugins if you install them.

    Additionally, BSR also offers hosting of user proto schemas and plugins, and this is where pricing comes in [2].

    [0] https://github.com/bufbuild/buf/blob/main/LICENSE

  6. twirp

    A simple RPC framework with protobuf service definitions

    Project mention: gRPC vs. REST: Understand gRPC, OpenAPI and REST and When to Use in API Design | news.ycombinator.com | 2025-01-22

    - 2. serialization format via protobuf

    For most companies, neither 1 or 2 is needed, but the side effect of 2 (of having structured schema) is good enough. This was the idea behind twrip - https://github.com/twitchtv/twirp - not sure whether this is still actively used / maintained, but it's protobuf as json over HTTP.

  7. kitex

    Go RPC framework with high-performance and strong-extensibility for building micro-services.

    Project mention: How to Visualize and Analyze Data in Open Source Communities | dev.to | 2024-04-21

    After successful deployment, the data display panel looks as follows. Here, we present statistics and displays of the open-source community CloudWeGo, a project by ByteDance. The panels include:

  8. gogoprotobuf

    [Deprecated] Protocol Buffers for Go with Gadgets (by gogo)

    Project mention: gRPC: The Bad Parts | news.ycombinator.com | 2024-06-27

    The Go tooling for gRPC is inexplicably bad, both in terms of ergonomics and in terms of performance.

    The GoGoProtobuf [1] project was started to improve both. It would generate nice Go types that followed Go's conventions. And it uses fast binary serialization without needing to resort to reflection.

    Unfortunately, the gRPC/Protobuf team(s) at Google is famously resistant to changes, and was unwilling to work with the GoGo. As a result, the GoGo project is now dead. [2]

    I've never used Buf, but it looks like it might fix most of the issues with the Go support.

    [1] https://github.com/gogo/protobuf

    [2] https://x.com/awalterschulze/status/1584553056100057088

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. protoactor-go

    Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin

    Project mention: Actor Model Overview | dev.to | 2025-02-04

    Proto.Actor is the best framework for the Actor Model (you can use it with Go), it is implemented by the book (like Akka) Actor Model and supports the Virtual Actor Model (like Orleans). I would give a change for this framework

  11. nano

    Lightweight, facility, high performance golang based game server framework

  12. protoc-gen-doc

    Documentation generator plugin for Google Protocol Buffers

  13. plumber

    A swiss army knife CLI tool for interacting with Kafka, RabbitMQ and other messaging systems.

  14. matchbox

    Network boot and provision Fedora CoreOS and Flatcar Linux clusters

  15. centrifuge

    Real-time messaging library for Go. The simplest way to add feature-rich and scalable WebSocket support to your application. The core of Centrifugo server.

    Project mention: Centrifugo v6 released – major update of scalable WebSocket server written in Go | news.ycombinator.com | 2025-01-16

    Hi everyone!

    I'd like to share that we've just released Centrifugo v6 - a major update of scalable WebSocket server. The release addresses some usability pain points and adds nice features and more observability.

    Centrifugo is an open-source standalone server written in Go – https://github.com/centrifugal/centrifugo. Centrifugo can instantly deliver messages to application online users connected over supported transports (WebSocket, HTTP-streaming, Server-Sent Events (EventSource), GRPC, WebTransport). Centrifugo has the concept of a channel – so it's a user-facing PUB/SUB server. Everything implemented in a language-agnostic way – so Centrifugo can be used in combination with any frontend or backend stack.

    These days we also provide Centrifugo PRO version – and trying to find a balance to be sustainable.

    The server is based on the open-source Centrifuge library - https://github.com/centrifugal/centrifuge, so many improvements mentioned in Centrifugo v6 release blog post (even those for Centrifugo PRO) may be used just as a library in Go application.

    We provide real-time SDKs for popular client environments – for browser and mobile development – they connect to both Centrifuge library based servers and Centrifugo server.

    Generally Centrifugal ecosystem provides a good alternative to Socket.IO and cloud services like Pusher.com and Ably.com

    Will be happy to answer on any questions

  16. go-proto-validators

    Generate message validators from .proto annotations.

  17. protovalidate

    Protocol Buffer Validation - Go, Java, Python, and C++ Beta Releases!

    Project mention: gRPC: The Bad Parts | news.ycombinator.com | 2024-06-27

    I'm surprised the author doesn't mention ConnectRPC: https://connectrpc.com/

    It solves ALL the problems of vanilla gRPC, and it even is compatible with the gRPC clients! It grew out of Twirp protocol, which I liked so much I made a C++ implementation: https://github.com/Cyberax/twirp-cpp

    But ConnectRPC guys went further, and they built a complete infrastructure for RPC. Including a package manager (buf.build), integration with observability ( https://connectrpc.com/docs/go/observability/ ).

    And most importantly, they also provide a library to do rich validation (mandatory fields, field limits, formats, etc): https://buf.build/bufbuild/protovalidate

    Oh, and for the unlimited message problem, you really need to use streaming. gRPC supports it, as does ConnectRPC.

  18. encoding

    Go package containing implementations of efficient encoding, decoding, and validation APIs.

  19. vtprotobuf

    A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2

    Project mention: Go Protobuf: The New Opaque API | news.ycombinator.com | 2024-12-16
  20. otpauth

    Google Authenticator migration decoder

  21. mortar

    Mortar is a GO framework/library for building gRPC (and REST) web services. (by go-masonry)

  22. nrpc

    nRPC is like gRPC, but over NATS

    Project mention: gRPC: The Bad Parts | news.ycombinator.com | 2024-06-27
  23. buildbuddy

    BuildBuddy is an open source Bazel build event viewer, result store, remote cache, and remote build execution platform.

  24. protolock

    Protocol Buffer companion tool. Track your .proto files and prevent changes to messages and services which impact API compatibility.

  25. protolint

    A pluggable linter and fixer to enforce Protocol Buffer style and conventions.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Protobuf discussion

Log in or Post with

Go Protobuf related posts

  • Optimizing Call Routing Efficiency with Phone Number Carrier Lookup APIs

    1 project | dev.to | 5 Feb 2025
  • CDNs vs Caching: The Key to Blazing Fast Web Performance (and Why You Need Both)

    1 project | dev.to | 1 Feb 2025
  • AI bots everywhere. Does anyone have a good whitelist for robots.txt?

    2 projects | news.ycombinator.com | 28 Jan 2025
  • gRPC vs. REST: Understand gRPC, OpenAPI and REST and When to Use in API Design

    12 projects | news.ycombinator.com | 22 Jan 2025
  • Go Protobuf: The New Opaque API

    11 projects | news.ycombinator.com | 16 Dec 2024
  • Using gRPC for (local) inter-process communication – F. Werner's Research Page

    6 projects | news.ycombinator.com | 20 Nov 2024
  • Cloudflare.com's Robots.txt

    2 projects | news.ycombinator.com | 17 Nov 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Feb 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Protobuf projects in Go? This list will help you:

# Project Stars
1 kratos 23,665
2 grpcurl 11,238
3 goprotobuf 9,862
4 buf 9,506
5 twirp 7,257
6 kitex 7,233
7 gogoprotobuf 5,670
8 protoactor-go 5,136
9 nano 2,940
10 protoc-gen-doc 2,698
11 plumber 2,109
12 matchbox 1,310
13 centrifuge 1,138
14 go-proto-validators 1,090
15 protovalidate 1,018
16 encoding 1,004
17 vtprotobuf 938
18 otpauth 736
19 mortar 679
20 nrpc 659
21 buildbuddy 616
22 protolock 611
23 protolint 602

Sponsored
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io

Did you know that Go is
the 4th most popular programming language
based on number of references?