pkg.soopen package index

brew / 排名 5091

使用 Homebrew, apk, Nix 安装 protoc-gen-doc

查看 protoc-gen-doc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install protoc-gen-doc

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add protoc-gen-doc

Alpine Linux edge package indexes · protoc-gen-doc · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#protoc-gen-doc

nixpkgs package indexes · pkgs/by-name/pr/protoc-gen-doc/package.nix · 来源: api.github.com

概览

软件包摘要

Documentation generator plugin for Google Protocol Buffers

命令和别名

  • protoc-gen-doc

历史

项目历史与用法

protoc-gen-doc is a protoc plugin that generates API documentation from comments in Protocol Buffer schemas. It supports built-in HTML, Markdown, DocBook, and JSON output as well as custom templates.

项目历史

protoc-gen-doc was created as a standalone plugin for Google's Protocol Buffers compiler. It converts comments and declarations in proto2 and proto3 schemas into human-readable or machine-readable documentation.

采用历史

The project is distributed through several developer-oriented channels, including downloadable binaries, a container image, Maven Central, and package managers represented in source_facts.package-manager. This makes it usable in local builds and language-neutral documentation pipelines.

使用方式

Place the executable on PATH, then invoke protoc with --doc_out and --doc_opt to select an output directory, format or template, and output filename. The plugin can also exclude selected schema paths or comments and offers a containerized workflow using mounted input and output directories. It has no documented persistent configuration or credential file.

为什么软件包爱好者会关心

It is a focused example of the protoc plugin model applied to documentation rather than source-code generation. Its support for HTML, Markdown, DocBook, JSON, and custom Go templates makes it useful when protobuf schemas double as an interface-description source.

时间线

  • The official project documentation describes support for both proto2 and proto3 schemas and distribution as native releases, a Docker image, and a Maven Central artifact.

Related projects

  • Protocol Buffers and its protoc compiler provide the schema and plugin protocol on which protoc-gen-doc depends.
  • Other protoc plugins generate language bindings or RPC stubs; protoc-gen-doc instead generates descriptive documentation.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
protoc-gen-doccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本1.5.1
管理器更新时间2026-09-13
本地数据OK
上游当前
检测到的最新版本v1.5.1

https://github.com/pseudomuto/protoc-gen-doc

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:protoc-gen-doc
版本1.5.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/protoc-gen-doc
主页https://github.com/pseudomuto/protoc-gen-doc
仓库https://github.com/pseudomuto/protoc-gen-doc
许可证MIT
源码归档https://github.com/pseudomuto/protoc-gen-doc/archive/refs/tags/v1.5.1.tar.gz
最后更新2026-09-13T12:25:23Z
Pulseupdated
依赖protobuf
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

protoc-gen-doc

nix profile install nixpkgs#protoc-gen-doc
  • normalized package name match
  • 匹配方式:Protoc Gen Doc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/protoc-gen-doc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

protoc-gen-doc 1.5.1-r6

protoc plugin to generate documentation from comments in .proto files

https://github.com/pseudomuto/protoc-gen-doc

sudo apk add protoc-gen-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: protoc-gen-doc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Protoc Gen Doc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: protoc-gen-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

protoc-gen-doc-doc 1.5.1-r6

protoc plugin to generate documentation from comments in .proto files (documentation)

https://github.com/pseudomuto/protoc-gen-doc

sudo apk add protoc-gen-doc-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: protoc-gen-doc
  • normalized package name match
  • 匹配方式:Protoc Gen Doc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: protoc-gen-doc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation