macOS
brew install drogonlocal Homebrew formula metadata
安装
brew install drogonlocal Homebrew formula metadata
sudo apk add drogonAlpine Linux edge package indexes · drogon · 来源: dl-cdn.alpinelinux.org
sudo apt install drogonDebian stable package indexes · drogon · 来源: deb.debian.org
nix profile install nixpkgs#drogonnixpkgs package indexes · pkgs/by-name/dr/drogon/package.nix · 来源: api.github.com
sudo pacman -S benchmarkArch Linux sync databases · benchmark · 来源: geo.mirror.pkgbuild.com
sudo zypper install benchmark-developenSUSE Tumbleweed package metadata · benchmark-devel · 来源: download.opensuse.org
概览
Modern C++ web application framework
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
config.jsonmodels/model.jsonconfig.jsonmodels\model.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
_drogon_ctl | cli | 全局可执行文件 | |
async_stream | cli | 全局可执行文件 | |
benchmark | cli | 全局可执行文件 | |
client | cli | 全局可执行文件 | |
cors | cli | 全局可执行文件 | |
dg_ctl | cli | 全局可执行文件 | |
drogon_ctl | cli | 全局可执行文件 | |
file_upload | cli | 全局可执行文件 | |
helloworld | cli | 全局可执行文件 | |
jsonstore | cli | 全局可执行文件 | |
login_session | cli | 全局可执行文件 | |
redis_chat | cli | 全局可执行文件 | |
redis_simple | cli | 全局可执行文件 | |
websocket_client | cli | 全局可执行文件 | |
websocket_server | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | drogon |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
drogon 1.9.0+ds-1+b1
C++14/17-based HTTP application framework
https://github.com/drogonframework/drogon
sudo apt install drogonlibdrogon-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-devlibdrogon1t64 1.9.0+ds-1+b1
C++14/17-based HTTP application framework library files
https://github.com/drogonframework/drogon
sudo apt install libdrogon1t64drogon
nix profile install nixpkgs#drogondrogon 1.8.7+ds-1.1build1
C++14/17-based HTTP application framework
https://github.com/drogonframework/drogon
sudo apt install drogonlibdrogon-dev 1.8.7+ds-1.1build1
C++14/17-based HTTP application framework
https://github.com/drogonframework/drogon
sudo apt install libdrogon-devlibdrogon1t64 1.8.7+ds-1.1build1
C++14/17-based HTTP application framework
https://github.com/drogonframework/drogon
sudo apt install libdrogon1t64drogon 1.9.4-r3
A C++14/17/20 based HTTP web application framework
https://github.com/drogonframework/drogon
sudo apk add drogondrogon-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-devdrogon-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-doclibbenchmark-dev 1.9.1-1
Microbenchmark support library, development files
https://github.com/google/benchmark
sudo apt install libbenchmark-devlibbenchmark-tools 1.9.1-1
Microbenchmark support library, tools and documentation
https://github.com/google/benchmark
sudo apt install libbenchmark-toolslibbenchmark1.9.1 1.9.1-1
Microbenchmark support library, shared library
https://github.com/google/benchmark
sudo apt install libbenchmark1.9.1python3-websocket 1.8.0-2
WebSocket client library - Python 3.x
https://github.com/liris/websocket-client
sudo apt install python3-websocketlibbenchmark-dev 1.8.3-3
Microbenchmark support library, development files
https://github.com/google/benchmark
sudo apt install libbenchmark-devlibbenchmark-tools 1.8.3-3
Microbenchmark support library, tools and documentation
https://github.com/google/benchmark
sudo apt install libbenchmark-tools来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.