O que é viu?
viu is a small but powerful command-line image viewer written in Rust that displays images directly in your terminal. It adapts to your terminal's capabilities, using the best available protocol — from the high-fidelity Kitty and iTerm2 graphics protocols down to Unicode block characters as a universal fallback.
⚡ Key Features of viu
🖼️ Multiple Display Protocols
Supports Kitty terminal graphics protocol, iTerm2 inline images, Sixel graphics, and Unicode block characters — automatically picks the best one for your terminal.
📦 Wide Format Support
Displays PNG, JPEG, GIF, BMP, ICO, TIFF, WebP, AVIF, and many more formats via Rust's image crate.
🎞️ GIF Animation
Plays animated GIFs directly in the terminal, looping through frames at the correct frame rate.
📏 Flexible Sizing
Control width, height, or let viu auto-fit the image to your terminal window. Useful for pipelines and scripting.
🔗 Pipe-Friendly
Reads from stdin or file arguments, making it composable with tools like curl, find, and shell pipelines.
⚡ Fast & Lightweight
Written in Rust — minimal startup time, low memory footprint, and no runtime dependencies beyond the binary.
🖥️ Supported Terminal Protocols
- Kitty: Full-resolution pixel-perfect images (kitty, Ghostty, WezTerm)
- iTerm2: Inline image protocol (iTerm2, WezTerm, Tabby, VSCode)
- Sixel: Compatible with foot, Windows Terminal, and many classic terminals
- Unicode blocks: Universal fallback — works in every terminal
📦 Installation from debian.griffo.io
Passo 1: Adicionar repositório
Passo 2: Instalar viu
🎯 Exemplos de uso básico
Basic usage:
Sizing options:
Pipeline examples:
🚀 Por que escolher debian.griffo.io?
- Ubuntu oficial: viu não está empacotado nos repositórios oficiais do Ubuntu
- Cargo Install: Requires Rust toolchain and compilation time
- debian.griffo.io: Latest version (1.6.1+) available immediately via
apt
- ✅ Latest Features: Get newest viu features including AVIF and improved protocol support
- ✅ No Rust Compilation: Pre-built musl static binary, no toolchain or extra dependencies needed
- ✅ Automatic Updates: Packages updated within hours of upstream releases
- ✅ Proper Packaging: Correctly packaged as a package with clean install/remove
- ✅ Multi-Distribution: Funciona no Jammy, Noble, Questing e Resolute
📦 Repositório de build do pacote
Os pacotes Ubuntu são automaticamente construídos e mantidos neste repositório GitHub:
- 🖼️ viu-debian - Latest release builds
🔗 Pacotes relacionados
Também disponível em debian.griffo.io:
- Gerenciador de Arquivos Yazi - Gerenciador de arquivos de terminal com previsualização de imagens integrada
- eza - Substituto moderno do ls
- fzf Fuzzy Finder - Combine com viu para navegação interativa de imagens
💝 Support This Project
If this repository saves you time and effort, please consider supporting it!