Overview
The ASCII art appears on the home page of your portfolio and is the first thing visitors see. It’s displayed in bold Mauve color and centered on the screen.Configuration
ASCII art is defined in theascii_art field of your config.yaml file:
config.yaml
| character indicates a multi-line string in YAML. Each line of your ASCII art should be indented consistently.
How It’s Rendered
The ASCII art is styled and displayed using the following code:ui/home.go
Creating ASCII Art
Text to ASCII Generators
Use online tools to convert text to ASCII art: patorjk.com/software/taag/- Most popular ASCII art generator
- Multiple font styles
- Preview in real-time
- Recommended fonts: “ANSI Shadow”, “Big”, “Standard”, “Banner3”
- Simple interface
- Good for basic text conversion
- FIGlet-based generator
- Lots of font options
Custom ASCII Art
For custom designs beyond text: asciiart.eu- Gallery of pre-made ASCII art
- Browse by category
- Copy and paste designs
- Convert images to ASCII
- Adjust density and size
- Best for logos or icons
Manual Creation
You can create ASCII art manually using box-drawing characters:- Single line:
─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ - Double line:
═ ║ ╔ ╗ ╚ ╝ ╠ ╣ ╦ ╩ ╬ - Blocks:
█ ▓ ▒ ░ ▄ ▀
Size Considerations
Terminal Width
Most terminals are 80-120 characters wide. Keep your ASCII art narrower than the minimum expected width:- Safe width: 60-70 characters
- Maximum: 80 characters
- Minimum terminal: Consider 80x24 as baseline
Height
ASCII art height affects how much space remains for your title and intro:- Recommended: 4-8 lines
- Maximum: 12 lines for small terminals
- Content area height:
terminal height - 4(tab bar + status bar)
Testing Different Sizes
Test your ASCII art in different terminal sizes:Examples
Minimalist
Block Letters
Standard Font
Simple Text
With Icon
Best Practices
- Keep it readable: Avoid overly complex designs that are hard to read
- Test in different terminals: Colors and characters may render differently
- Use Unicode carefully: Some SSH clients may not support all Unicode characters
- Match your brand: Use ASCII art that reflects your personality or brand
- Consider accessibility: Ensure it doesn’t interfere with screen readers
- Preview before deploying: Always test changes locally first
Troubleshooting
Art appears misaligned
- Check for consistent indentation in
config.yaml - Ensure no trailing spaces on lines
- Verify YAML syntax with a validator
Characters don’t display correctly
- Use basic ASCII characters (33-126) for maximum compatibility
- Test with
ssh -p 2222 localhostto verify rendering - Some characters may not work in all terminal emulators
Art is cut off
- Reduce the width of your ASCII art
- Test with
stty sizeto check terminal dimensions - Keep width under 70 characters for safety
Art looks different in SSH vs locally
- Check terminal encoding (should be UTF-8)
- Verify
LANGandLC_ALLenvironment variables - Some SSH clients may have different font rendering
Removing ASCII Art
To remove ASCII art entirely, set it to an empty string:config.yaml
config.yaml