2021-12-12 18:27:06 +01:00
2021-12-12 16:29:29 +01:00
2021-12-12 18:27:06 +01:00
2021-12-12 18:27:06 +01:00
2021-12-12 18:27:06 +01:00
2021-12-12 18:27:06 +01:00

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 ./cmd/imgcat

Usage

./imgcat -url "https://images.pexels.com/photos/2558605/pexels-photo-2558605.jpeg?cs=srgb&dl=pexels-anel-rossouw-2558605.jpg&fm=jpg" -height 25
Capture d’écran 2021-12-11 à 17 40 55

Help

# imgcat -h
Usage of imgcat:
  -height int
    	maximum height in lines
  -url string
    	url of the jpg
Description
Display image in the terminal
Readme 87 KiB
Languages
Go 85.3%
Makefile 14.7%