{"repo":"cnkang/nginx-markdown-for-agents","free":true,"listed":false,"github":"https://github.com/cnkang/nginx-markdown-for-agents","clone":"git clone https://github.com/cnkang/nginx-markdown-for-agents.git","description":"Self-hostable NGINX module that serves Markdown to AI agents via HTTP content negotiation (Accept: text/markdown), powered by a Rust converter.","language":"C","stars":23,"topics":["ai-agents","content-negotiation","ffi","html-to-markdown","llm","markdown","nginx","nginx-module","reverse-proxy","rust"],"license":"BSD-2-Clause","category":"ai-agents","readme_excerpt":"NGINX Markdown for Agents 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 Problem This Solves AI agents and LLM-powered tools often fetch pages that were built for browsers, not machines: - HTML includes navigation, layout, scripts, and other noise that adds token cost. - Useful content is mixed with markup that each client has to strip on its own. - Teams end up maintaining ad hoc scraping or extraction pipelines for content they already serve. Unlike traditional search crawlers that index pages for keyword ranking, AI crawlers extract knowledge for answer ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cnkang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cnkang/nginx-markdown-for-agents/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}