HKGx / xkcd-ascii

Converts xkcd comics to ascii art. GCI task.
1 stars 0 forks source link
gci google-code-in xkcd xkcd-comics

made for google code in 2019

xkcd-ascii

don't mind the code, it's completly rusty

Converts xkcd comics to ascii

USAGE:
    xkcd-ascii [id]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <id>    Id of xkcd comic. If not provided then a random comic is fetched.

how to build

git clone https://github.com/HKGx/xkcd-ascii.git
cd xkcd-ascii
cargo build

the files should be somewhere in the target directory

how to use

simply invoke

./xkcd-ascii 

you can also specify which comic do you want to fetch by doing e.g.

./xkcd-ascii 5

proof of build

asciicast

proof of use

asciicast