经 AI Skill Hub 精选评估,NGINX Markdown 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
为AI代理提供Markdown内容的NGINX模块
NGINX Markdown 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
为AI代理提供Markdown内容的NGINX模块
NGINX Markdown 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/cnkang/nginx-markdown-for-agents cd nginx-markdown-for-agents # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 nginx-markdown-for-agents --help # 基本运行 nginx-markdown-for-agents [options] <input> # 详细使用说明请查阅文档 # https://github.com/cnkang/nginx-markdown-for-agents
# nginx-markdown-for-agents 配置说明 # 查看配置选项 nginx-markdown-for-agents --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export NGINX_MARKDOWN_FOR_AGENTS_CONFIG="/path/to/config.yml"
English | Simplified Chinese
HTML in. Markdown out. When the client asks for it, or when you decide to serve it.
Current line: v0.9.2 is a development candidate and is not published. It is the final breaking release before v1.0. Use a published tag for installation until the v0.9.2 release is available.
NGINX Markdown for Agents adds a machine-friendly Markdown representation to HTML pages that you already serve. Clients that send Accept: text/markdown receive Markdown. Browsers and other clients keep receiving the original HTML.
The module performs conversion at the NGINX edge. It does not require an application rewrite, a second content API, or a separate scraping service. It can also target selected bots through User-Agent matching.
| Capability | Summary |
|---|---|
| Content negotiation | Return Markdown on request or for selected bots |
| HTML passthrough | Leave browser and non-eligible responses unchanged |
| Compression handling | Process gzip, deflate, and Brotli upstream responses |
| Bounded conversion | Use full-buffer or bounded streaming conversion |
| Cache-aware responses | Support ETags and conditional requests for variants |
| Output controls | Sanitize links, prune noise, and add optional metadata |
| Failure and observability | Configure error policy, diagnostics, and Prometheus metrics |
Use the Installation Guide for the signed release installer and platform-specific packages. The guide also covers Docker, source builds, Homebrew, and installation troubleshooting.
For macOS, the project Homebrew tap provides a release-tag package:
brew tap cnkang/nginx-markdown
brew install cnkang/nginx-markdown/nginx-markdown-module
0.9.2 freezes the public configuration at 20 active directives (plus five retained reject-only migration names). Configure the behavior explicitly so nginx -T shows the settings that operators selected.
http {
markdown_cache_validation ims_only;
markdown_streaming auto;
markdown_limits conversion_memory=64m conversion_timeout=30s
parser_timeout=10s max_inflight=64;
server {
listen 80;
location /docs/ {
markdown_filter on;
markdown_accept strict;
proxy_pass http://backend;
}
}
}
- markdown_streaming off selects full-buffer conversion. auto uses a bounded response-shape heuristic. force requests streaming after the cache and eligibility checks pass. - markdown_limits bounds conversion memory, time, decompression, streaming buffers, and concurrent work. - markdown_accept strict is a safe default for staged rollout. Use wildcard or force only when that behavior is intentional. - markdown_error_policy controls whether conversion errors pass through or return a configured status.
See the Configuration Reference for the full directive table. Use the 0.9.2 migration guide before changing an existing 0.9.1 configuration.
高质量的AI工作流Markdown内容服务
该工具使用 BSD-2-Clause 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ BSD 2-Clause — 极度宽松,几乎可以任意使用,仅需保留版权声明。
AI Skill Hub 点评:NGINX Markdown 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | nginx-markdown-for-agents |
| 原始描述 | 开源AI工作流:Self-hostable NGINX module that serves Markdown to AI agents via HTTP content ne。⭐22 · C |
| Topics | ai-agentscontent-negotiationhtml-to-markdown |
| GitHub | https://github.com/cnkang/nginx-markdown-for-agents |
| License | BSD-2-Clause |
| 语言 | C |
收录时间:2026-05-29 · 更新时间:2026-05-30 · License:BSD-2-Clause · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端