I have a desire to be able to, through the command line, download a single webpage into a self-contained
.html
file with the option to convert it to (or save alongside) other formats such asEPUB
, or evenmd
if possible. There are two main use-cases I want to offer: 1) get the entire webpage, strip out the ads/useless shit, and save the new version locally & 2) for journal/website articles, blog entries, or tutorials: simply save the main content and discard every other element from the source.
A bash script that takes in a URL and, through menu redirection, outputs the desired file(s) into a standard directory.
I've come across quite a few programs and scripts that seem like they would be perfect for what I want to do, but unfortunately I'm using termux on an Android and most of them do not work