Feedloom is a CLI for saving long-form web content as clean Markdown. It accepts article URLs, URL list files, and RSS/Atom feeds, extracts readable content, downloads page images, and writes portable Markdown notes with YAML frontmatter.
- Save articles as Markdown with local image assets.
- Read URLs directly, from text/Markdown files, or from RSS/Atom feeds.
- Deduplicate URL lists and mark completed Markdown checklist items.
- Use static, browser-rendered, or stealth fetching when pages need JavaScript rendering.
- Apply built-in site rules for common sites such as WeChat and Zhihu.
- Optionally use local Chrome login state for pages that require your own authenticated browser session.
- Node.js >= 24
- npm
- Patchright Chromium for browser-based fetching.
doctorcan install it automatically.
Run directly with npx:
npx -y @ariesfish/feedloom "https://example.com/article"Or install globally:
npm install -g @ariesfish/feedloom
feedloom "https://example.com/article"Check and repair the browser runtime:
npx -y @ariesfish/feedloom doctorIf the Patchright Chromium executable is missing, doctor runs npx patchright install chromium automatically.
Archive one article to clippings/:
npx -y @ariesfish/feedloom "https://example.com/article"Write output somewhere else:
npx -y @ariesfish/feedloom --output-dir ./outputs "https://example.com/article"Archive a URL list:
npx -y @ariesfish/feedloom urls.md --limit 10Archive an RSS/Atom feed:
npx -y @ariesfish/feedloom "https://example.com/feed.xml" --source-kind rss-feed --since 2026-01-01Use browser rendering for JavaScript-heavy pages:
npx -y @ariesfish/feedloom "https://example.com/article" --fetch-mode browser --wait-ms 4000 --scroll-to-bottomUse stealth mode only when normal static/browser fetching is insufficient:
npx -y @ariesfish/feedloom "https://example.com/article" --fetch-mode stealth --solve-cloudflareGenerated notes are written to clippings/ by default:
---
source: "https://example.com/article"
author: "Author Name"
created: "2026-04-29"
---
# Article Title
Article content...Images are downloaded into an assets/ subdirectory under the output directory and rewritten as local Markdown references.
| Mode | Use when |
|---|---|
auto |
Default. Try static fetch first, then browser/stealth fallback when content is insufficient. |
static |
The page is server-rendered and does not require JavaScript. |
browser |
The page needs JavaScript rendering, waiting, clicking, or scrolling. |
stealth |
Browser mode fails because the site has stronger bot detection. |
Feedloom ships an Agent Skill in skills/feedloom, so agents that support the skills CLI can install the clipping workflow directly:
npx skills add @ariesfish/feedloom --skill feedloomFor a global install across supported agents:
npx skills add @ariesfish/feedloom --skill feedloom --globalAfter installing the skill, ask your agent to save article URLs, URL lists, or RSS feeds as Markdown. The skill runs the CLI through npx -y @ariesfish/feedloom by default.
Feedloom ships built-in TOML site rules for common dynamic or structured sites. You can also keep private rules outside the package and pass them at runtime:
npx -y @ariesfish/feedloom "https://example.com/article" --site-rules-dir ./site-rulesFeedloom is inspired by:
- Defuddle, for readable content extraction ideas.
- Patchright, for browser automation and realistic page access.
- Scrapling, for resilient scraping fallback ideas.
MIT License
