freref / fancy-cat
git clone https://github.com/freref/fancy-cat.git
π₯ on GitHub Trending today
PDF reader for terminal emulators using the Kitty image protocol
+1
stars, 24h Β· #7,659
+~7
stars, 7 days Β· #8,328
+~30
stars, 30 days Β· #14,297
575
β
total Β· +1% this week
25
forks Β· 19 open issues
Star history (as recorded here)
LanguageZig
LicenseAGPL-3.0
Created2024-11-02 (1y ago)
Last push2mo ago
Watchers5
OwnerUser
Seen on GitHub Trending
- 2026-10-22 β #10 daily in zig
- 2026-10-21 β #14 daily in zig
- 2026-10-20 β #14 daily in zig
GitHub topics
Links
- GitHub: github.com/freref/fancy-cat
- Releases Β· Issues Β· Hacker News mentions
README excerpt
π fancy-cat PDF viewer for terminals using the Kitty image protocol ## Usage [code] ### Commands fancy-cat uses a modal interface similar to Neovim. There are two modes: view mode and command mode. To enter command mode you type `:` by default (this can be changed in the config file). Documentation on the available commands can be found here. ### Configuration fancy-cat can be configured through a JSON configuration file located in one of several locations (primary `$XDG_CONFIG_HOME/fancy-cat/config.json`, fallback `$HOME/.config/fancy-cat/config.json`, legacy `$HOME/.fancy-cat`). An empty configuration file is automatically created in the primary or fallback location on the first run. An example `config.json` and documentation can be found here. ## Installation `fancy-cat` is available in the following repositories: ## Build Instructions ### Requirements - Zig version `0.15.2` - Terminal emulator with the Kitty image protocol (e.g. Kitty, Ghostty, WezTerm, etc.) ### Build 1. Fetch submodules: [code] 2. Build the project: [code] > [!NOTE] > There is a known issue with some processors; if the build fails on step 7/10 with the error `LLVM ERROR: Do not know how to expand the result of this operator!` then try the command below instead: > > [code] 3. Install: [code] ### Run [code] ## Features - β Filewatch (hot-reload) - β Runtime config - β Custom keymappings - β Modal interface - β Commands - β Colorize mode (dark-mode) - β Status bar - β Page navigation (zoom, prev, next, etc.) ## License AGPL-3.0-or-later ## Contributing Contributions are welcome.