Botspot / unicode-art

Easily make detailed terminal art with unicode characters in this simple viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Would you believe that you can display almost anything in the terminal with enough practice and patience?
afterburner-ascii
pi-apps-ascii

The hardest part is finding the perfect text characters to make these shapes. Many of the best ones will display properly in the terminal but not on the browser!

This simple github repository tries to solve that problem with a shell script to clearly display all the useful unicode characters for your ASCII-art needs.

Just download the repo and run the script.

git clone https://github.com/Botspot/unicode-art
./unicode-art/viewer.sh

This displays all of the useful characters, categorized by shape and type. All characters have been spaced apart for clarity and easy copy-and-paste.
unicode-art viewer.sh screenshot

PRO TIPS:

  1. Zoom in to see the characters better. On LXTerminal this is Ctrl Shift +.
  2. If your normal text editor cannot display these characters, try a command-line text editor like nano or vim.
  3. To color your art use https://misc.flogisoft.com/bash/tip_colors_and_formatting
  4. Change the viewer colors by editing the first few lines in viewer.sh. With this you can set the foreground color (fg), the background color for the whole terminal (bg), and the background color for each displayed character (bk).
  5. If you want maximum-density pixel art, check out the Braille characters. There were too many to include in this script, but use that link to see those. Please open an issue if you would find a new braille-viewer.sh script useful.

Troubleshooting:

  1. Question: Help! the characters are not appearing in the terminal!
    Answer: Try using a newer OS version. Most of these characters are part of Unicode's Symbols for Legacy Computing, and these were added to Linux operating systems only a few years ago.
    Run this to check the version of unicode support on your system:
    file /usr/lib/aarch64-linux-gnu/libicudata.so | sed -n 's/.*libicudata.so.//p'
    
    If it is 66 or greater, then everything should render correctly.
  2. Question: Can I make these special characters appear correctly in my web browser my favorite text editor?
    Answer: Yes! Just follow this tutorial to get the right font package installed. Then close and re-open your programs.

About

Easily make detailed terminal art with unicode characters in this simple viewer


Languages

Language:Shell 100.0%