SingleFile CLI is an open source command-line tool designed to save complete web pages as a single self-contained HTML file. It captures the rendered page in a headless browser and embeds all required resources directly into the output document, including stylesheets, scripts, images, and fonts. By consolidating every dependency into one file, it allows users to preserve a faithful copy of a web page that can be viewed offline without requiring external assets. SingleFile CLI works by controlling a browser through the Chrome DevTools Protocol, rendering the page before extracting and packaging all necessary resources. This approach helps ensure that the saved page closely matches the original appearance and functionality. SingleFile CLI can be used for automated archiving, research, documentation, or offline reading workflows where preserving a page exactly as displayed is important.

Features

  • Saves complete web pages as a single self-contained HTML file
  • Embeds CSS, JavaScript, images, and fonts directly into the document
  • Uses a headless browser and Chrome DevTools Protocol for page capture
  • Supports command-line automation and batch processing
  • Can process multiple pages or URLs through configurable options
  • Compatible with several JavaScript runtimes and containerized execution

Project Samples

Project Activity

See All Activity >

Categories

Web Scrapers

License

Affero GNU Public License

Follow single-file-cli

single-file-cli Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of single-file-cli!

Additional Project Details

Programming Language

JavaScript, Unix Shell

Related Categories

Unix Shell Web Scrapers, JavaScript Web Scrapers

Registered

2026-03-11