pkg.soopen package index

brew / 排名 11600

使用 Homebrew, apk, Nix 安装 kcgi

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kcgi

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add kcgi

Alpine Linux edge package indexes · kcgi · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#kcgi

nixpkgs package indexes · pkgs/by-name/kc/kcgi/package.nix · 来源: api.github.com

概览

软件包摘要

Minimal CGI and FastCGI library for C/C++

命令和别名

  • kfcgi

历史

项目历史与用法

kcgi is Kristaps Dzonsons's minimal CGI and FastCGI library for C and C++ web applications. Its canonical site emphasizes security, auditability, and use in the BCHS stack.

项目历史

The public GitHub repository was created in January 2016, while the project site serves as the canonical release and documentation surface. kcgi grew around a conservative C web-programming model: parse CGI/FastCGI requests, validate inputs, produce HTTP output, and keep the untrusted request path small enough to audit.

The release archive shows a long 0.x series before 1.0.0 on November 10, 2025. Notable evolution includes bearer-token validation in 2021, seccomp maintenance changes in 2021, asynchronous FastCGI descriptor support in 2023, CORS header support in 2024, and fetch metadata/Priority header support in the 1.0.0 release.

采用历史

The official installation page names system packages for OpenBSD, FreeBSD, Homebrew, Arch Linux, and other systems. The batch input also records Alpine, Homebrew, and Nix packages, reflecting its niche but durable role in BSD-flavored C web stacks.

使用方式

kcgi is used as a C/C++ library rather than primarily as a standalone command. The documentation centers on CGI and FastCGI request parsing, HTTP headers and bodies, typed input validation, formatted writers for JSON/XML/HTML output, compression, authentication helpers, and sandboxing or process separation for untrusted input.

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

kcgi is interesting to package nerds because it preserves a small-C, manpage-first, BSD-style approach to web development while still being packaged for modern Unix systems. Its release archive is unusually explicit about ABI, platform, and security tradeoffs.

时间线

  • 2016-01-20: GitHub repository created.
  • 2021-05-08: 0.12.5 added bearer-token authorization support.
  • 2021-09-23: 0.13.0 changed Linux seccomp defaults.
  • 2023-11-19: 0.13.1 added asynchronous FastCGI descriptor support.
  • 2025-11-10: 1.0.0 release published.
  • 2025-11-17: 1.0.1 hot-fix release published.

Related projects

  • The project site groups kcgi with the BCHS-oriented BSD.lv tools sqlbox and openradtool, and its README notes development primarily on OpenBSD.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kfcgi可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本1.0.1
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:kcgi
版本1.0.1
软件包管理器Homebrew
主页https://kristaps.bsd.lv/kcgi/
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Nix95%

kcgi

nix profile install nixpkgs#kcgi
  • normalized package name match
  • 匹配方式:Kcgi
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kc/kcgi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

kcgi 1.0.1-r0

CGI and FastCGI library for C/C++ web applications

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

kcgi-dev 1.0.1-r0

CGI and FastCGI library for C/C++ web applications (development files)

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi-dev
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

kcgi-doc 1.0.1-r0

CGI and FastCGI library for C/C++ web applications (documentation)

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi-doc
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

kcgi-static 1.0.1-r0

CGI and FastCGI library for C/C++ web applications (static library)

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi-static
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/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
  • pkg.so package database
  • pkgdb category and tag curation