Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Research existing terminal output datasets and ANSI test suites (litmus-3lcp)

StatusDone · archived
TypeTask
Prioritynormal
ParentFixtures iteration — more realistic, better color showcase (litmus-49jz)

Research what already exists for realistic terminal output samples:

  • Terminal emulator test suites (xterm.js, alacritty, kitty, wezterm test data)
  • ANSI art collections and archives
  • Terminal recording tools (asciinema, terminalizer) — public recording galleries
  • Other theme preview tools — how do they generate sample content?
  • Color scheme testing tools (base16, terminal.sexy, gogh)

Goal: find reusable content or inspiration, not reinvent. Document findings in a research note. Stage promising candidates.

Research Findings

Top Recommendations for Litmus

PriorityResourceLicenseWhy
1tinted-theming/schemes (GitHub)MIT250+ color schemes in YAML, directly importable
2Gogh themes (GitHub)MIT200+ themes, clean 18-color YAML format
3shell-color-scripts (GitLab dwt1)MIT50+ color patterns for sample preview content
4terminal.sexy (GitHub)MITTemplate-based preview approach (captures real tmux pane content)
5pastel / vivid (sharkdp, Rust)MIT/Apache-2.0Color manipulation + filetype database for realistic ls output
6colortest (eliminmax)MixedCanonical 256-color test pattern with Rust impl
7asciinema asciicast v2Apache-2.0Format for capturing/replaying real terminal sessions
8alacritty-theme (GitHub)Apache-2.0100+ TOML themes with screenshot previews

Key Findings

Theme data sources: tinted-theming/schemes (MIT, 250+ base16/base24 YAML) and Gogh (MIT, 200+ YAML) are the most valuable for importing color schemes. Both are permissively licensed.

Preview content generation: terminal.sexy uses captured tmux panes as templates. shell-color-scripts (MIT) has 50+ bash scripts producing diverse color patterns — output could be captured as sample content. vivid’s filetypes.yml provides a comprehensive filetype database for realistic ls output.

ANSI art: 16colo.rs is the largest archive but per-artist copyright prevents bundling. Not directly usable.

Test patterns: colortest provides a standardized 256-color output (16 base + 216 cube + 24 grayscale) with Rust implementation. pastel has colorcheck for terminal capability detection.

Recording format: asciinema’s asciicast v2 (NDJSON with timestamps and raw ANSI) is the standard for terminal recordings. Public recordings could supplement fixture content.