celogeek / imgcat

Display image in the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imgcat

Display a remote image into the terminal.

Build

Install Go Lang from: https://go.dev/

Then build

With make

make

Or directly

go build -o imgcat

Usage

./imgcat -u "https://images.pexels.com/photos/2558605/pexels-photo-2558605.jpeg?cs=srgb&dl=pexels-anel-rossouw-2558605.jpg&fm=jpg" -r 25

Capture d’écran 2021-12-12 à 19 01 37

Help

Usage:
  imgcat [OPTIONS]

Application Options:
  -u, --url=  url of the jpg
  -r, --rows= maximum number of rows

Help Options:
  -h, --help  Show this help message

About

Display image in the terminal


Languages

Language:Go 85.3%Language:Makefile 14.7%