#png #ascii-art #image #text-image #linux #linux-terminal #platform

app cermic

Print .png images in your terminal as ascii art!

1 stable release

1.0.0 Nov 12, 2023

#1619 in Text processing

GPL-3.0-or-later

140KB
186 lines

Cermic

A little program written in Rust that prints random PNG images to the terminal in text grabbed from an image repo.

NOTE: As of right now, Cermic is only officially supported by Linux, but it might work on other Linux-like platforms.

Installation (/usr/local/bin/)

You can easily install Cermic to any Linux distro with these steps!

  1. Make sure Git is installed.
  2. Make sure Rust is installed. (https://rust-lang.org)
  3. Run the following command.
git clone https://codeberg.org/Oglo12/cermic.git && cd cermic && cargo build --release && sudo mv target/release/cermic /usr/local/bin/ && cd .. && rm -rf cermic && echo "All done! :-)" && echo "Now you can use the command \"cermic\"!"

How to Use

Run the program with 2 arguments, the scale and the PNG repo (full path). And if you so like, you can add this in your .bashrc on Linux for example.

Btw, you can specify a specific file with the -f option!

Examples:

Directory: cermic 1 ~/.cermic_repo
File: cermic 1 ~/.cermic_repo/sh_red.png -f

Dependencies

~5–11MB
~102K SLoC