Metadata-Version: 2.4
Name: fly-pdf-tui
Version: 0.1.0
Summary: Keyboard-driven PDF viewer and editor for the terminal
Project-URL: Homepage, https://gitlab.com/fenn.stefan/fly
Project-URL: Repository, https://gitlab.com/fenn.stefan/fly
Project-URL: Issues, https://gitlab.com/fenn.stefan/fly/-/issues
License: MIT
License-File: LICENSE
Keywords: editor,pdf,terminal,textual,tui,viewer
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
Requires-Python: >=3.12
Requires-Dist: pillow>=10.0.0
Requires-Dist: pymupdf>=1.24.0
Requires-Dist: textual>=0.80.0
Description-Content-Type: text/markdown

# fly

Keyboard-driven PDF viewer and editor for the terminal.

**Features:** page navigation, rotate, delete, reorder pages — all without leaving the keyboard.

## Install

### Any Linux (pipx)
```bash
pipx install fly-tui
```

### NixOS / nix profile
```bash
nix profile install gitlab:fenn.stefan/fly
```

### NixOS configuration
```nix
{
  inputs.fly.url = "gitlab:fenn.stefan/fly";

  # in your system config:
  environment.systemPackages = [ inputs.fly.packages.${system}.default ];
}
```

### Run without installing
```bash
nix run gitlab:fenn.stefan/fly -- pdf document.pdf
```

## Usage

```bash
fly pdf <file.pdf>
```

| Key | Action |
|-----|--------|
| `j` / `k` | next / previous page |
| `g` / `G` | first / last page |
| `r` | rotate page |
| `d` | delete page |
| `q` | quit |

## Development

```bash
nix develop   # enters dev shell with all dependencies
uv run fly pdf <file>
uv run pytest
```

## License

MIT
