matthewod11-stack

Per-surface theme switching for AI CLI tools in Ghostty

10
0
100% credibility
Found Mar 05, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Shell
AI Summary

This tool automatically switches color themes in individual Ghostty terminal panes for specific AI command-line applications upon launch and resets them on exit.

How It Works

1
🔍 Discover the Magic

You see a fun demo where your terminal colors change automatically just for AI chat tools, making each one feel special.

2
Choose Your Install Way
🍺
Quick Install

Use your computer's package tool to grab it in seconds.

📁
Manual Setup

Download and place the files where your terminal can find them.

3
🎨 Pick Your Themes

Choose bright or dark looks for each of your favorite AI helpers, like a light one for daytime chats.

4
Wake It Up

Tell your terminal to use this helper every time you start it, with one simple line.

5
Launch and Wow!

Type the name of your AI tool and watch the colors shift instantly to match – other windows stay the same!

😊 Perfect Every Time

When you finish chatting, everything resets smoothly, so your terminal always feels just right.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ghostty-ai-themes?

This shell script enables per-surface theme switching for AI CLI tools in Ghostty terminals. Run claude and that pane switches to a light theme; launch codex and it flips dark—everything resets on exit without touching other tabs or windows. Users get instant, isolated customization via simple YAML mappings to Ghostty's 400+ built-in themes, sourced in zshrc for zero-friction launches.

Why is it gaining traction?

It stands out by leveraging Ghostty's OSC sequences for true per-surface switching, unlike global theme changers that mess up your workflow. Developers love the guaranteed resets via zsh hooks, no extra deps beyond zsh and awk, and easy config for any CLI tool. The hook? Type your AI command as usual, and themes adapt automatically—pure convenience for terminal-heavy sessions.

Who should use this?

Ghostty users running AI CLI tools like claude, codex, gemini, or aider in zsh. Ideal for backend devs or AI prompt engineers juggling multiple tools in splits, who want eye-friendly themes per pane without manual tweaks. Skip if you're on other terminals or prefer static setups.

Verdict

Try it if Ghostty and AI CLIs are your daily drivers—solid docs and Homebrew install make setup painless. With just 10 stars and 1.0% credibility score, it's early-stage and unproven at scale, but the niche utility shines for power users.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.