{"library":"single-file-cli","title":"SingleFile CLI","description":"SingleFile CLI is a command-line tool (v2.0.83) for saving complete web pages as single HTML files, including CSS, images, fonts, and other resources embedded as data URIs. It operates by launching a headless Chromium browser via the Chrome DevTools Protocol and injecting a standalone script. Unlike browser extensions, this CLI is designed for automation, batch processing, and server-side use. It runs on Deno, Node.js (>=20), and Bun (>=1.0). Key differentiators include support for crawling links, URL filtering, Docker deployment, and extensive customization of saved output. Alternatives include monolith and archiveweb.page, but SingleFile CLI uniquely combines headless browser automation with SingleFile's proven page-saving fidelity.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install single-file-cli"],"cli":{"name":"single-file","version":null}},"imports":["npx single-file <url>","docker run capsulecode/singlefile <url>","npx single-file <url>"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npx single-file 'https://example.com' example.html --browser-executable-path='/usr/bin/chromium-browser'","lang":"bash","description":"Saves the page https://example.com to example.html, specifying a custom Chromium executable path.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}