Skip to content

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

License

Notifications You must be signed in to change notification settings

Sophuwu300/sketch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages