惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog
S
SegmentFault 最新的问题
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
量子位
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
J
Java Code Geeks
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - syabro/snitchmd
syabro · 2026-04-29 · via Hacker News: Show HN

snitchmd flow

Snitch any URL as Markdown. Even Cloudflare/anti-bot protected. Ready for LLM.

Use snitchmd when:

  • you need to feed a page to an LLM and raw HTML is too noisy for the context window;
  • a plain curl or fetch returns an empty shell because the page is rendered by JavaScript;
  • the site is gated by Cloudflare, reCAPTCHA, or similar anti-bot checks;
  • you want one tool that handles all three without picking a scraping engine.
snitchmd https://example.com

That's the whole job. Markdown to stdout, ready to paste into a prompt, a note, or a RAG pipeline.

How it works

Under the hood, snitchmd chains two existing projects so you don't have to: CloakBrowser renders the page past anti-bot checks, and rs-trafilatura strips it down to readable Markdown. It's a small Docker wrapper — no new scraper, no new engine.

Disclaimer: via CloakBrowser, snitchmd looks like a real browser — Cloudflare and other detectors don't flag it as a bot (test results). It can't solve the "click all the traffic lights" kind of CAPTCHAs (reCAPTCHA v2, hCaptcha).

Install

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

Without install:

docker run --platform linux/amd64 --rm -i -v "${XDG_CACHE_HOME:-$HOME/.cache}/snitchmd:/cache" syabro/snitchmd https://example.com

Shell alias:

alias snitchmd='docker run --platform linux/amd64 --rm -i -v "${XDG_CACHE_HOME:-$HOME/.cache}/snitchmd:/cache" syabro/snitchmd'

Uninstall

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

Optional cleanup:

docker rmi syabro/snitchmd
rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/snitchmd"

Run

snitchmd https://example.com

Save the Markdown:

snitchmd https://example.com > page.md

Benchmarks

Raw HTML vs snitchmd output, measured in tokens (tiktoken cl100k_base).

URL curl snitchmd reduction
https://www.cloudflare.com/learning/bots/what-is-a-bot/ ❌ HTTP 403 0.8k
https://docs.docker.com/engine/install/ 187.0k 0.9k 100%
https://en.wikipedia.org/wiki/LLM 222.7k 29.7k 87%
https://github.com/anthropics/anthropic-sdk-python 127.0k 0.2k 100%
https://corrode.dev/blog/bugs-rust-wont-catch/ 22.0k 4.7k 79%

Measured 2026-04-29.

Cache

Each successful fetch is cached on disk by URL + relevant flags. Re-running the same command reads from cache (no browser launch, no extraction).

  • Location: ${XDG_CACHE_HOME:-$HOME/.cache}/snitchmd/ on the host (mounted into the container as /cache).
  • Bypass and refresh a single URL: snitchmd --no-cache https://example.com.
  • Wipe everything: rm -rf ~/.cache/snitchmd.
  • Output-only flags (--json, --html-output) don't affect the cache key, so the same URL is cached once across them.

Update

docker pull syabro/snitchmd

Troubleshooting

When the tool itself or its install is broken. Content-shape problems (empty output, missing sections, too much chrome) are pipeline-tuning decisions — see snitchmd --help.

Symptom Fix
snitchmd: command not found Re-run the install one-liner; ensure ~/.local/bin is on PATH
Docker is not installed or not in PATH Install Docker — https://docs.docker.com/get-docker/
Docker is installed, but the Docker daemon is not running Start Docker (Docker Desktop on Mac/Windows; the Docker service on Linux)
permission denied on the Docker socket Add your user to the docker group, then re-login (Linux)
Image pull fails on first run Check connectivity; retry with docker pull syabro/snitchmd
--platform linux/amd64 warning on Apple Silicon Expected — runs under Rosetta emulation (slower but works)
Cache directory not writable Fix ownership of ${XDG_CACHE_HOME:-$HOME/.cache}/snitchmd, or delete it to let it recreate

Exit codes. 0 success, 1 runtime error (browser, network — full message on stderr), 2 extraction returned empty content (page was a loading shell, hit a wall, or has no main content).

JSON output

Use --json when you need metadata such as the final URL, page title, extraction quality, and Markdown length:

snitchmd https://example.com --json

All options

snitchmd --help

Roadmap

Open ideas live in tasks.md in mdtask format. Browse with pnpx mdtask list (or any markdown viewer).

Development

docker build -t snitchmd:local .
docker run --rm snitchmd:local https://example.com

License

MIT