From here.
SingleFile is software to save a complete web page into a single HTML file(via browser extension and a CLI tool). The CLI version “single-file-cil“ can be used as below.
Note that the instructions below show how to install and use this CLI tool with Docker which is the simplest way, however it requires you have Docker installed. You can also run from code without Docker, but it requires more work to do, such as installing the dependencies manually.
1 | # Pull the Docker image of "single-file-cil". |
To better understand how the Docker image works, you can read the “Dockerfile” here.