Download Latest Version v2.18.0 source code.zip (687.9 kB) Google Add to Preferred Sources
Home / v2.17.0
Name Modified Size InfoDownloads / Week
Parent folder
single-file-aarch64-apple-darwin 2026-10-05 69.2 MB
single-file-aarch64-linux 2026-10-05 106.9 MB
single-file-x86_64-apple-darwin 2026-10-05 82.2 MB
single-file-x86_64-linux 2026-10-05 106.5 MB
single-file.exe 2026-10-05 81.8 MB
README.md 2026-10-05 1.3 kB
v2.17.0 source code.tar.gz 2026-10-05 601.7 kB
v2.17.0 source code.zip 2026-10-05 664.7 kB
Totals: 8 Items   447.9 MB 0

SingleFile CLI 2.17.0

New features

  • New option --custom-stylesheet <css>: CSS inserted into the page (and all the frames) just before it is saved. Unlike --browser-stylesheet, which takes a path and is inserted by the browser when the page loads, it takes the rules themselves and is in effect when SingleFile reads the page, so it can also keep an element the page hides. A typical use is to expand a text clamped to a few lines on a chat site, such as a prompt in Gemini or in Google AI Mode, so the saved page shows all of it, e.g. --custom-stylesheet "[role=heading]:has(+ [role=button][aria-expanded]) { -webkit-line-clamp: none !important }"

CLI fixes and improvements

  • single-file-core is updated from 1.6.24 to 1.6.25, see https://github.com/gildas-lormeau/single-file-core/releases/tag/v1.6.25. For the CLI it means the following
  • An image served with an error status was replaced with an empty image, although browsers display it. For example, the Google favicon service answers 404 with a globe icon for a site without favicon, and the icon was missing from the saved page
  • With --compress-content, a font, a CSS image or a srcset candidate whose download failed produced an empty file in the archive

Co-authored by Claude (Claude Code)

Source: README.md, updated 2026-10-05