# thriftgo を Homebrew でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install thriftgo
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:thriftgo
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/thriftgo>
- **バージョン:** 0.4.5
- **ソース概要:** Implementation of thrift compiler in go language with plugin mechanism
- **ホームページ:** <https://github.com/cloudwego/thriftgo>
- **リポジトリ:** <https://github.com/cloudwego/thriftgo>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/cloudwego/thriftgo/archive/refs/tags/v0.4.5.tar.gz>
- **最終更新:** 2026-07-26T00:50:41+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- thriftgo (cli)
- thriftgo (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.4.5
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/cloudwego/thriftgo
- 検出された最新: v0.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 を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** thriftgo
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [gotests](https://pkg.so/ja/brew/gotests/) - Shares pkgdb curated category or tags: cli, code-generator, developer-tools, go.
- [bunster](https://pkg.so/ja/brew/bunster/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, go.
- [hz](https://pkg.so/ja/brew/hz/) - Shares pkgdb curated category or tags: cli, developer-tools, go, thrift.
- [llvm](https://pkg.so/ja/brew/llvm/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools.
- [fzf](https://pkg.so/ja/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [fbthrift](https://pkg.so/ja/brew/fbthrift/) - Shares pkgdb curated category or tags: cli, developer-tools, thrift.
- [hugo](https://pkg.so/ja/brew/hugo/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [golangci-lint](https://pkg.so/ja/brew/golangci-lint/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [gojq](https://pkg.so/ja/brew/gojq/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go, implementation.
- [gotags](https://pkg.so/ja/brew/gotags/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, generator.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
