1.0.1 • Published 4 years ago

hyper-imgcat v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

hyper-imgcat

Display a image in a terminal. This is inspired by iTerm2 imgcat.

Description

Can be displayed on tmux.

Demo

demo

Requirement

  • Hyper 3.02

Install

If you installed iTerm2 imgcat, please remove that before install hyper-imgcat.
Because this plugin hooks the words command not found: imgcat.

Download hyper-imgcat.

$ cd ~/.hyper_plugins/local
$ git clone https://github.com/Rasukarusan/hyper-imgcat.git

Add hyper-imgcat to localPlugins in ~/.hyper.js.

localPlugins: [
  'hyper-imgcat',
],

Usage

$ imgcat ~/Desktop/lion.jpg
  • The image path must be specified as an absolute path.
  • Press BACKSPACE, the image will be hidden.