This content originally appeared on Bram.us and was authored by Bramus!
Percollate is a command-line tool that turns web pages into beautifully formatted PDF, EPUB, or HTML files.
Installation per NPM
npm install -g percollate
Once installed you can, for example, run this:
percollate epub https://brm.us/at-layer -o css-at-layer.epub
Percollate will automatically extract the main content (powered by Mozilla’s Readability.js), perform some enhancements on it (such as expanding <details>
), and generate the requested file.
Also allows using a custom template and passing in custom CSS via CLI flags.
This content originally appeared on Bram.us and was authored by Bramus!

Bramus! | Sciencx (2021-10-10T20:07:27+00:00) Percollate — A command-line tool to turn web pages into beautiful, readable PDF, EPUB, or HTML docs.. Retrieved from https://www.scien.cx/2021/10/10/percollate-a-command-line-tool-to-turn-web-pages-into-beautiful-readable-pdf-epub-or-html-docs/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.