Skip to content

Asa-Steve/Go_artify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASCII Art Generator

A simple Go-based CLI tool that converts text strings into ASCII art banners using predefined templates.

Features

  • Converts alphanumeric text and symbols into stylized ASCII banners.
  • Supports multiple banner styles (standard, shadow, thinkertoy).
  • Uses Go's embed package to bundle banner files directly into the binary.
  • Handles multi-line input via literal \n characters.

Installation

Ensure you have Go installed.

  1. Clone or navigate to the project directory:

    cd /Go_artify
  2. Build the project:

    go build -o go_artify

Usage

Run the program with a single string argument. Use \n for new lines.

./go_artify "Hello\nWorld"

Example

$ ./go_artify "Hi"
 _    _  _ 
| |  | || |
| |__| || |
|  __  || |
| |  | || |
|_|  |_||_|
           

Banner Files

The tool relies on template files where each character is represented by 8 lines of ASCII art:

  • standard.txt (Default)
  • shadow.txt
  • thinkertoy.txt

Currently, standard.txt is embedded by default.

Testing

Run the included tests to verify functionality:

go test -v

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages