mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-01 23:51:46 -04:00
9cf4a8e0d826bc9f1dda7e63a7fdedfb95bc2f68
* - Update deps - Explicitly run benches in CI, specifically only adobe_example pdf to make it quicker - Render bottom message from Cow to avoid extra allocations - Fix issue with hitting esc after jumping around pdf * Install perftools to get criterion compiling * Install libunwind-dev to get perftools installing * Build with poppler 23.10 instead of .12 to maybe prevent segfault in CI * Go back down to 23_7 poppler? * Maybe more apt installs will get CI to work * Build *with* boost?
tdf
A terminal-based PDF viewer.
Designed to be performant, very responsive, and work well with even very large PDFs. Built with ratatui.
Features:
- Asynchronous Rendering
- Searching
- Hot reloading
- Responsive details about rendering/search progress
- Reactive layout
To Build
First, you need to install the system dependencies. This includes packages such as (but not limited to) cairo, gtk, and poppler. If you're on linux, these will probably show up in your package manager as something like libcairo-devel or cairo-dev.
If it turns out that you're missing one of these, it will fail to compile and tell you what library you're missing. Find the development package for that library in your package manager, install it, and try to build again. Now, the important steps:
- Get the rust toolchain from rustup.rs
- Clone the repo and
cdinto it - Run
cargo build --release
Why in the world would you use this?
I dunno. Just for fun, mostly.
Can I contribute?
Yeah, sure. Please do.
Languages
Rust
99.5%
Shell
0.3%
Nix
0.2%
