https://github.com/toodemhard/asciify
ascii art generator
https://github.com/toodemhard/asciify
cli go library
Last synced: 6 months ago
JSON representation
ascii art generator
- Host: GitHub
- URL: https://github.com/toodemhard/asciify
- Owner: toodemhard
- Created: 2023-05-22T23:05:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T12:55:50.000Z (almost 3 years ago)
- Last Synced: 2024-07-08T01:35:32.937Z (almost 2 years ago)
- Topics: cli, go, library
- Language: Go
- Homepage:
- Size: 51.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLI

## Install
Clone and cd into repository.
```sh
git clone https://github.com/toodemhard/asciify.git
cd asciify
```
Build and install to `/usr/local/bin/asciify`.
- Requires go version 1.21
```sh
./install
```
## Uninstall
```sh
rm /usr/local/bin/asciify
```
or use the uninstall script
```sh
cd asciify
./uninstall
```
## Usage
Show help page
```sh
asciify -h
```
```
Usage:
asciify [OPTIONS]
Application Options:
-f, --file= Image file path to source
-i, --invert Invert the values of the image
-c, --charset=[braille|blocks|simple|standard|detailed] Set of characters to use in output (default: simple)
-s, --scale= Width of output in number of characters (default: 20)
-m, --sampleMethod=[mid|min|max|mean] Method of converting grid of pixels to character (default: mid)
Help Options:
-h, --help Show this help message
```
# Library
## Install
```sh
go get -u github.com/toodemhard/asciify
```