cnkang/nginx-markdown-for-agents
Self-hostable NGINX module that serves Markdown to AI agents via HTTP content negotiation (Accept: text/markdown), powered by a Rust converter.
# Technical Summary Converts HTML to Markdown on-the-fly at the reverse proxy layer using content negotiation, allowing the same NGINX upstream to serve token-efficient Markdown to AI agents while keeping HTML for browsers unchanged. Includes User-Agent targeting so bots receive Markdown automatically via NGINX header rewriting, even without explicit `Accept: text/markdown` requests. Built as a Rust-powered NGINX module with configurable per-location control, fail-open safety, size limits, timeouts, and cache-aware variant handling (`Vary: Accept`, conditional ETags).
Stars
11
Forks
1
Language
Rust
License
BSD-2-Clause
Category
Last pushed
Mar 13, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/cnkang/nginx-markdown-for-agents"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
iwe-org/iwe
Markdown knowledge based management for your favorite text editor & AI agents
Dicklesworthstone/markdown_web_browser
Renders any URL via headless Chrome, tiles screenshots into OCR slices, and streams structured...
petertzy/markdown-reader
Cross-platform Markdown editor with tabbed editing, real-time preview, AI-powered translation...
YangDai2003/Kori
AI-powered Markdown notepad built with Compose Multiplatform.
minhlucvan/notebookmd
The notebook for AI agents. Write Python. Get Markdown reports.