This command line converts Safari's .webarchive file to .html.
For converting .webarchive to a complete resources embed .html, there is also webarchive-to-singlefile
> go install github.com/gonejack/webarchive-to-html@latest
> webarchive-to-html *.webarchive
Flags:
-h, --help Show context-sensitive help.
-v, --verbose Verbose printing.
--decorate Append Header & Footer (not suitable for complex page) to html.
--about About.
Chrome and Firefox would not load local images by default.
To change their settings:
https://dev.to/dengel29/loading-local-files-in-firefox-and-chrome-m9f.
Or use Safari instead.