Skip to content
Sophuwu300Public

About

Terminal image viewer. Unlike other implementations, this will scale the image to fit in the terminal; maintaining aspect ratio.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sketch

This program allows you to view images in your terminal.

Features

  • View images in your terminal
  • Show as many images as you want at once
  • Images always scale to fit the terminal size
  • Supports png and jpg
  • Adjustable scaling with flags

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

About

Terminal image viewer. Unlike other implementations, this will scale the image to fit in the terminal; maintaining aspect ratio.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages