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
PRTG Catches Network Issues Before They Cause Downtime Icon
PRTG Catches Network Issues Before They Cause Downtime

Threshold-based alerts flag problems early, so your team can act before users notice, not after.

Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
Download 30-Day Trial
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