SingleFile web API in a Docker container.
If I get around to it, I will make it interface with SingleFile
using node instead of CLI.
With script-injection into the page, this will now extract meta-data that it returns as JSON at the API endpoint.
The primary goal is to extract the relevant text from a page full of cruft. You can find that
in extracts
(array).
git clone https://github.com/romland/singlefile-api-docker.git
cd singlefile-api-docker
./build.sh
./run.sh
curl -d 'url=http://www.example.com/' localhost:8001
...which should return the HTML+resources at that url.