1.2.5 • Published 6 years ago

tview v1.2.5

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

T-View: Open images inside the terminal!

T-View is an image viewer, that can load local files as well as web URL.

It is proudly powered by Terminal-kit.

First, install it globally (recommended): npm install -g tview.

Then, usage is: tview <file-path | web URL> [url2] [...] [option1] [option2] [...]

Options:

  • --move , -m : interactively move the image around
  • --scale , -s : scale relative to the terminal size (e.g.: 1 fits the terminal)
  • --help , -h : display the help

Examples:

  • tview some-image.jpg
  • tview some-image.jpg another-image.jpg
  • tview https://upload.wikimedia.org/wikipedia/commons/1/1e/Stonehenge.jpg
  • tview -m https://upload.wikimedia.org/wikipedia/commons/1/1e/Stonehenge.jpg
  • tview -m -s 3 https://upload.wikimedia.org/wikipedia/commons/1/1e/Stonehenge.jpg

If your terminal supports true colors, this would produce something like this:

True color example

If your terminal doesn't support true colors, the closest color in the available palette is used. Example with a 256 colors terminal:

256 colors example

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago