Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup structure #24

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 31 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,36 @@
╹ ╹┗━┛┗━╸┗━╸ ╹ ╹ ┗━┛╹ ╹ ╹ ┗━┛
```

my collection of ascii art fonts for [figlet](http://www.figlet.org/) or [toilet](http://caca.zoy.org/wiki/toilet).
My collection of ascii art fonts for [figlet](http://www.figlet.org/) or [toilet](http://caca.zoy.org/wiki/toilet).

install files to `/usr/share/figlet/` or `/usr/share/figlet/fonts/`.
# Getting Started
## Requirements

View example text at [examples](Examples.md).
* [figlet](http://www.figlet.org/)
* a CLI (if you're on Windows, this is the Command Prompt; for Linux and Mac, this is your Terminal)

## Installing Fonts
Run the following command in your CLI to install all fonts in this repository to your figlet fonts directory:

`sudo wget https://github.com/xero/figlet-fonts/archive/master.zip && sudo unzip -j master.zip 'figlet-fonts-master/examples/*' -d "$(figlet -I 2)" && sudo rm master.zip`

This command will download the latest version of this repository, unzip it, and install all fonts to the right figlet fonts directory.

If you want to install a specific font, you can download it from the [fonts](fonts) directory and place it in your figlet fonts directory (output of `echo "$(figlet -I 2)"`).

If you want to see examples of the fonts before installing anything to your Figlet fonts directory, proceed to the next section.

## Viewing Examples of each Font
You can view examples of each font at [examples](fonts/Examples.md). However, if you want to see a consistent sample message for each font on your terminal, you can run a simple command.

Wihtout copying all the contents to your Figly fonts directory clone this repo wherever you'd like. From the root directory (i.e. `figlet-fonts/``), run the following command:

`for file in ./examples/*.txt; do if [ -f "$file" ]; then echo "Contents of $(basename "$file"):"; cat "$file"; echo "-----------------------"; fi; done`

This will print `this is an example` in each font.

