mdbook-pdf
mdbook-pdf-headless_chrome
mdbook-pdf | mdbook-pdf-headless_chrome | |
---|---|---|
2 | 3 | |
139 | 1 | |
- | - | |
6.5 | 0.0 | |
27 days ago | 4 months ago | |
Rust | Rust | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mdbook-pdf
- Share rust docs
-
mdbook-pdf: A mdBook backend for generating PDF files
mdbook-pdf depends on Google Chrome / Microsoft Edge / Chromium. The generated page are pretty much alike the one you manually print to PDF in your browser by opening print.html or executing google-chrome-stable --headless --print-to-pdf=output.pdf file:///path/to/print.html, but with customization of PDF paper orientation, scale of the webpage rendering, paper width and height, page margins, generated PDF page ranges, whether to display header and footer as well as customize their formats, and more, as well as automation. It supports all the platform where Google Chrome / Microsoft Edge / Chromium would work. You can check samples of the generated PDF files in the Artifacts here (The Rust book collections generated in x86_64 Windows, macOS as well as Linux).
mdbook-pdf-headless_chrome
-
What’s everyone working on this week (7/2023)?
Writing a web bot that performs login and saves cookies to a file using rust-headless-chrome. It’s a whole lot easier than trying to run all the HTTP requests by hand!
-
a crate for rendering HTML to an image buffer?
Maybe try this? https://github.com/atroche/rust-headless-chrome Haven't used it myself but according to the description it seems to do the job.
-
mdbook-pdf: A mdBook backend for generating PDF files
This project relies on headless_chrome. Because the new version has not been released, and the default timeout is not friendly to PDF generation, I use my Fork version to publish mdbook-pdf-headless_chrome for expanding the relevant timeout to 300 seconds as a submodule of this project, thus enabling the project to be published on Crates.io as well.
What are some alternatives?
mdbook-latex - An mdbook backend for generating LaTeX and PDF documents.
Lariv - Linked Atomic Random Insert Vector: a thread-safe, self-memory-managed vector with no guaranteed sequential insert.
tectonic - A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.
gitbook - The open source frontend for GitBook doc sites
cef - Safe Wrapper Around the Chromium Embedded Framework (WIP)
mdBook - Create book from markdown files. Like Gitbook but implemented in Rust
steel - An embedded scheme interpreter in Rust
rust-headless-chrome - A high-level API to control headless Chrome or Chromium over the DevTools Protocol. It is the Rust equivalent of Puppeteer, a Node library maintained by the Chrome DevTools team.
WKHTMLToPDF - Convert HTML to PDF using Webkit (QtWebKit)
mdbook-man - Generate manual pages from mdBooks!
crates.io - The Rust package registry