#image #ascii #terminal #cli

bin+lib tapciify

CLI tool that can let you view images in terminal

4 releases

0.4.2 Feb 26, 2023
0.4.1 Jan 15, 2023
0.4.0 Jan 14, 2023
0.3.0 Jan 11, 2023

#75 in Video

Download history 62/week @ 2023-01-09 25/week @ 2023-01-16 15/week @ 2023-01-23 9/week @ 2023-01-30 8/week @ 2023-02-06 12/week @ 2023-02-13 19/week @ 2023-02-20 19/week @ 2023-02-27 2/week @ 2023-03-06

53 downloads per month

MIT license

2.5MB
190 lines

Tapciify

CLI tool that can let you view images in terminal

How to use

Install

  1. Install rustup

  2. Run:

rustup default stable
  1. Install via cargo from crates.io:
cargo install tapciify
  1. Windows: Install Microsoft Visual Studio with C++ support.

  2. Linux: Install cc-linker (Ubuntu)

apt install build-essential

Images

  1. Run: tapciify -i imageDir -w imageWidth for image.

  2. Run: tapciify -i imageDir -w imageWidth -r for reversed colors.

Videos

Requires ffmpeg

  1. Make frames from video into dir:
mkdir frames; ffmpeg -i badapple.mkv -r 24 frames/%08d.jpeg
  1. Run:
tapciify -i dir -w videoWidth -d -f 24
  • -d set mode to video
  • -f 24 - set fps for video

Examples

Original Ascii Ascii colored
Original Image Ascii image Ascii colored image
Original image (Shima Rin from Laid-Back Camp manga) tapciify -i ./assets/original.png -w 100 tapciify -i ./assets/original.png -w 100 -c

Dependencies

~19MB
~249K SLoC