If you are using something like [lolcat](https://github.com/busyloop/lolcat) to further stylize, then you can ammend the command to look like this:

`for file in ./examples/*.txt; do if [ -f "$file" ]; then echo "Contents of $(basename "$file"):"; cat "$file" | lolcat; echo "-----------------------"; fi; done`

Be warned that using lolcat with this command greatly increases the time it takes to run.
2 changes: 2 additions & 0 deletions examples/1Row.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
~|~ |-| | _\~ | _\~ /\ |\| [- >< /\ |\/| |^ |_ [-

16 changes: 16 additions & 0 deletions examples/3-D.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
********** ** ** **
/////**/// /** // //
/** /** ** ****** ** ****** ****** *******
/** /****** /** **//// /** **//// //////** //**///**
/** /**///**/**//***** /**//***** ******* /** /**
/** /** /**/** /////** /** /////** **////** /** /**
/** /** /**/** ****** /** ****** //******** *** /**
// // // // ////// // ////// //////// /// //
**
****** /**
***** ** ** ****** ********** /**///** /** *****
**///**//** ** //////** //**//**//**/** /** /** **///**
/******* //*** ******* /** /** /**/****** /**/*******
/**//// **/** **////** /** /** /**/**/// /**/**////
//****** ** //**//******** *** /** /**/** ***//******
////// // // //////// /// // // // /// //////
64 changes: 64 additions & 0 deletions examples/3D Diagonal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
,----,
,/ .`|
,` .' : ,---,
; ; /,--.' | ,--, ,--,
.'___,/ ,' | | : ,--.'| ,--.'|
| : | : : : | |, .--.--. | |, .--.--.
; |.'; ; : | |,--.`--'_ / / ' `--'_ / / '
`----' | | | : ' |,' ,'| | : /`./ ,' ,'| | : /`./
' : ; | | /' :' | | | : ;_ ' | | | : ;_
| | ' ' : | | || | : \ \ `. | | : \ \ `.
' : | | | ' | :' : |__ `----. \ ' : |__ `----. \
; |.' | : :_:,'| | '.'| / /`--' / | | '.'| / /`--' /
'---' | | ,' ; : ;'--'. / ; : ;'--'. /
`--'' | , / `--'---' | , / `--'---'
---`-' ---`-'





,---,
,-+-. / |
,--.--. ,--.'|' |
/ \ | | ,"' |
.--. .-. | | | / | |
\__\/: . . | | | | |
," .--.; | | | | |/
/ / ,. | | | |--'
; : .' \| |/
| , .-./'---'
`--`---'



____ ,--,
,' , `.,-.----. ,--.'|
,-+-,.' _ |\ / \ | | :
,--, ,--, ,-+-. ; , ||| : |: : '
,---. |'. \/ .`| ,--.--. ,--.'|' | ||| | .\ :| ' |
/ \ ' \/ / ; / \ | | ,', | |,. : |: |' | |
/ / | \ \.' / .--. .-. | | | / | |--' | | \ :| | :
. ' / | \ ; ; \__\/: . . | : | | , | : . |' : |__
' ; /| / \ \ \ ," .--.; | | : | |/ : |`-'| | '.'|
' | / |./__; ; \/ / ,. | | | |`-' : : : ; : ;
| : || :/\ \ ; : .' \| ;/ | | : | , /
\ \ / `---' `--`| , .-./'---' `---'.| ---`-'
`----' `--`---' `---`







,---.
/ \
/ / |
. ' / |
' ; /|
' | / |
| : |
\ \ /
`----'

40 changes: 40 additions & 0 deletions examples/3D-ASCII.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
_________ ___ ___ ___ ________ ___ ________
|\___ ___\\ \|\ \|\ \|\ ____\ |\ \|\ ____\
\|___ \ \_\ \ \\\ \ \ \ \ \___|_ \ \ \ \ \___|_
\ \ \ \ \ __ \ \ \ \_____ \ \ \ \ \_____ \
\ \ \ \ \ \ \ \ \ \|____|\ \ \ \ \|____|\ \
\ \__\ \ \__\ \__\ \__\____\_\ \ \ \__\____\_\ \
\|__| \|__|\|__|\|__|\_________\ \|__|\_________\
\|_________| \|_________|


________ ________
|\ __ \|\ ___ \
\ \ \|\ \ \ \\ \ \
\ \ __ \ \ \\ \ \
\ \ \ \ \ \ \\ \ \
\ \__\ \__\ \__\\ \__\
\|__|\|__|\|__| \|__|



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


_______
|\ ___ \
\ \ __/|
\ \ \_|/__
\ \ \_|\ \
\ \_______\
\|_______|



16 changes: 16 additions & 0 deletions examples/3d.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
██████████ ██ ██ ██
░░░░░██░░░ ░██ ░░ ░░
░██ ░██ ██ ██████ ██ ██████ ██████ ███████
░██ ░██████ ░██ ██░░░░ ░██ ██░░░░ ░░░░░░██ ░░██░░░██
░██ ░██░░░██░██░░█████ ░██░░█████ ███████ ░██ ░██
░██ ░██ ░██░██ ░░░░░██ ░██ ░░░░░██ ██░░░░██ ░██ ░██
░██ ░██ ░██░██ ██████ ░██ ██████ ░░████████ ███ ░██
░░ ░░ ░░ ░░ ░░░░░░ ░░ ░░░░░░ ░░░░░░░░ ░░░ ░░
██
██████ ░██
█████ ██ ██ ██████ ██████████ ░██░░░██ ░██ █████
██░░░██░░██ ██ ░░░░░░██ ░░██░░██░░██░██ ░██ ░██ ██░░░██
░███████ ░░███ ███████ ░██ ░██ ░██░██████ ░██░███████
░██░░░░ ██░██ ██░░░░██ ░██ ░██ ░██░██░░░ ░██░██░░░░
░░██████ ██ ░░██░░████████ ███ ░██ ░██░██ ███░░██████
░░░░░░ ░░ ░░ ░░░░░░░░ ░░░ ░░ ░░ ░░ ░░░ ░░░░░░
64 changes: 64 additions & 0 deletions examples/3d_diagonal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
,----,
,/ .`|
,` .' : ,---,
; ; /,--.' | ,--, ,--,
.'___,/ ,' | | : ,--.'| ,--.'|
| : | : : : | |, .--.--. | |, .--.--.
; |.'; ; : | |,--.`--'_ / / ' `--'_ / / '
`----' | | | : ' |,' ,'| | : /`./ ,' ,'| | : /`./
' : ; | | /' :' | | | : ;_ ' | | | : ;_
| | ' ' : | | || | : \ \ `. | | : \ \ `.
' : | | | ' | :' : |__ `----. \ ' : |__ `----. \
; |.' | : :_:,'| | '.'| / /`--' / | | '.'| / /`--' /
'---' | | ,' ; : ;'--'. / ; : ;'--'. /
`--'' | , / `--'---' | , / `--'---'
---`-' ---`-'





,---,
,-+-. / |
,--.--. ,--.'|' |
/ \ | | ,"' |
.--. .-. | | | / | |
\__\/: . . | | | | |
," .--.; | | | | |/
/ / ,. | | | |--'
; : .' \| |/
| , .-./'---'
`--`---'



____ ,--,
,' , `.,-.----. ,--.'|
,-+-,.' _ |\ / \ | | :
,--, ,--, ,-+-. ; , ||| : |: : '
,---. |'. \/ .`| ,--.--. ,--.'|' | ||| | .\ :| ' |
/ \ ' \/ / ; / \ | | ,', | |,. : |: |' | |
/ / | \ \.' / .--. .-. | | | / | |--' | | \ :| | :
. ' / | \ ; ; \__\/: . . | : | | , | : . |' : |__
' ; /| / \ \ \ ," .--.; | | : | |/ : |`-'| | '.'|
' | / |./__; ; \/ / ,. | | | |`-' : : : ; : ;
| : || :/\ \ ; : .' \| ;/ | | : | , /
\ \ / `---' `--`| , .-./'---' `---'.| ---`-'
`----' `--`---' `---`







,---.
/ \
/ / |
. ' / |
' ; /|
' | / |
| : |
\ \ /
`----'

6 changes: 6 additions & 0 deletions examples/3x5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

### # # # #
# ### ## ## ## ## ### # # ## ### ### # ###
# # # # # # # # # # # ## # # # ### # # # ##
# # # ## ## ## ## ### # # ### # # ### # # ### ## ###
# #
8 changes: 8 additions & 0 deletions examples/4Max.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
888888 88 88 88 .dP"Y8 88 .dP"Y8 db 88b 88
88 88 88 88 `Ybo." 88 `Ybo." dPYb 88Yb88
88 888888 88 o.`Y8b 88 o.`Y8b dP__Yb 88 Y88
88 88 88 88 8bodP' 88 8bodP' dP""""Yb 88 Y8
888888 Yb dP db 8b d8 88""Yb 88 888888
88__ YbdP dPYb 88b d88 88__dP 88 88__
88"" dPYb dP__Yb 88YbdP88 88""" 88 .o 88""
888888 dP Yb dP""""Yb 88 YY 88 88 88ood8 888888
12 changes: 12 additions & 0 deletions examples/5 Line Oblique.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

/__ ___/
/ / / __ ( ) ___ ( ) ___ ___ __
/ / // ) ) / / (( ) ) / / (( ) ) // ) ) // ) )
/ / // / / / / \ \ / / \ \ // / / // / /
/ / // / / / / // ) ) / / // ) ) ((___( ( // / /


___ ___ _ __ ___ // ___
//___) ) \\ / / // ) ) // ) ) ) ) // ) ) // //___) )
// \/ / // / / // / / / / //___/ / // //
((____ / /\ ((___( ( // / / / / // // ((____
14 changes: 14 additions & 0 deletions examples/5lineoblique.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


/__ ___/
/ / / __ ( ) ___ ( ) ___ ___ __
/ / // ) ) / / (( ) ) / / (( ) ) // ) ) // ) )
/ / // / / / / \ \ / / \ \ // / / // / /
/ / // / / / / // ) ) / / // ) ) ((___( ( // / /



___ ___ _ __ ___ // ___
//___) ) \\ / / // ) ) // ) ) ) ) // ) ) // //___) )
// \/ / // / / // / / / / //___/ / // //
((____ / /\ ((___( ( // / / / / // // ((____
4 changes: 4 additions & 0 deletions examples/AMC 3 Line.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.-. . . .-. .-. .-. .-. .-. . . .-. . . .-. . . .-. . .-.
| |-| | `-. | `-. |-| |\| |- )( |-| |\/| |-' | |-
' ' ` `-' `-' `-' `-' ` ' ' ` `-' ' ` ` ' ' ` ' `-' `-'

8 changes: 8 additions & 0 deletions examples/AMC 3 Liv1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
. .:;S;:. .: S;:. .: S;:. .:;S;:. .:;S;:.
S:;s;:' S .:;s;:' S S S .:;s;:' S S S S S /
` `:;S;:' `:;S :' `:;S :' `:;S;:' `:;S;:'

.:;.;:. .:;S;:. .:;S;:. .::. :.
S S S S S S ) S S S S S S
`:;S;:' `:;';:' `:;S;:' `:;S;:' `:;S;:' `:;S;:' `:;S;:'

45 changes: 45 additions & 0 deletions examples/AMC AAA01.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
sdSS_SSSSSSbs .S S. .S sSSs .S sSSs
YSSS~S%SSSSSP .SS SS. .SS d%%SP .SS d%%SP
S%S S%S S%S S%S d%S' S%S d%S'
S%S S%S S%S S%S S%| S%S S%|
S&S S%S SSSS%S S&S S&S S&S S&S
S&S S&S SSS&S S&S Y&Ss S&S Y&Ss
S&S S&S S&S S&S `S&&S S&S `S&&S
S&S S&S S&S S&S `S*S S&S `S*S
S*S S*S S*S S*S l*S S*S l*S
S*S S*S S*S S*S .S*P S*S .S*P
S*S S*S S*S S*S sSS*S S*S sSS*S
S*S SSS S*S S*S YSS' S*S YSS'
SP SP SP SP
Y Y Y Y

.S_SSSs .S_sSSs
.SS~SSSSS .SS~YS%%b
S%S SSSS S%S `S%b
S%S S%S S%S S%S
S%S SSSS%S S%S S&S
S&S SSS%S S&S S&S
S&S S&S S&S S&S
S&S S&S S&S S&S
S*S S&S S*S S*S
S*S S*S S*S S*S
S*S S*S S*S S*S
SSS S*S S*S SSS
SP SP
Y Y

sSSs .S S. .S_SSSs .S_SsS_S. .S_sSSs S. sSSs
d%%SP .SS SS. .SS~SSSSS .SS~S*S~SS. .SS~YS%%b SS. d%%SP
d%S' S%S S%S S%S SSSS S%S `Y' S%S S%S `S%b S%S d%S'
S%S S%S S%S S%S S%S S%S S%S S%S S%S S%S S%S
S&S S%S S%S S%S SSSS%S S%S S%S S%S d*S S&S S&S
S&S_Ss SS SS S&S SSS%S S&S S&S S&S .S*S S&S S&S_Ss
S&S~SP S_S S&S S&S S&S S&S S&S_sdSSS S&S S&S~SP
S&S SS~SS S&S S&S S&S S&S S&S~YSSY S&S S&S
S*b S*S S*S S*S S&S S*S S*S S*S S*b S*b
S*S. S*S S*S S*S S*S S*S S*S S*S S*S. S*S.
SSSbs S*S S*S S*S S*S S*S S*S S*S SSSbs SSSbs
YSSP S*S S*S SSS S*S SSS S*S S*S YSSP YSSP
SP SP SP SP
Y Y Y Y

Loading