This is a GUI program that renders PDF files.
The GUI is implemented using gpui: "A fast, productive UI framework for Rust from the creators of Zed".
- Build a release version locally using
cargo build --releasethen runtarget/release/pdf-reader-gpui.exe. - Or download a precompiled executable from the latest GitHub release.
- When developing use:
cargo run
You can use cargo install to easily build from source without manually cloning the repo:
cargo install --git https://github.com/Lej77/pdf-reader-gpui.gitYou can use cargo-binstall to easily download the precompiled executables from a GitHub release:
cargo binstall --git https://github.com/Lej77/pdf-reader-gpui.git pdf-reader-gpuiAfter installing you can update the program using nabijaczleweli/cargo-update: A cargo subcommand for checking and applying updates to installed executables:
cargo install-update --git pdf-reader-gpui
# OR update all installed programs:
cargo install-update --git --allYou can uninstall uisng:
cargo uninstall pdf-reader-gpui- GUI
- PDF
mupdf- Safe Rust wrapper to MuPDF- Used by
miro,tdfandMView6. - License:
AGPL-3.0
- Used by
pdfium-render- A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project.- License:
MITorApache-2.0
- License:
hayro- A rasterizer for PDF files.- Has a demo website.
- License:
Apache-2.0
poppler- Wrapper for the GPL-licensed Poppler PDF rendering library.- License:
GPL-2.0
- License:
printpdf- Rust library for reading and writing PDF files- Has a printpdf-wasm Demo
- License:
MIT
pdfium- Modern Rust interface to PDFium, the PDF library from Google- Used by
MView6. - License:
GPL-3.0
- Used by
- PDF.js - A general-purpose, web standards-based platform for parsing and rendering PDFs.
- Can maybe be used inside a webview.
There are some other Rust projects that can be used to view PDF files:
- vincent-uden/miro: A native pdf viewer for Windows and Linux (Wayland/X11) with configurable keybindings.
- itsjunetime/tdf: A tui-based PDF viewer
- newinnovations/MView6: High-performance PDF and photo viewer built with Rust and GTK4
This project is released under Apache License (Version 2.0).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.