🍺 BREW Explorer

← all formulae

fancy-cat

brew install fancy-cat v0.6.0 AGPL-3.0-or-later

PDF reader for terminal emulators using the Kitty image protocol

115
30-day installs · #3281
209
90-day · #4111
1.3k
365-day · #3459
529
★ GitHub stars · updated 2mo ago

Runtime dependencies

Build dependencies

GitHub topics

cli pdf-viewer zig zig-package

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "zig@0.15"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "mujs",
    "mupdf"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "PDF reader for terminal emulators using the Kitty image protocol",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:30+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "fancy-cat",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-05-24T20:20:39Z",
  "github_readme_excerpt": "\u003ch1\u003e\n\u003cp align=\"center\"\u003e\n  \ud83d\udcd1\n  \u003cbr\u003efancy-cat\n\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    PDF viewer for terminals using the Kitty image protocol\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n![demo](https://github.com/user-attachments/assets/b1edc9d2-3b1f-437d-9b48-c196d22fcbbd)\n\n## Usage\n\n```sh\nfancy-cat \u003cpath-to-pdf\u003e \u003coptional-page-number\u003e\n```\n\n### Commands\n\nfancy-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).\n\nDocumentation on the available commands can be found [here](./docs/commands.md).\n\n### Configuration\n\nfancy-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.\n\nAn example `config.json` and documentation can be found [here](./docs/config.md).\n\n## Installation\n\n`fancy-cat` is available in the following repositories:\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/fancy-cat.svg?columns=3\u0026header=fancy-cat)](https://repology.org/project/fancy-cat/versions)\n\n## Build Instructions\n\n### Requirements\n\n- Zig version `0.15.2`\n- Terminal emulator with the Kitty image protocol (e.g. Kitty, Ghostty, WezTerm, etc.)\n\n### Build\n\n1. Fetch submodules:\n\n```\ngit submodule update --init --recursive\n```\n\n2. Build the project:\n\n```sh\nzig build --release=small\n```\n\n\u003e [!NOTE]\n\u003e There is a [known issue](https://github.com/freref/fancy-cat/issues/18) 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:\n\u003e\n\u003e ```sh\n\u003e zig build -Dcpu=\"skylake\" --release=small\n\u003e ```\n\n3. Install:\n\n```sh\n# Add to your PATH\n# Linux\nmv zig-out/bin/fancy-cat ~/.local/bin/\n\n# macOS\nmv zig-out/bin/fancy-cat /",
  "github_repo": "freref/fancy-cat",
  "github_stars": 529,
  "github_topics": [
    "cli",
    "pdf-viewer",
    "zig",
    "zig-package"
  ],
  "homepage": "https://github.com/freref/fancy-cat",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 115,
  "installs_365d": 1264,
  "installs_90d": 209,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "AGPL-3.0-or-later",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "fancy-cat",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 3281,
  "rank_365d": 3459,
  "rank_90d": 4111,
  "raw_hash": "e072a126d13a5459",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/f/fancy-cat.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.6.0",
  "versioned_formulae": [],
  "why_use_this": null
}