SVT is a simple and efficient image viewer designed for terminal use. Built with Rust, it provides fast performance through zlib compression and render caching. With intuitive sxiv-like keyboard shortcuts, flexible viewing modes, and capabilities for clipboard integration, SVT enhances image navigation in a minimalist environment.
SVT - Simple Viewer in Terminal
SVT is an efficient, minimalistic image viewer designed for terminal use. Written in Rust, it offers a smooth experience with sxiv-like keybindings, making it an ideal choice for those seeking a lightweight solution to view images directly in the command line interface.
SVT boasts several functionalities that enhance the viewing experience:
SVT supports three distinct viewing modes to cater to various user needs:
A set of efficient keybindings enhances the user experience:
| Key | Action | Description |
|---|---|---|
j, Space, l | ➡️ Next | Navigate to the next image |
k, Backspace, h | ⬅️ Previous | Return to the previous image |
g | ⏮️ First | Jump to the first image |
G | ⏭️ Last | Jump to the last image |
f | 🔄 Toggle | Switch between display modes |
t | 🗂️ Tile | Toggle Tile and Single view |
Enter | ✅ Select | Confirm selection in Tile mode |
r | 🔃 Reload | Refresh and clear the cache |
y | 📋 Copy Path | Copy the current image path |
q | 🚪 Quit | Exit the viewer |
Customization is available through a config file or environment variables, ensuring that SVT can be tailored to suit individual preferences:
nav_latch_ms = 150
render_cache_size = 100
prefetch_count = 5
prefetch_threads = 2
compress_level = 6
cell_aspect_ratio = 2.0
resize_filter = "triangle"
tile_filter = "nearest"
tile_threads = 4
SVT is compatible with various terminal emulators, including:
For users of Tmux, SVT automatically enables passthrough functionality.
SVT represents a powerful tool for terminal users needing a fast, reliable image viewing solution that respects the lightweight ethos of the command line, while also providing a rich feature set and high-quality visuals.
No comments yet.
Sign in to be the first to comment.