20 releases

0.1.7 Oct 18, 2023
0.1.6 Oct 18, 2023
0.1.5 May 9, 2023
0.0.12 Apr 28, 2023

#241 in Encoding

Download history 6/week @ 2024-02-23 5/week @ 2024-03-01 1/week @ 2024-03-08 2/week @ 2024-03-15 71/week @ 2024-03-29 21/week @ 2024-04-05

94 downloads per month

MIT/Apache

2MB
1.5K SLoC

Rust 1K SLoC // 0.0% comments Shell 302 SLoC // 0.5% comments

htop

Crates.io Code coverage build Linux build Windows build MacOs MIT licensed Apache 2.0 licensed Contributor Covenant

Overview

HTML to PDF converter based on headless_chrome crate. Inspired by html2pdf crate.

Installation

$ cargo install htop

Usage

Display short usage description:

$ htop -h

Display detailed usage description:

$ htop --help

Basic examples

Convert single HTML file into single PDF file:

$ htop single input_file.html output_file.pdf

Convert multiple HTML files into multiple PDF files:

$ htop multiple input_dir output_dir

Convert web-page into single PDF file:

$ htop url https://dmntk.io

More examples can be found in User Guide.

License

Licensed under either of

at your option.

Contribution

All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~10–23MB
~354K SLoC