top | item 47134859

Show HN: Markdown in the Middle – proxy to convert HTML to Markdown

2 points| crawdog | 7 days ago |github.com

I read Cloudflare's "Markdown for Agents" article and thought this would be really powerful if it could support internal websites, JSON content and dynamic Javascript sites.

I built this on my 35-minute BART ride to SF using my phone as the IDE (and a couple of hours of feature creep/testing). It's a combination MCP server + HTTP proxy that converts web content to markdown on-the-fly.

Key features:

* HTTP/HTTPS proxy with automatic HTML to markdown conversion * Token counting and caching to stay efficient * Content negotiation (only converts when Accept: text/markdown) * MCP server * JavaScript rendering for dynamic sites

Let me know what you think!

discuss

order

No comments yet.