Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, Nix, pacman, zypper 安装 drogon

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install drogon

local Homebrew formula metadata

Linux

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

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

Debian apt已验证 · 92%
sudo apt install drogon

Debian stable package indexes · drogon · 来源: deb.debian.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S benchmark

Arch Linux sync databases · benchmark · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install benchmark-devel

openSUSE Tumbleweed package metadata · benchmark-devel · 来源: download.opensuse.org

概览

软件包摘要

Modern C++ web application framework

命令和别名

  • _drogon_ctl
  • async_stream
  • benchmark
  • client
  • cors
  • dg_ctl
  • drogon_ctl
  • file_upload
  • helloworld
  • jsonstore
  • login_session
  • redis_chat
  • redis_simple
  • websocket_client
  • websocket_server

历史

项目历史与用法

Drogon is a modern C++ HTTP application framework with asynchronous networking, routing, controllers, views, WebSocket support, database clients, Redis support, plugins, ORM tooling, and the drogon_ctl code-generation CLI.

项目历史

The public drogonframework/drogon repository was created in April 2018. The official overview presents Drogon as a C++17/20-based framework for building web application server programs, with its name borrowed from a dragon in Game of Thrones.

Drogon grew around a performance-oriented, asynchronous C++ server model. Its README emphasizes non-blocking I/O using epoll and kqueue, a fully asynchronous programming style, HTTP client and server support, templates, controllers, filters, WebSocket, JSON responses, uploads, compression, pipelining, database access, Redis access, plugins, AOP joinpoints, and C++ coroutine support.

The project also includes the trantor networking library as a built-in dependency in the installation docs, making the framework feel closer to a self-contained C++ web stack than a thin wrapper around an external server. The drogon_ctl command became part of the package identity because it generates controllers, views, and scaffolding that would otherwise be repetitive in C++.

采用历史

Drogon's adoption is visible through its packaging and community surfaces: Homebrew packages the stable release, the README advertises Conan Center, Docker images, Telegram and Discord communities, and official docs cover Linux, macOS, FreeBSD, and Windows-style installation paths.

It also became a familiar name among C++ web-framework benchmark watchers because the README points users to TechEmpower Framework Benchmarks for high-concurrency performance comparisons. That benchmark visibility matters for C++ developers evaluating whether an installable framework can compete with leaner HTTP stacks.

使用方式

A minimal Drogon app can listen, set logging, configure thread count, optionally daemonize, and run from main. The README also shows loading config.json via app().loadConfigFile and using drogon_ctl to generate controllers, while docs describe dependencies such as jsoncpp, libuuid, zlib, OpenSSL, c-ares, brotli, PostgreSQL, MariaDB, sqlite3, hiredis, gtest, and yaml-cpp.

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

Drogon is package-nerd catnip because it makes a usually bespoke C++ web-server stack installable as a framework plus CLI. A package install brings headers, libraries, sample executables, drogon_ctl, optional database and compression integrations, and a config-file culture familiar to web developers but less common in high-performance C++ packages.

Its cross-platform story is also unusually broad for a C++ web framework: the README lists Linux, macOS, FreeBSD, OpenBSD, HaikuOS, and Windows, while Homebrew bottles current builds for macOS and Linux architectures. That makes it useful both as an application framework and as a packaging test case for C++ dependency edges.

时间线

  • 2018: Public drogonframework/drogon repository created.
  • 2019: v1.0.0-era tags establish the first stable release line.
  • 2020: v1.1.0 and later 1.x releases expand the stable release train.
  • 2026: Homebrew packages Drogon 1.9.13 as a current stable release.

Related projects

  • Trantor is Drogon's built-in non-blocking I/O network library dependency.
  • drogon_ctl is the companion CLI used to create controllers and generate view code.
  • Conan Center and Docker are official distribution-adjacent surfaces advertised by the repository.
  • TechEmpower Framework Benchmarks are referenced by the official README as a performance comparison surface.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:upload,sync,stream,client,server

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
config.jsonmodels/model.json
Windows
config.jsonmodels\model.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
_drogon_ctlcli全局可执行文件
async_streamcli全局可执行文件
benchmarkcli全局可执行文件
clientcli全局可执行文件
corscli全局可执行文件
dg_ctlcli全局可执行文件
drogon_ctlcli全局可执行文件
file_uploadcli全局可执行文件
helloworldcli全局可执行文件
jsonstorecli全局可执行文件
login_sessioncli全局可执行文件
redis_chatcli全局可执行文件
redis_simplecli全局可执行文件
websocket_clientcli全局可执行文件
websocket_servercli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本1.9.13
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/drogonframework/drogon

