A terminal UI browser for SVN repositories, with syntax highlighting and image preview
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file svn_viewer-0.1.3.tar.gz.
File metadata
- Download URL: svn_viewer-0.1.3.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57d556414ce630af56d4ea2ab59a3b3301f60762b1785e85458f916d80676166
|
|
| MD5 |
db210ca9e1bbe0aebc8cde1911eb5516
|
|
| BLAKE2b-256 |
1f80236ef883a1408cd1d334fda1e3d46123bdcda5060081354e4453a5866638
|
Provenance
The following attestation bundles were made for svn_viewer-0.1.3.tar.gz:
Publisher:
publish.yml on hanxi/svn-viewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
svn_viewer-0.1.3.tar.gz -
Subject digest:
57d556414ce630af56d4ea2ab59a3b3301f60762b1785e85458f916d80676166 - Sigstore transparency entry: 1109398996
- Sigstore integration time:
-
Permalink:
hanxi/svn-viewer@c46cb89659d5bbfc30ca13f10a875afa1b13499a -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/hanxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c46cb89659d5bbfc30ca13f10a875afa1b13499a -
Trigger Event:
push
-
Statement type:
File details
Details for the file svn_viewer-0.1.3-py3-none-any.whl.
File metadata
- Download URL: svn_viewer-0.1.3-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c94d7f7f85a1a02418e61db6ae3db0681745901dcd5a80985794ffa774b17bb
|
|
| MD5 |
ca0bf50277a253a386b8b592e4c5ed9a
|
|
| BLAKE2b-256 |
df5c9bbab37e8a8a158d392b82d7ba1b7789feb1a2467e973b628030fe26c50a
|
Provenance
The following attestation bundles were made for svn_viewer-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on hanxi/svn-viewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
svn_viewer-0.1.3-py3-none-any.whl -
Subject digest:
6c94d7f7f85a1a02418e61db6ae3db0681745901dcd5a80985794ffa774b17bb - Sigstore transparency entry: 1109399025
- Sigstore integration time:
-
Permalink:
hanxi/svn-viewer@c46cb89659d5bbfc30ca13f10a875afa1b13499a -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/hanxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c46cb89659d5bbfc30ca13f10a875afa1b13499a -
Trigger Event:
push
-
Statement type: