Skip to content

JosephLai241/AAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

____________________________
________    |__    |_  ____/
_______  /| |_  /| |  / __  
______  ___ |  ___ / /_/ /  
     /_/  |_/_/  |_\____/   

GitHub top language Travis (.org) GitHub Workflow Status GitHub release (latest by date)

Table of Contents

Introduction

This is an ASCII art generator written in Python (pyfiglet).

I wanted to make some ASCII art for my Raspberry Pi's MOTD and wondered if I could program something in Python that could generate it for me. I did some Googling and found pyfiglet, which is a full port of FIGlet into Python and would allow me to make such a program.

I figured I could recreate it into a tool like URS and put it on my profile, so here is the final product. Enjoy!

Walkthrough

There are four flags you can use with this program: -l, -e, -m, and -r.

List All Available Fonts

$ ./AAG.py -l

Use this flag to see a list of all available fonts and their corresponding number. You will need the number to create your ASCII art.

Generate Examples for All Fonts

$ ./AAG.py -e

This flag will provide examples for each font.

Generate Custom ASCII Art

$ ./AAG.py -m FONT_NUM TEXT

This flag is used to generate your ASCII art.

It takes 2 arguments - the font number and the string you want to generate art for.

Generate ASCII Art From a Random Font

$ ./AAG.py -r TEXT

If you're feeling adventurous, let AAG choose the font for you.

Additional Help

$ ./AAG.py -h

Use the help flag to see example usage and additional help.