Back to browse
GitHub Repository

A local proxy that converts websites and APIs to clean Markdown. Convert HTML pages, JSON APIs, and dynamic sites. Get token counts for LLM budgeting.

8 starsGo

Markdown in the Middle – proxy to convert HTML to Markdown

by crawdog·Feb 24, 2026·2 points·0 comments

AI Analysis

●●SolidSolve My ProblemShip It

Markdown-for-Agents proxy for private/internal sites, but Jina.ai and Firecrawl cover most use cases.

Strengths
  • Smart content negotiation (only converts on Accept: text/markdown header) reduces overhead for non-AI clients.
  • Combines MCP server + HTTP proxy in one binary, making Claude Desktop integration straightforward.
  • JavaScript rendering via headless Chrome handles SPAs, solving a real gap Cloudflare's edge solution doesn't address for dynamic content.
Weaknesses
  • Cloudflare's Markdown for Agents and Jina.ai already handle HTML-to-Markdown at scale; this is an internal-only variant with narrower deployment story.
  • No benchmarks or real-world examples showing performance vs. alternatives; caching and token counting claims unverified.
Target Audience

AI/LLM engineers, platform teams managing internal APIs, developers feeding web content to AI agents

Similar To

Cloudflare Markdown for Agents · Jina.ai Reader API · Firecrawl

Post Description

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!

Similar Projects

Security●●Solid

Gohpts-IPv4/IPv6/TCP/UDP Transparent Proxy with ARP/NDP/Rdnss Spoofing

Built-in IPv6 NDP spoofing turns SOCKS chains into transparent proxies.

WizardryShip It
shadowy-pycoder
103mo ago