suhashollakc/snapmd
Clip any webpage as clean, LLM-ready Markdown from your terminal.
<p align="center"> <a href="https://www.npmjs.com/package/snapmd"></a> <a href="https://www.npmjs.com/package/snapmd"></a> <a href="https://github.com/suhashollakc/snapmd/blob/main/LICENSE"></a> <a href="https://github.com/suhashollakc/snapmd/actions"></a> </p>
<h1 align="center">SnapMD</h1> <p align="center"><strong>Clip any webpage as clean, LLM-ready Markdown from your terminal.</strong></p> <p align="center"><sub>Webpages · YouTube · GitHub · Reddit · Hacker News · StackOverflow</sub></p>
<br>
<p align="center"> <a href="#install">Install</a> · <a href="#cli-usage">CLI</a> · <a href="#mcp-server-ai-tool-use">MCP</a> · <a href="#programmatic-api">API</a> · <a href="#supported-sources">Sources</a> · <a href="#contributing">Contributing</a> </p>
---
npx snapmd https://en.wikipedia.org/wiki/Markdown -o article.mdSnapMD fetches any webpage and converts it to clean, structured Markdown — with YAML frontmatter, smart content extraction, and zero config. Built for piping into LLMs, pasting into Obsidian/Notion/Logseq, or building knowledge bases.
Every day you copy from the web into your notes or AI tools. Every time: broken formatting, lost links, garbage HTML. Existing tools are bloated or abandoned.
SnapMD is different:
Zero bloat — Hand-written recursive DOM parser. No Turndown, no Readability.js. Single dependency.<br> LLM-ready — YAML frontmatter (title, author, date, word count, reading time). Pipe straight to any LLM.<br> **Smart
Loading reviews...