termage

command module
v0.6.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 5 Imported by: 0

README

termage

GitHub go.mod Go version CI Go Report Card codecov

GitHub all releases

Browse images in the terminal with support for animated GIFs 🎉

Examples

PNG image

Viewing a PNG image

Animated GIF

Viewing an animated GIF

Installation

The following commands simplify installing from the latest release.

Linux/MacOS
curl https://raw.githubusercontent.com/spenserblack/termage/HEAD/install.sh | bash
PowerShell
Invoke-WebRequest "https://raw.githubusercontent.com/spenserblack/termage/HEAD/install.ps1" | Invoke-Expression

Usage

Help
termage --help
Browse all images in a directory
Starting from first image in directory
termage path/to/dir/
Starting from a specific image
termage path/to/dir/image
Browse a specific subset of images
termage path/to/image1 path/to/image2 # ...

Controls

  • n: Next image
  • N: Previous image
  • z: Increase zoom by 10 percentiles
  • Z: Decrease zoom by 10 percentiles
  • f: Fit to screen
  • h: Scroll left one pixel
  • H: Scroll left 10%
  • j: Scroll down one pixel
  • J: Scroll down 10%
  • k: Scroll up one pixel
  • K: Scroll up 10%
  • l: Scroll right one pixel
  • L: Scroll right 10%
  • Esc: Exit application

Supported Formats

  • PNG
  • JPEG
  • GIF

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd
pkg
gif

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL