cli-ascii-logo
Original:🇨🇳 Chinese
Translated
1 scriptsChecked / no sensitive code detected
Generate ASCII art Logo/Banner for CLI (supports box drawing borders, █ block characters, ANSI 24-bit gradient colors) and provides runnable scripts and integration code. Suitable for requirements such as "creating a terminal Logo like Spec Kit CLI / colored ASCII banner / figlet-style title / CLI startup welcome page".
1installs
Added on
NPX Install
npx skill4agent add teachingai/full-stack-skills cli-ascii-logoTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →CLI ASCII Logo
Goals
- Generate ASCII art Logo (with borders and gradient colors) that can be directly output in the terminal
- Output "copy-paste ready" results (plain text/with ANSI colors), and provide integration methods for displaying when the CLI starts
- Provide a runnable generation script:
scripts/generate_logo.py
Workflow
-
Clarify input
- Name: e.g.,
auto-cli - Subtitle: e.g.,
Command Line Interface - Terminal width: default 80 (adjustable according to project/CI output)
- Style: bold blocks ()/thin lines (
█/#)/no color* - Border: or plain text
╔═╗║ ║╚═╝ - Color scheme: Cyan → Purple (Spec Kit style), Cyan → Blue, Orange → Pink, etc.
- Name: e.g.,
-
Generate results
- Generate by running the script directly (most reliable): see "Quick Start" below
- Or generate in the target language as needed (Node/Python/Go), the core steps are:
- First get the "monospace character art" (multi-line string)
- Then do border splicing
- Then apply character-by-character gradient (output ANSI TrueColor sequences)
-
Integrate into CLI
- Output once when the entry point (/
main/bin) starts__main__ - Support disabling color:
- Respect
NO_COLOR=1 - Provide parameter
--no-color - Disable by default in CI environment (can be enabled as needed)
- Respect
- Output once when the entry point (
Quick Start (Script)
Works best in terminals that support TrueColor (macOS Terminal / iTerm2 / VS Code Terminal).
bash
python3 scripts/generate_logo.py --text auto-cli --subtitle "Command Line Interface"Common parameters:
bash
python3 scripts/generate_logo.py \
--text auto-cli \
--subtitle "Command Line Interface" \
--width 46 \
--palette spec-kit \
--frame boxDelivery Format
- Plain text (no color): suitable for README / logs / environments that don't support ANSI
- ANSI color text: suitable for CLI startup pages (it is recommended to provide switch)
--no-color - It is recommended to provide all of the following:
- (no color)
banner.txt - (with color)
banner.ansi.txt - (output according to environment in your CLI)
renderBanner()
References
- For color scheme and compatibility suggestions, see palettes.md