Skip to main content

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).

GitHub: https://github.com/hanxi/svn-viewer

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)
  • svn command-line client installed and available in PATH

Installation

git clone https://github.com/hanxi/svn-viewer.git
cd svn-viewer
pip install -e .

Or install dependencies directly:

pip install urwid term-image pillow pygments

Usage

python main.py <svn_url>

Example:

python main.py 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svn_viewer-0.1.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

svn_viewer-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file svn_viewer-0.1.1.tar.gz.

File metadata

  • Download URL: svn_viewer-0.1.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for svn_viewer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 862a50c8cc07c0177764bfea4a59578ff15d651839fe6e54b99b8636481e43d3
MD5 4af3300dac2c3180840baa79e919b6f9
BLAKE2b-256 04f0d1e901c457aa455906a223689e14fbce6efa6d0182f6c7d00b843e07c38e

See more details on using hashes here.

Provenance

The following attestation bundles were made for svn_viewer-0.1.1.tar.gz:

Publisher: publish.yml on hanxi/svn-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file svn_viewer-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: svn_viewer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for svn_viewer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c949a1f10f641a4e768876ba2ca0cc2c6f45b9acb3d60fdbf3edb7c1eabe6651
MD5 3691f2e1d7d1bddb0036889636102227
BLAKE2b-256 e00c80dcc35ef31f49524bf02e844d2b34df28a78e2a72c01a32131825e4ef6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for svn_viewer-0.1.1-py3-none-any.whl:

Publisher: publish.yml on hanxi/svn-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page