A simple Go-based CLI tool that converts text strings into ASCII art banners using predefined templates.
- Converts alphanumeric text and symbols into stylized ASCII banners.
- Supports multiple banner styles (standard, shadow, thinkertoy).
- Uses Go's
embedpackage to bundle banner files directly into the binary. - Handles multi-line input via literal
\ncharacters.
Ensure you have Go installed.
-
Clone or navigate to the project directory:
cd /Go_artify -
Build the project:
go build -o go_artify
Run the program with a single string argument. Use \n for new lines.
./go_artify "Hello\nWorld"$ ./go_artify "Hi"
_ _ _
| | | || |
| |__| || |
| __ || |
| | | || |
|_| |_||_|
The tool relies on template files where each character is represented by 8 lines of ASCII art:
standard.txt(Default)shadow.txtthinkertoy.txt
Currently, standard.txt is embedded by default.
Run the included tests to verify functionality:
go test -v