cermic

Crates.iocermic
lib.rscermic
version1.0.0
sourcesrc
created_at2023-11-12 00:26:29.476755
updated_at2023-11-12 00:26:29.476755
descriptionPrint .png images in your terminal as ascii art!
homepage
repository
max_upload_size
id1032524
size180,782
Jackson Novak (Oglo12)

documentation

README

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

Commit count: 0

cargo fmt