# thriftgo を Homebrew でインストール

thriftgo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:thriftgo
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install thriftgo
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:thriftgo
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.4.5
- **ソース概要:** Implementation of thrift compiler in go language with plugin mechanism
- **ホームページ:** <https://github.com/cloudwego/thriftgo>
- **リポジトリ:** <https://github.com/cloudwego/thriftgo>
- **最終更新:** 2026-07-26T00:50:41+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- thriftgo (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.4.5
## プロジェクトの歴史と使われ方

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

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://api.github.com/repos/cloudwego/thriftgo>
- <https://api.github.com/repos/cloudwego/thriftgo/releases>
- <https://github.com/cloudwego/thriftgo>
- <https://www.cloudwego.io/docs/kitex/getting-started/prerequisite/>
- <https://www.cloudwego.io/docs/kitex/tutorials/code-gen/code_generation/>
- <https://www.cloudwego.io/docs/kitex/tutorials/code-gen/idl_trimmer/>
- input source_facts.package-manager


## セキュリティノート

thriftgo に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## Combined YAML source

View the package source record on GitHub. [combined/thriftgo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/thriftgo.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