安装元数据

软件包元数据

软件包键brew:drogon
版本1.9.13
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/drogon
主页https://drogon.org
仓库https://github.com/drogonframework/drogon
上游文档https://drogon.org/
许可证MIT
源码归档https://github.com/drogonframework/drogon.git
最后更新2026-06-22T14:03:11-07:00
Pulseupdated
依赖brotli, c-ares, jsoncpp, openssl@3
构建依赖cmake
macOS 提供的库sqlite
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

drogon 1.9.0+ds-1+b1

C++14/17-based HTTP application framework

https://github.com/drogonframework/drogon

sudo apt install drogon
  • Section: web
  • Architecture: amd64
  • Source Package: drogon
  • 6 依赖
  • normalized package name match
  • 匹配方式:Drogon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: drogon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdrogon-dev 1.9.0+ds-1+b1

C++14/17-based HTTP application framework development files

https://github.com/drogonframework/drogon

sudo apt install libdrogon-dev
  • Section: web
  • Architecture: amd64
  • Source Package: drogon
  • 2 依赖
  • normalized package name match
  • 匹配方式:Drogon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdrogon-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdrogon1t64 1.9.0+ds-1+b1

C++14/17-based HTTP application framework library files

https://github.com/drogonframework/drogon

sudo apt install libdrogon1t64
  • Section: web
  • Architecture: amd64
  • Source Package: drogon
  • 13 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Drogon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdrogon1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

drogon

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

drogon 1.8.7+ds-1.1build1

C++14/17-based HTTP application framework

https://github.com/drogonframework/drogon

sudo apt install drogon
  • Section: universe/web
  • Architecture: amd64
  • 6 依赖
  • normalized package name match
  • 匹配方式:Drogon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: drogon from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libdrogon-dev 1.8.7+ds-1.1build1

C++14/17-based HTTP application framework

https://github.com/drogonframework/drogon

sudo apt install libdrogon-dev
  • Section: universe/web
  • Architecture: amd64
  • Source Package: drogon
  • 2 依赖
  • normalized package name match
  • 匹配方式:Drogon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdrogon-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libdrogon1t64 1.8.7+ds-1.1build1

C++14/17-based HTTP application framework

https://github.com/drogonframework/drogon

sudo apt install libdrogon1t64
  • Section: universe/web
  • Architecture: amd64
  • Source Package: drogon
  • 13 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Drogon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdrogon1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

drogon 1.9.4-r3

A C++14/17/20 based HTTP web application framework

https://github.com/drogonframework/drogon

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

drogon-dev 1.9.4-r3

A C++14/17/20 based HTTP web application framework (development files)

https://github.com/drogonframework/drogon

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

drogon-doc 1.9.4-r3

A C++14/17/20 based HTTP web application framework (documentation)

https://github.com/drogonframework/drogon

sudo apk add drogon-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: drogon
  • normalized package name match
  • 匹配方式:Drogon
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: drogon-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
Debian apt92%

libbenchmark-dev 1.9.1-1

Microbenchmark support library, development files

https://github.com/google/benchmark

sudo apt install libbenchmark-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: benchmark
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Benchmark
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbenchmark-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libbenchmark-tools 1.9.1-1

Microbenchmark support library, tools and documentation

https://github.com/google/benchmark

sudo apt install libbenchmark-tools
  • Section: doc
  • Architecture: all
  • Source Package: benchmark
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Benchmark
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbenchmark-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libbenchmark1.9.1 1.9.1-1

Microbenchmark support library, shared library

https://github.com/google/benchmark

sudo apt install libbenchmark1.9.1
  • Section: libs
  • Architecture: amd64
  • Source Package: benchmark
  • 3 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Benchmark
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbenchmark1.9.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

python3-websocket 1.8.0-2

WebSocket client library - Python 3.x

https://github.com/liris/websocket-client

sudo apt install python3-websocket
  • Section: python
  • Architecture: all
  • Source Package: websocket-client
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Websocket Client
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-websocket from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

libbenchmark-dev 1.8.3-3

Microbenchmark support library, development files

https://github.com/google/benchmark

sudo apt install libbenchmark-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: benchmark
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Benchmark
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbenchmark-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libbenchmark-tools 1.8.3-3

Microbenchmark support library, tools and documentation

https://github.com/google/benchmark

sudo apt install libbenchmark-tools
  • Section: universe/doc
  • Architecture: all
  • Source Package: benchmark
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Benchmark
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbenchmark-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment