* Initial attempt at supporting new backend for kitty images * it's almost working !! * it almost basically works * yaaayyyy it works * Use github kittage * Uhhhh various improvements from kittage and psx-shm * Remove logging * incorporate recovering from deleted images * Make it work correctly with ghostty image eviction too * fall back to stdout if shms don't work * Make help page work again * zooming basically does what you'd expect now * yay zooming woohoo * clean up top and bottom rendering * Only allow zooming in kitty * Add debug logging and fix cursor placement after image display * yaaaay zooming out once you're already zoomed in and respecting kitty's limits for how big of an image to display * mmmm maybe it's finally ready to merge... * Update deps * Switch around list of items on changelog * fmt * Small fixes to avoid panic and allow zooming back in after zooming out
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
Installation
- Get the rust toolchain from rustup.rs
- Run
rustup install nightly && cargo +nightly install --git https://github.com/itsjunetime/tdf.git
To Build
First, you need to install the system dependencies. This will generally only include libfontconfig and clang. If you're on linux, these will probably show up in your package manager as something like libfontconfig1-devel or libfontconfig-dev and just clang.
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
The binary should then be found at ./target/release/tdf.
Why in the world would you use this?
I dunno. Just for fun, mostly.
Can I contribute?
Yeah, sure. Please do.
Please note, though, that all contributions will be treated as licensed under MPL-2.0.
