snitchmd

Bypass Cloudflare and other anti-bot checks.
Get clean Markdown and rendered HTML, even from JS-rendered pages.

GitHub

75 MB · macOS and Linux · Runs locally · No API keys

Installs the binary to /usr/local/bin or ~/.local/bin and the skill for Claude Code, Cursor, and Codex.

curl -fsSL https://raw.githubusercontent.com/syabro/snitchmd/master/install.sh | bash

Reads blocked sites

Passes Cloudflare, DataDome, AWS WAF, PerimeterX, and JS challenges with a Safari TLS and HTTP/2 fingerprint.

Main content only

Runs the page’s JavaScript, then cuts navigation, ads, and footers. Output is 94–99% smaller than raw HTML.

Tuned per site

Fixes lazy feeds, ads, and tricky layouts on Reddit, X, and Wikipedia via daily-updated rules.json or custom rules.

Token savings

Stack Overflow Cloudflare
−94.7% 472,527 → 24,808 tokens
Bloomberg PerimeterX
−99.5% 2,232,573 → 11,698 tokens
IMDb AWS WAF
−98.8% 993,791 → 12,402 tokens
Reddit JS challenge
−94.8% 2,294,612 → 119,629 tokens
JS-only
−99.3% 26,376 → 189 tokens
Bluesky JS-only
−98.7% 312,771 → 3,926 tokens

Passes bot protection

Clears Cloudflare, DataDome, AWS WAF, and JS challenges on Stack Overflow, Reddit, NYTimes, WSJ, FT, and IMDb.

Mega-ultra-super fast

112ms to start and get Markdown from example.com.
VS about 1s with agent-browser.

Ready for AI agents

Clean Markdown and JSON output. Ask Claude Code to “read example.com”, and it picks the snitchmd skill on its own.

The Virgin curl vs The Chad snitchmd The Virgin curl vs The Chad snitchmd

Usage

Clean Markdown to stdout

Prints the article body as Markdown to stdout — ready to pipe into an LLM.

$ snitchmd https://paulgraham.com/greatwork.html
July 2023

If you collected lists of techniques for doing great work in a lot of different fields, what would the intersection look like? I decided to find out by making it.

The first step is to decide what to work on...

Structured JSON

Returns JSON with title, final URL, quality score, and Markdown for scripts and pipelines.

$ snitchmd --json https://paulgraham.com/greatwork.html
{
  "url": "https://paulgraham.com/greatwork.html",
  "title": "How to Do Great Work",
  "quality": 0.7,
  "chars": 133088,
  "markdown": "July 2023\n\nIf you collected lists..."
}

Target a CSS selector

Extracts only the matching CSS selector — here, the Wikipedia infobox as a Markdown table.

$ snitchmd --dump-selector "table.infobox" https://en.wikipedia.org/wiki/Markdown
| Markdown            |                  |
| ------------------- | ---------------- |
| Filename extensions | .md, .markdown   |
| Internet media type | text/markdown    |
| Developed by        | John Gruber      |
| Initial release     | March 9, 2004    |
| Type of format      | Open file format |

One binary. Clean Markdown.

Runs locally on macOS and Linux.

GitHub