Peek at images from the command line


Images for the command line

Ever find yourself ssh'd into a remote server wondering what some image looks like, and without an easy way to look at it? You need goggles.

You'll need Cairo on your system.


    npm install -g goggles
    $ goggles lenna.png --width 120

    $ cat mona.jpg | goggles

(Please note, like with all goggles, you're gonna have to squint a bit)