mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-01 23:51:46 -04:00
e3ccb26d66596e432ba2462cf92b483eb31fee97
Removing verbose it's okay, I'm not sure if cargo test tests linking the same binary as cargo build. So I'm not sure if it should be tested, furthermore maybe it makes sense to test in release mode rather than debug mode? Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>
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%
