能力标签
NGINX Markdown
⚙️
Agent工作流

NGINX Markdown

基于 C · 无代码搭建完整 AI 自动化流程
英文名:nginx-markdown-for-agents
⭐ 22 Stars 🍴 3 Forks 💻 C 📄 BSD-2-Clause 🏷 AI 8.0分
8.0AI 综合评分
ai-agentscontent-negotiationhtml-to-markdown
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,NGINX Markdown 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。

📚 深度解析

NGINX Markdown 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

NGINX Markdown 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 8.0 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

为AI代理提供Markdown内容的NGINX模块

NGINX Markdown 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 22
开发语言
C
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
BSD-2-Clause
AI 综合评分
8.0 分
工具类型
Agent工作流
Forks
3

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

为AI代理提供Markdown内容的NGINX模块

NGINX Markdown 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 克隆仓库
git clone https://github.com/cnkang/nginx-markdown-for-agents
cd nginx-markdown-for-agents

# 查看安装说明
cat README.md

# 按 README 完成环境依赖安装后即可使用
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
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"
📑 README 深度解析 真实文档 完整度 57/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

NGINX Markdown for Agents

Latest Release NGINX CI Security Scanning License Quality Gate Status

English | Simplified Chinese

Add a machine-friendly Markdown variant to the HTML pages you already serve through NGINX.

HTML in. Markdown out. When the client asks for it, or when you decide to serve it.

Clients that send Accept: text/markdown get Markdown. Browsers and normal clients keep getting the original HTML. You can also target specific bots by User-Agent — NGINX rewrites the Accept header for matching crawlers so they receive Markdown automatically, even if they never ask for it. You do not need to rewrite your application, build a parallel API, or run a scraper beside your site.

This is a practical way to make existing sites easier for agents to consume while keeping deployment, caching, and rollback in the NGINX layer your team already operates.

Inspired by Cloudflare's Markdown for Agents. This project brings the same operational idea to NGINX deployments you already control, closer to the origin server where you have more control over content semantics.

What's New in v0.7.0

v0.7.0 is a correctness, distribution, and operability release:

  • Bounded decompressionmarkdown_decompress_max_size limits decompressed output independently, preventing zip-bomb attacks (error code 9: DecompressionBudgetExceeded)
  • Accept negotiation — Rust-side RFC 9110 §12.5.1 q-value comparison between text/markdown and text/html (with §12.4.2 quality value semantics) determines conversion eligibility
  • Parse timeout and budgetmarkdown_parse_timeout (default 30s) and markdown_parser_budget (default 64m) prevent runaway parsing (error codes 10, 11)
  • DEB/RPM package artifacts — v0.7.0+ release workflows build GitHub Release artifacts for Ubuntu 22.04/24.04, Debian 12, AlmaLinux 9, Amazon Linux 2023 across amd64/arm64 families, with canonical install layout checks
  • Kubernetes deployment examples — Helm chart, manifests, and Ingress Controller custom image build path with secure stock-image defaults; module-enabled Helm installs require an image containing the module and an explicit markdown.loadModule
  • Runtime diagnostics/nginx-markdown/diagnostics endpoint exposes config snapshot, recent decisions, and metrics
  • Dynconf dry-run and rollback — Validate configuration changes without applying them; roll back to last-known-good on failure

Additional changes:

  • P0 runtime correctness: pending chain on NGX_AGAIN, fail-open dedup, safe output ordering
  • Rust conditional request module (If-None-Match, If-Modified-Since)
  • Rust decision engine with reason codes
  • Rust header mutation plan module
  • Rust URL control character validation and link escaping
  • FFI ABI layout verification and header drift detection

1. Install the module

curl -sSL https://raw.githubusercontent.com/cnkang/nginx-markdown-for-agents/main/tools/install.sh | sudo bash
sudo nginx -t && sudo nginx -s reload

The install script auto-detects the local NGINX version, downloads the matching module artifact, and wires up load_module and markdown_filter on — no manual configuration editing required. It also enforces SHA-256 artifact integrity checks by default.

For alternative installation methods (source builds, Docker, custom NGINX builds), troubleshooting, and detailed instructions, see the Installation Guide.

