Viuwa

Viuwa is a simple terminal ANSI image viewer trying to maintain bare-minimum compatibility with the wasm32-wasi target.

We use the image, clap, and the crossterm crates for cli tooling, image manipulation, and UNIX/Windows platform specific tui tooling.

It uses almost exclusively ANSI escape codes to display images in the terminal.

Kitty, Sixel, and Iterm2 protocols are not supported, There are better tools such as viu or timg for cross-protocol terminal image viewing, please go and give them love.

Pull requests implementing different protocols are allowed as long as they don't break wasm32-wasi+ANSI compatibility.

Installation

bash cargo install viuwa

Usage

Windowed image viewing (e.g. Vim)

bash viuwa [image]

Directly to stdout (e.g. Catimg)

bash viuwa [image] --inline

For more advanced usage, see the help page

bash viuwa --help

Configuration

Environment variables

Configuration file

Not yet implemented, but will be implemented in the future.

License

This project is licensed under MIT or Apache-2.0.

Contributing

See CONTRIBUTING.md.

Dependencies