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

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


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.3.tar.gz (13.0 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.3-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

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

Hashes for svn_viewer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 57d556414ce630af56d4ea2ab59a3b3301f60762b1785e85458f916d80676166
MD5 db210ca9e1bbe0aebc8cde1911eb5516
BLAKE2b-256 1f80236ef883a1408cd1d334fda1e3d46123bdcda5060081354e4453a5866638

See more details on using hashes here.

Provenance

The following attestation bundles were made for svn_viewer-0.1.3.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.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

Hashes for svn_viewer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6c94d7f7f85a1a02418e61db6ae3db0681745901dcd5a80985794ffa774b17bb
MD5 ca0bf50277a253a386b8b592e4c5ed9a
BLAKE2b-256 df5c9bbab37e8a8a158d392b82d7ba1b7789feb1a2467e973b628030fe26c50a

See more details on using hashes here.

Provenance

The following attestation bundles were made for svn_viewer-0.1.3-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