sophuwu.site > sketch
Terminal image viewer. Unlike other implementations, this will scale the image to fit in the terminal; maintaining aspect ratio.
Clone this repository git clone https://sophuwu.site/sketch

Sketch

This program allows you to view images in your terminal.

Features

Usage

sketch </path/to/images>
# or for 60% size
sketch -6 </path/to/images>
# you can even change size in the middle of the images
sketch cat.png -4 dog.jpg
# will output cat.png with 100% scale and dog.jpg at 40% size

Installation Instructions

  1. clone it bash git clone <url ^ that way> cd sketch 2. go build it bash go build -o sketch -ldflags "-s -w" -trimpath .
  2. install it bash chmod +x sketch sudo install sketch /usr/local/bin/sketch