ai-context-purifier
v1.0.0
Published
CLI wrapper for Mozilla Readability. Extract clean markdown from web pages.
Downloads
20
Readme
aiclean
CLI wrapper for Mozilla Readability. Extract clean markdown from web pages.
Installation
npm install -g ai-context-purifierQuick Example
$ aiclean https://developer.mozilla.org/en-US/docs/Web/JavaScript
# JavaScript
JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.
## A dynamic language
While it is most well-known as the scripting language for Web pages, many non-browser environments also use it...Usage
# Output to stdout
aiclean https://example.com/article
# Copy to clipboard
aiclean https://example.com/article --copy
# Pipe to file
aiclean https://example.com/article > clean.mdFlags
| Flag | Description |
|------|-------------|
| --copy | Copy result to clipboard |
| --help | Show help |
| --version | Show version |
Tested On
- Stripe blog
- MDN Web Docs
- Medium posts
- Substack newsletters
- Wikipedia articles
Limitations
- Static HTML extraction only
- Doesn't work on SPAs or JavaScript-heavy sites
- Doesn't handle paywalled or login-gated content
- Best for blog posts and documentation pages
Uninstall
npm uninstall -g ai-context-purifierLicense
MIT