For macOS package-manager installation through the project Homebrew tap (release-tag artifact):

brew tap cnkang/nginx-markdown
brew install cnkang/nginx-markdown/nginx-markdown-module

Tap publication and macOS post-release verification workflows are documented in docs/guides/HOMEBREW_TAP_RELEASE.md.

Fast build + smoke test

make test

Quick Start

Three steps are enough for a first trial:

  1. Install the module.
  2. Enable Markdown on a location.
  3. Verify that Markdown and HTML variants both behave as expected.

Full NGINX module unit suite

make test-nginx-unit

Runtime integration and canonical E2E checks

make test-nginx-integration make test-e2e-rust make test-e2e make test-rust-fuzz-smoke


`make test-nginx-integration` and `make test-e2e` require a real `nginx` runtime. If `nginx` is not on `PATH`, use `NGINX_BIN=/absolute/path/to/nginx`.

See [docs/testing/README.md](docs/testing/README.md) and [docs/testing/E2E_TESTS.md](docs/testing/E2E_TESTS.md) for integration, E2E, and performance-oriented test references.

If you are changing repo contracts, docs validators, or agent workflow rules,
run the harness checks as well:
bash

Contributor Workflow

If you are changing runtime behavior, use the existing test commands.

If you are changing repo contracts, validation tooling, or agent-facing docs, add the harness workflow to your default path:

1. Update repo-owned truth first: AGENTS.md, docs/harness/, tools/harness/, Makefile, CI wiring 2. Run make harness-check 3. Run make harness-check-full before closing broader docs or release-gate work

How This Compares to Edge-Layer Conversion

Cloudflare's Markdown for Agents converts already-rendered HTML at the CDN edge. That approach is effective for lowering adoption friction — site operators can enable it without touching their origin infrastructure.

This project serves text/markdown closer to the origin server, typically at the reverse-proxy layer where NGINX sits in front of your application. The practical differences:

  • The HTML that NGINX converts is the direct output of your application or CMS. Converting at this layer means you are not dependent on how the page may be restructured or augmented further downstream, making it easier to preserve the original content semantics in the Markdown output.
  • Conversion happens within infrastructure you operate, so you control the module version, configuration, failure policy, and rollout scope.
  • The approach aligns with the standard HTTP content negotiation model: the origin (or its reverse proxy) selects the best representation of a resource based on the client's Accept header.

Neither approach is universally better. Edge-layer conversion is a good fit when you want zero-touch enablement across many sites. Origin-near conversion is a better fit when you want tighter control over what gets converted, how it gets converted, and where the conversion runs.

🎯 aiskill88 AI 点评 A 级 2026-05-29

高质量的AI工作流Markdown内容服务

📚 实用指南(长尾问题)
适合谁
  • 构建多智能体协作系统的 Agent 开发者
最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
部署方案
  • Docker:nginx-markdown-for-agents 提供官方镜像,docker compose up 一键启动
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
nginx-markdown-for-agents 中文教程nginx-markdown-for-agents 安装报错怎么办nginx-markdown-for-agents Docker 部署nginx-markdown-for-agents Agent 工作流nginx-markdown-for-agents 与同类工具对比nginx-markdown-for-agents 最佳实践nginx-markdown-for-agents 适合谁用

⚡ 核心功能

👥 适合谁
  • 构建多智能体协作系统的 Agent 开发者
⭐ 最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

该工具使用 BSD-2-Clause 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ BSD 2-Clause — 极度宽松,几乎可以任意使用,仅需保留版权声明。

🔗 相关工具推荐

📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

nginx-markdown-for-agents 是一款C开发的AI辅助工具。开源AI工作流:Self-hostable NGINX module that serves Markdown to AI agents via HTTP content ne。⭐22 · C 主要应用场景包括:AI工作流Markdown内容服务。
💡 AI Skill Hub 点评

AI Skill Hub 点评:NGINX Markdown 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ BSD-2-Clause 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 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
🔗 原始来源
🐙 GitHub 仓库  https://github.com/cnkang/nginx-markdown-for-agents

收录时间:2026-05-29 · 更新时间:2026-05-30 · License:BSD-2-Clause · AI Skill Hub 不对第三方内容的准确性作法律背书。