Accept-md
One command to make Next.js sites LLM-scraping friendly
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I recently saw a post from the Vercel CEO pointing out that LLMs understand websites much better when they can request:`Accept: text/markdown`Most websites today are built for humans. When AI agents try to consume them, they get complex HTML instead of clean, structured content.So I built *accept-md* – a simple open-source package for Next.js that helps solve this.Getting started is intentionally minimal:``` npx accept-md init ```After that, your existing Next.js routes can automatically respond with Markdown whenever an AI agent (or any client) requests it. No redesigns, no CMS changes, and no duplicate pages to maintain.Right now the project is:* Focused only on Next.js * Middleware-based and lightweight * Designed to work with existing apps * A small step toward more AI-friendly websitesThis is an early experiment, but I think the idea itself matters as AI agents become first-class consumers of the web.I’ve open-sourced it and would love help with:* Better markdown extraction * Edge cases across Next.js setups * Performance and caching * Tests and examples * Documentation * Eventually adapters for other frameworksWould love feedback from the HN community on the approach – and whether `Accept: text/markdown` feels like a pattern worth standardizing for the AI-native web.
HN · launched Feb 5, 2026 · 5 upvotes (top 89%) · 0 views
Niche: llm optimization tools · 127 launches, 9 in the last 7 days ▲ +50% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- AI feature
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 127 launches in llm optimization tools →
Could you build this?
Yes Accept-md is middleware for Next.js and SvelteKit that inspects the Accept header, converts the rendered HTML to Markdown using standard libraries like Turndown, and strips chrome.
Discussion
1 comment analyzed.
Competitors
Other products that read as similar to this one : 121 launches clear the similarity bar, closest 8 shown.
Attention rank: #117 of 122 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 96 days after the earliest competitor.
- Mkdnsite · hn · 2026-04-01 · 6 upvotes · similarity 0.49
- Pirate Markdown · ph · 2026-09-13 · 1 upvotes · similarity 0.48
- Robust LLM extractor for websites in TypeScript · hn · 2026-03-26 · 72 upvotes · similarity 0.45
- Learning Rust by writing a Markdown to HTML compiler · hn · 2026-07-29 · 25 upvotes · similarity 0.43
- Get your coding agent off ~2019 JavaScript, onto modern web primitives · hn · 2026-11-10 · 443 upvotes · similarity 0.42
- tweet.md · ph · 2026-05-25 · 239 upvotes · similarity 0.41
- flowdown · github · 2026-11-10 · 19 upvotes · similarity 0.40
- Quikdown · hn · 2026-06-21 · 8 upvotes · similarity 0.40
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.