Skip to content

musaubrian/goski

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOSKI

Goski converts images into ASCII art. It supports both colored and grayscale ASCII art and can automatically scale the output to fit within your terminal window.

It also supports using a remote resource by using its url.

Installation

Recommended

go install github.com/musaubrian/goski@latest

or

git clone https://github.com/musaubrian/goski

cd goski
go build .

#run the executable

Usage

Run the program with the following command-line options:

goski -img <path-to-image> [-c] [-s] [-r]

Options:

  • img <image-path>: Specifies the path to the image file you want to convert.(Required)
  • c: Outputs ASCII art with color. By default, the ASCII art is grayscale.
  • s: Automatically *scales the output to fit the dimensions of your terminal.(defaults to true)
  • r: Allows you to pass in a resource (image) from the interwebs by using the image url in the img flag

Note

To have a good time with the remote resource flag, wrap the url in quotation marks. goski -c -img "<really_long_and_or_complex_url>" -r

About

image to ascii

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages