Crates.io | vit |
lib.rs | vit |
version | 1.2.3 |
source | src |
created_at | 2023-12-24 00:46:19.20062 |
updated_at | 2023-12-24 20:16:12.210749 |
description | View Image in Terminal |
homepage | |
repository | https://github.com/BlackThunder080/vit |
max_upload_size | |
id | 1079372 |
size | 247,262 |
Install using cargo
cargo install vit
or download from releases
On linux you need x11 and openssl installed, to install on ubuntu or debian run
sudo apt-get install xorg-dev libssl-dev
Windows and Mac do not require any dependancies
$ vit --help
Usage: vit.exe [OPTIONS] <FILE>
Arguments:
<FILE>
Options:
-c, --char-size <CHAR_SIZE> [default: 1]
-h, --help Print help
-V, --version Print version
file
can be a path to a file or an image url
char-size
is the number of characters per pixel, usually 2 or 3 works best for square pixels
$ vit "https://cdn.pixabay.com/photo/2023/12/08/16/07/chocolate-8437801_1280.jpg" -c 2
Resolution is dependant on terminal font size
You can usually use mouse wheel scroll or trackpad pinch to set change font size