Automic VaultAutomic Vault

brew

Install thriftgo with Homebrew

Implementation of thrift compiler in go language with plugin mechanism. Version 0.4.5 via Homebrew; verified 2026-05-07.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install thriftgo

local Homebrew formula metadata

overview

Package summary

Implementation of thrift compiler in go language with plugin mechanism

Commands and aliases

  • thriftgo

history

Project history and usage

Thriftgo is CloudWeGo's Go implementation of a Thrift IDL compiler, aimed at generating Go code from `.thrift` files and supporting plugin-based customization.

Project history

The official repository was created in 2021. Its README defines thriftgo as an Apache Thrift IDL compiler written in Go, with code generation for Go and a plugin system for custom code generation.

CloudWeGo documentation positions thriftgo as part of its service-development toolchain: Kitex uses thriftgo as the Thrift IDL parser/generator, and the Kitex code-generation docs describe generated serialization code as coming from thriftgo or protoc underneath the higher-level Kitex command.

Adoption history

Thriftgo's adoption is concentrated in the Go and CloudWeGo ecosystem. Official CloudWeGo setup docs instruct users to install thriftgo before using Kitex with Thrift IDL, and the Homebrew formula packages the standalone compiler as a developer CLI.

How it is used

The README shows the direct compiler workflow as `thriftgo -g go example.thrift`, writing generated code under `./gen-go/<namespace>/`. It also documents generator options, plugins, include paths, recursive generation, and compatibility constraints with the Apache Thrift Go runtime.

CloudWeGo also documents thriftgo features such as IDL trimming from v0.3.1 onward, which lets teams remove unused definitions from large IDL sets before generating Go code.

Why package nerds care

For package maintainers, thriftgo is the Go-specific counterpart to the larger Apache Thrift compiler: it is small as a formula, but important when a Go RPC framework expects exactly this generator and its runtime compatibility behavior.

It matters in reproducible builds because generated Go code, thriftgo version, Apache Thrift runtime version, and Kitex/Hertz scaffolding can all be coupled.

Timeline

  • 2021: GitHub repository created.
  • 2022: v0.2.0 release published on GitHub.
  • 2024: CloudWeGo documented thriftgo IDL trimming for v0.3.1+.
  • 2026: v0.4.5 release published on GitHub.

Related projects

  • Thriftgo is related to Apache Thrift, Kitex, Hertz, and CloudWeGo's plugin ecosystem for Go service code generation.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for thriftgo. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
thriftgocliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.4.5
manager updated2026-05-07
local dataok
upstreamcurrent
latest detectedv0.4.5

https://github.com/cloudwego/thriftgo

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:thriftgo
Version0.4.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/thriftgo
Homepagehttps://github.com/cloudwego/thriftgo
Repositoryhttps://github.com/cloudwego/thriftgo
Upstream docshttps://github.com/cloudwego/thriftgo#readme
LicenseApache-2.0
Source archivehttps://github.com/cloudwego/thriftgo/archive/refs/tags/v0.4.5.tar.gz
Last updated2026-05-07T12:58:24Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namethriftgo
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment