Skip to content
/ vat Public

Render SVG and Vector Drawables to your terminal

License

Notifications You must be signed in to change notification settings

jzbrooks/vat

Repository files navigation

vat

vat renders vector graphics (SVG & Android Vector Drawables) to your terminal.

Any terminal that implements the kitty graphics protocol should work (ghostty, kitty, wezterm, etc)

Installation

Homebrew

brew install jzbrooks/repo/vat

Manually

Download the distribution from the releases page and ensure it has execute permission. Give it execute permissions e.g. chmod u+x vat.

Example

Screenshot 2025-01-07 at 9 26 30 PM

The terminal is ghostty.

The image can be found at http://plurib.us/1shot/2008/eleven_below/.

Command Line Interface

> vat [options] [file]

vat renders vector artwork (SVG & Android Vector Drawable) to the terminal.

Options:
  --background-color   background color in hexadecimal RGBA format
  -s --scale           scale factor (float or integer)
  -h --help            print this message
  -v --version         print the version number

java -jar vat for Windows

Build instructions

This project uses the Gradle build system.

To build the binary: ./gradlew binary

To see all available tasks: ./gradlew tasks

About

Render SVG and Vector Drawables to your terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages