* docs: deep audit — fix stale config keys, missing commands, and registry drift Cross-checked ~80 high-impact docs pages (getting-started, reference, top-level user-guide, user-guide/features) against the live registries: hermes_cli/commands.py COMMAND_REGISTRY (slash commands) hermes_cli/auth.py PROVIDER_REGISTRY (providers) hermes_cli/config.py DEFAULT_CONFIG (config keys) toolsets.py TOOLSETS (toolsets) tools/registry.py get_all_tool_names() (tools) python -m hermes_cli.main <subcmd> --help (CLI args) reference/ - cli-commands.md: drop duplicate hermes fallback row + duplicate section, add stepfun/lmstudio to --provider enum, expand auth/mcp/curator subcommand lists to match --help output (status/logout/spotify, login, archive/prune/ list-archived). - slash-commands.md: add missing /sessions and /reload-skills entries + correct the cross-platform Notes line. - tools-reference.md: drop bogus '68 tools' headline, drop fictional 'browser-cdp toolset' (these tools live in 'browser' and are runtime-gated), add missing 'kanban' and 'video' toolset sections, fix MCP example to use the real mcp_<server>_<tool> prefix. - toolsets-reference.md: list browser_cdp/browser_dialog inside the 'browser' row, add missing 'kanban' and 'video' toolset rows, drop the stale '38 tools' count for hermes-cli. - profile-commands.md: add missing install/update/info subcommands, document fish completion. - environment-variables.md: dedupe GMI_API_KEY/GMI_BASE_URL rows (kept the one with the correct gmi-serving.com default). - faq.md: Anthropic/Google/OpenAI examples — direct providers exist (not just via OpenRouter), refresh the OpenAI model list. getting-started/ - installation.md: PortableGit (not MinGit) is what the Windows installer fetches; document the 32-bit MinGit fallback. - installation.md / termux.md: installer prefers .[termux-all] then falls back to .[termux]. - nix-setup.md: Python 3.12 (not 3.11), Node.js 22 (not 20); fix invalid 'nix flake update --flake' invocation. - updating.md: 'hermes backup restore --state pre-update' doesn't exist — point at the snapshot/quick-snapshot flow; correct config key 'updates.pre_update_backup' (was 'update.backup'). user-guide/ - configuration.md: api_max_retries default 3 (not 2); display.runtime_footer is the real key (not display.runtime_metadata_footer); checkpoints defaults enabled=false / max_snapshots=20 (not true / 50). - configuring-models.md: 'hermes model list' / 'hermes model set ...' don't exist — hermes model is interactive only. - tui.md: busy_indicator -> tui_status_indicator with values kaomoji|emoji|unicode|ascii (not kawaii|minimal|dots|wings|none). - security.md: SSH backend keys (TERMINAL_SSH_HOST/USER/KEY) live in .env, not config.yaml. - windows-wsl-quickstart.md: there is no 'hermes api' subcommand — the OpenAI-compatible API server runs inside hermes gateway. user-guide/features/ - computer-use.md: approvals.mode (not security.approval_level); fix broken ./browser-use.md link to ./browser.md. - fallback-providers.md: top-level fallback_providers (not model.fallback_providers); the picker is subcommand-based, not modal. - api-server.md: API_SERVER_* are env vars — write to per-profile .env, not 'hermes config set' which targets YAML. - web-search.md: drop web_crawl as a registered tool (it isn't); deep-crawl modes are exposed through web_extract. - kanban.md: failure_limit default is 2, not '~5'. - plugins.md: drop hard-coded '33 providers' count. - honcho.md: fix unclosed quote in echo HONCHO_API_KEY snippet; document that 'hermes honcho' subcommand is gated on memory.provider=honcho; reconcile subcommand list with actual --help output. - memory-providers.md: legacy 'hermes honcho setup' redirect documented. Verified via 'npm run build' — site builds cleanly; broken-link count went from 149 to 146 (no regressions, fixed a few in passing). * docs: round 2 audit fixes + regenerate skill catalogs Follow-up to the previous commit on this branch: Round 2 manual fixes: - quickstart.md: KIMI_CODING_API_KEY mentioned alongside KIMI_API_KEY; voice-mode and ACP install commands rewritten — bare 'pip install ...' doesn't work for curl-installed setups (no pip on PATH, not in repo dir); replaced with 'cd ~/.hermes/hermes-agent && uv pip install -e ".[voice]"'. ACP already ships in [all] so the curl install includes it. - cli.md / configuration.md: 'auxiliary.compression.model' shown as 'google/gemini-3-flash-preview' (the doc's own claimed default); actual default is empty (= use main model). Reworded as 'leave empty (default) or pin a cheap model'. - built-in-plugins.md: added the bundled 'kanban/dashboard' plugin row that was missing from the table. Regenerated skill catalogs: - ran website/scripts/generate-skill-docs.py to refresh all 163 per-skill pages and both reference catalogs (skills-catalog.md, optional-skills-catalog.md). This adds the entries that were genuinely missing — productivity/teams-meeting-pipeline (bundled), optional/finance/* (entire category — 7 skills: 3-statement-model, comps-analysis, dcf-model, excel-author, lbo-model, merger-model, pptx-author), creative/hyperframes, creative/kanban-video-orchestrator, devops/watchers, productivity/shop-app, research/searxng-search, apple/macos-computer-use — and rewrites every other per-skill page from the current SKILL.md. Most diffs are tiny (one line of refreshed metadata). Validation: - 'npm run build' succeeded. - Broken-link count moved 146 -> 155 — the +9 are zh-Hans translation shells that lag every newly-added skill page (pre-existing pattern). No regressions on any en/ page.
339 lines
11 KiB
Markdown
339 lines
11 KiB
Markdown
---
|
|
title: "Ascii Art — ASCII art: pyfiglet, cowsay, boxes, image-to-ascii"
|
|
sidebar_label: "Ascii Art"
|
|
description: "ASCII art: pyfiglet, cowsay, boxes, image-to-ascii"
|
|
---
|
|
|
|
{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
|
|
|
|
# Ascii Art
|
|
|
|
ASCII art: pyfiglet, cowsay, boxes, image-to-ascii.
|
|
|
|
## Skill metadata
|
|
|
|
| | |
|
|
|---|---|
|
|
| Source | Bundled (installed by default) |
|
|
| Path | `skills/creative/ascii-art` |
|
|
| Version | `4.0.0` |
|
|
| Author | 0xbyt4, Hermes Agent |
|
|
| License | MIT |
|
|
| Platforms | linux, macos, windows |
|
|
| Tags | `ASCII`, `Art`, `Banners`, `Creative`, `Unicode`, `Text-Art`, `pyfiglet`, `figlet`, `cowsay`, `boxes` |
|
|
| Related skills | [`excalidraw`](/docs/user-guide/skills/bundled/creative/creative-excalidraw) |
|
|
|
|
## Reference: full SKILL.md
|
|
|
|
:::info
|
|
The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
|
|
:::
|
|
|
|
# ASCII Art Skill
|
|
|
|
Multiple tools for different ASCII art needs. All tools are local CLI programs or free REST APIs — no API keys required.
|
|
|
|
## Tool 1: Text Banners (pyfiglet — local)
|
|
|
|
Render text as large ASCII art banners. 571 built-in fonts.
|
|
|
|
### Setup
|
|
|
|
```bash
|
|
pip install pyfiglet --break-system-packages -q
|
|
```
|
|
|
|
### Usage
|
|
|
|
```bash
|
|
python3 -m pyfiglet "YOUR TEXT" -f slant
|
|
python3 -m pyfiglet "TEXT" -f doom -w 80 # Set width
|
|
python3 -m pyfiglet --list_fonts # List all 571 fonts
|
|
```
|
|
|
|
### Recommended fonts
|
|
|
|
| Style | Font | Best for |
|
|
|-------|------|----------|
|
|
| Clean & modern | `slant` | Project names, headers |
|
|
| Bold & blocky | `doom` | Titles, logos |
|
|
| Big & readable | `big` | Banners |
|
|
| Classic banner | `banner3` | Wide displays |
|
|
| Compact | `small` | Subtitles |
|
|
| Cyberpunk | `cyberlarge` | Tech themes |
|
|
| 3D effect | `3-d` | Splash screens |
|
|
| Gothic | `gothic` | Dramatic text |
|
|
|
|
### Tips
|
|
|
|
- Preview 2-3 fonts and let the user pick their favorite
|
|
- Short text (1-8 chars) works best with detailed fonts like `doom` or `block`
|
|
- Long text works better with compact fonts like `small` or `mini`
|
|
|
|
## Tool 2: Text Banners (asciified API — remote, no install)
|
|
|
|
Free REST API that converts text to ASCII art. 250+ FIGlet fonts. Returns plain text directly — no parsing needed. Use this when pyfiglet is not installed or as a quick alternative.
|
|
|
|
### Usage (via terminal curl)
|
|
|
|
```bash
|
|
# Basic text banner (default font)
|
|
curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello+World"
|
|
|
|
# With a specific font
|
|
curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Slant"
|
|
curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Doom"
|
|
curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Star+Wars"
|
|
curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=3-D"
|
|
curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Banner3"
|
|
|
|
# List all available fonts (returns JSON array)
|
|
curl -s "https://asciified.thelicato.io/api/v2/fonts"
|
|
```
|
|
|
|
### Tips
|
|
|
|
- URL-encode spaces as `+` in the text parameter
|
|
- The response is plain text ASCII art — no JSON wrapping, ready to display
|
|
- Font names are case-sensitive; use the fonts endpoint to get exact names
|
|
- Works from any terminal with curl — no Python or pip needed
|
|
|
|
## Tool 3: Cowsay (Message Art)
|
|
|
|
Classic tool that wraps text in a speech bubble with an ASCII character.
|
|
|
|
### Setup
|
|
|
|
```bash
|
|
sudo apt install cowsay -y # Debian/Ubuntu
|
|
# brew install cowsay # macOS
|
|
```
|
|
|
|
### Usage
|
|
|
|
```bash
|
|
cowsay "Hello World"
|
|
cowsay -f tux "Linux rules" # Tux the penguin
|
|
cowsay -f dragon "Rawr!" # Dragon
|
|
cowsay -f stegosaurus "Roar!" # Stegosaurus
|
|
cowthink "Hmm..." # Thought bubble
|
|
cowsay -l # List all characters
|
|
```
|
|
|
|
### Available characters (50+)
|
|
|
|
`beavis.zen`, `bong`, `bunny`, `cheese`, `daemon`, `default`, `dragon`,
|
|
`dragon-and-cow`, `elephant`, `eyes`, `flaming-skull`, `ghostbusters`,
|
|
`hellokitty`, `kiss`, `kitty`, `koala`, `luke-koala`, `mech-and-cow`,
|
|
`meow`, `moofasa`, `moose`, `ren`, `sheep`, `skeleton`, `small`,
|
|
`stegosaurus`, `stimpy`, `supermilker`, `surgery`, `three-eyes`,
|
|
`turkey`, `turtle`, `tux`, `udder`, `vader`, `vader-koala`, `www`
|
|
|
|
### Eye/tongue modifiers
|
|
|
|
```bash
|
|
cowsay -b "Borg" # =_= eyes
|
|
cowsay -d "Dead" # x_x eyes
|
|
cowsay -g "Greedy" # $_$ eyes
|
|
cowsay -p "Paranoid" # @_@ eyes
|
|
cowsay -s "Stoned" # *_* eyes
|
|
cowsay -w "Wired" # O_O eyes
|
|
cowsay -e "OO" "Msg" # Custom eyes
|
|
cowsay -T "U " "Msg" # Custom tongue
|
|
```
|
|
|
|
## Tool 4: Boxes (Decorative Borders)
|
|
|
|
Draw decorative ASCII art borders/frames around any text. 70+ built-in designs.
|
|
|
|
### Setup
|
|
|
|
```bash
|
|
sudo apt install boxes -y # Debian/Ubuntu
|
|
# brew install boxes # macOS
|
|
```
|
|
|
|
### Usage
|
|
|
|
```bash
|
|
echo "Hello World" | boxes # Default box
|
|
echo "Hello World" | boxes -d stone # Stone border
|
|
echo "Hello World" | boxes -d parchment # Parchment scroll
|
|
echo "Hello World" | boxes -d cat # Cat border
|
|
echo "Hello World" | boxes -d dog # Dog border
|
|
echo "Hello World" | boxes -d unicornsay # Unicorn
|
|
echo "Hello World" | boxes -d diamonds # Diamond pattern
|
|
echo "Hello World" | boxes -d c-cmt # C-style comment
|
|
echo "Hello World" | boxes -d html-cmt # HTML comment
|
|
echo "Hello World" | boxes -a c # Center text
|
|
boxes -l # List all 70+ designs
|
|
```
|
|
|
|
### Combine with pyfiglet or asciified
|
|
|
|
```bash
|
|
python3 -m pyfiglet "HERMES" -f slant | boxes -d stone
|
|
# Or without pyfiglet installed:
|
|
curl -s "https://asciified.thelicato.io/api/v2/ascii?text=HERMES&font=Slant" | boxes -d stone
|
|
```
|
|
|
|
## Tool 5: TOIlet (Colored Text Art)
|
|
|
|
Like pyfiglet but with ANSI color effects and visual filters. Great for terminal eye candy.
|
|
|
|
### Setup
|
|
|
|
```bash
|
|
sudo apt install toilet toilet-fonts -y # Debian/Ubuntu
|
|
# brew install toilet # macOS
|
|
```
|
|
|
|
### Usage
|
|
|
|
```bash
|
|
toilet "Hello World" # Basic text art
|
|
toilet -f bigmono12 "Hello" # Specific font
|
|
toilet --gay "Rainbow!" # Rainbow coloring
|
|
toilet --metal "Metal!" # Metallic effect
|
|
toilet -F border "Bordered" # Add border
|
|
toilet -F border --gay "Fancy!" # Combined effects
|
|
toilet -f pagga "Block" # Block-style font (unique to toilet)
|
|
toilet -F list # List available filters
|
|
```
|
|
|
|
### Filters
|
|
|
|
`crop`, `gay` (rainbow), `metal`, `flip`, `flop`, `180`, `left`, `right`, `border`
|
|
|
|
**Note**: toilet outputs ANSI escape codes for colors — works in terminals but may not render in all contexts (e.g., plain text files, some chat platforms).
|
|
|
|
## Tool 6: Image to ASCII Art
|
|
|
|
Convert images (PNG, JPEG, GIF, WEBP) to ASCII art.
|
|
|
|
### Option A: ascii-image-converter (recommended, modern)
|
|
|
|
```bash
|
|
# Install
|
|
sudo snap install ascii-image-converter
|
|
# OR: go install github.com/TheZoraiz/ascii-image-converter@latest
|
|
```
|
|
|
|
```bash
|
|
ascii-image-converter image.png # Basic
|
|
ascii-image-converter image.png -C # Color output
|
|
ascii-image-converter image.png -d 60,30 # Set dimensions
|
|
ascii-image-converter image.png -b # Braille characters
|
|
ascii-image-converter image.png -n # Negative/inverted
|
|
ascii-image-converter https://url/image.jpg # Direct URL
|
|
ascii-image-converter image.png --save-txt out # Save as text
|
|
```
|
|
|
|
### Option B: jp2a (lightweight, JPEG only)
|
|
|
|
```bash
|
|
sudo apt install jp2a -y
|
|
jp2a --width=80 image.jpg
|
|
jp2a --colors image.jpg # Colorized
|
|
```
|
|
|
|
## Tool 7: Search Pre-Made ASCII Art
|
|
|
|
Search curated ASCII art from the web. Use `terminal` with `curl`.
|
|
|
|
### Source A: ascii.co.uk (recommended for pre-made art)
|
|
|
|
Large collection of classic ASCII art organized by subject. Art is inside HTML `<pre>` tags. Fetch the page with curl, then extract art with a small Python snippet.
|
|
|
|
**URL pattern:** `https://ascii.co.uk/art/{subject}`
|
|
|
|
**Step 1 — Fetch the page:**
|
|
|
|
```bash
|
|
curl -s 'https://ascii.co.uk/art/cat' -o /tmp/ascii_art.html
|
|
```
|
|
|
|
**Step 2 — Extract art from pre tags:**
|
|
|
|
```python
|
|
import re, html
|
|
with open('/tmp/ascii_art.html') as f:
|
|
text = f.read()
|
|
arts = re.findall(r'<pre[^>]*>(.*?)</pre>', text, re.DOTALL)
|
|
for art in arts:
|
|
clean = re.sub(r'<[^>]+>', '', art)
|
|
clean = html.unescape(clean).strip()
|
|
if len(clean) > 30:
|
|
print(clean)
|
|
print('\n---\n')
|
|
```
|
|
|
|
**Available subjects** (use as URL path):
|
|
- Animals: `cat`, `dog`, `horse`, `bird`, `fish`, `dragon`, `snake`, `rabbit`, `elephant`, `dolphin`, `butterfly`, `owl`, `wolf`, `bear`, `penguin`, `turtle`
|
|
- Objects: `car`, `ship`, `airplane`, `rocket`, `guitar`, `computer`, `coffee`, `beer`, `cake`, `house`, `castle`, `sword`, `crown`, `key`
|
|
- Nature: `tree`, `flower`, `sun`, `moon`, `star`, `mountain`, `ocean`, `rainbow`
|
|
- Characters: `skull`, `robot`, `angel`, `wizard`, `pirate`, `ninja`, `alien`
|
|
- Holidays: `christmas`, `halloween`, `valentine`
|
|
|
|
**Tips:**
|
|
- Preserve artist signatures/initials — important etiquette
|
|
- Multiple art pieces per page — pick the best one for the user
|
|
- Works reliably via curl, no JavaScript needed
|
|
|
|
### Source B: GitHub Octocat API (fun easter egg)
|
|
|
|
Returns a random GitHub Octocat with a wise quote. No auth needed.
|
|
|
|
```bash
|
|
curl -s https://api.github.com/octocat
|
|
```
|
|
|
|
## Tool 8: Fun ASCII Utilities (via curl)
|
|
|
|
These free services return ASCII art directly — great for fun extras.
|
|
|
|
### QR Codes as ASCII Art
|
|
|
|
```bash
|
|
curl -s "qrenco.de/Hello+World"
|
|
curl -s "qrenco.de/https://example.com"
|
|
```
|
|
|
|
### Weather as ASCII Art
|
|
|
|
```bash
|
|
curl -s "wttr.in/London" # Full weather report with ASCII graphics
|
|
curl -s "wttr.in/Moon" # Moon phase in ASCII art
|
|
curl -s "v2.wttr.in/London" # Detailed version
|
|
```
|
|
|
|
## Tool 9: LLM-Generated Custom Art (Fallback)
|
|
|
|
When tools above don't have what's needed, generate ASCII art directly using these Unicode characters:
|
|
|
|
### Character Palette
|
|
|
|
**Box Drawing:** `╔ ╗ ╚ ╝ ║ ═ ╠ ╣ ╦ ╩ ╬ ┌ ┐ └ ┘ │ ─ ├ ┤ ┬ ┴ ┼ ╭ ╮ ╰ ╯`
|
|
|
|
**Block Elements:** `░ ▒ ▓ █ ▄ ▀ ▌ ▐ ▖ ▗ ▘ ▝ ▚ ▞`
|
|
|
|
**Geometric & Symbols:** `◆ ◇ ◈ ● ○ ◉ ■ □ ▲ △ ▼ ▽ ★ ☆ ✦ ✧ ◀ ▶ ◁ ▷ ⬡ ⬢ ⌂`
|
|
|
|
### Rules
|
|
|
|
- Max width: 60 characters per line (terminal-safe)
|
|
- Max height: 15 lines for banners, 25 for scenes
|
|
- Monospace only: output must render correctly in fixed-width fonts
|
|
|
|
## Decision Flow
|
|
|
|
1. **Text as a banner** → pyfiglet if installed, otherwise asciified API via curl
|
|
2. **Wrap a message in fun character art** → cowsay
|
|
3. **Add decorative border/frame** → boxes (can combine with pyfiglet/asciified)
|
|
4. **Art of a specific thing** (cat, rocket, dragon) → ascii.co.uk via curl + parsing
|
|
5. **Convert an image to ASCII** → ascii-image-converter or jp2a
|
|
6. **QR code** → qrenco.de via curl
|
|
7. **Weather/moon art** → wttr.in via curl
|
|
8. **Something custom/creative** → LLM generation with Unicode palette
|
|
9. **Any tool not installed** → install it, or fall back to next option
|