svn-viewer
A terminal UI browser for SVN repositories, with syntax highlighting and image preview (Kitty graphics protocol).
Features
- 📂 Browse SVN repository directories interactively in the terminal
- 📄 Preview text files with syntax highlighting (powered by Pygments)
- 🖼️ Preview image files using the Kitty graphics protocol (requires a compatible terminal such as Kitty or Ghostty)
- ⌨️ Vim-style keyboard navigation (
j/k,h/l,esc,enter) - 🔍 Debounced preview loading to keep navigation snappy
Requirements
- Python >= 3.14
- A terminal that supports the Kitty graphics protocol (e.g., Kitty, Ghostty)
svncommand-line client installed and available inPATH
Installation
Install from PyPI:
pip install svn-viewer
Or clone and install locally for development:
git clone https://github.com/hanxi/svn-viewer.git
cd svn-viewer
pip install -e .
Usage
Run directly without installing (via uv):
uvx svn-viewer <svn_url>
Or if installed via pip:
svn-viewer <svn_url>
Example:
uvx svn-viewer https://svn.apache.org/repos/asf/
Keyboard Shortcuts
| Key | Action |
|---|---|
j / ↓ |
Move cursor down |
k / ↑ |
Move cursor up |
enter / → / l |
Enter directory |
esc / ← / h |
Go back to parent directory |
d / Page Down |
Scroll preview down |
u / Page Up |
Scroll preview up |
q |
Quit |
License
This project is licensed under the MIT License.
Metadata
Release files for svn-viewer 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| svn_viewer-0.1.3.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| svn_viewer-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.3 kB
Release files / svn_viewer-0.1.3.tar.gz
| Download URL | svn_viewer-0.1.3.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57d556414ce630af56d4ea2ab59a3b3301f60762b1785e85458f916d80676166
|
|
BLAKE2b-256 checksum How to use checksums |
1f80236ef883a1408cd1d334fda1e3d46123bdcda5060081354e4453a5866638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 16, 2026.
Transparency logRelease files / svn_viewer-0.1.3-py3-none-any.whl
| Download URL | svn_viewer-0.1.3-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c94d7f7f85a1a02418e61db6ae3db0681745901dcd5a80985794ffa774b17bb
|
|
BLAKE2b-256 checksum How to use checksums |
df5c9bbab37e8a8a158d392b82d7ba1b7789feb1a2467e973b628030fe26c50a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 16, 2026.
Transparency log