◉ Pulse
ajr-khll avatar
#10 today

ajr-khll/ghostty-config-cli

TypeScript Tool #cli #config #developer-tools #ghostty

Fullscreen terminal UI for editing your Ghostty config, with a live preview of themes, fonts, colors, and cursor.

Created Jul 18, 2026
Stars
16
Today
+16
Forks
0
Quality
100/100
Momentum
22

README

Fetched from GitHub on Oct 30, 2026, 11:03 PM UTC · README.md

View original on GitHub

Third-party content — Open Source Pulse is not the owner of this repository.

This README belongs to ajr-khll/ghostty-config-cli and its contributors. We fetch it directly from the project’s public GitHub repository and display it for reference only. All text, code, images and trademarks remain the property of their respective authors. See the repository for its license terms. Copyright / takedown policy.

Install

npm install -g ghostty-config-cli

ghostty-config-cli

A fullscreen terminal UI for editing Ghostty config + live preview

demo


  • Fullscreen, paned TUI — sidebar navigation, a focused detail editor, and a live preview, rendered in the alternate screen buffer (your scrollback is restored on exit).
  • Live preview — a mock terminal window that updates as you type: real theme colors (resolved straight from Ghostty's theme files), the 16-color ANSI palette, and a cursor that reflects your cursor-style and blink settings.
  • Safe, surgical writes — only the settings this tool manages are rewritten. Your comments, keybindings, and every other line are preserved byte-for-byte. Writes are atomic (temp file + rename), so a config is never left half-written.
  • Save with one-level undo — s writes immediately; u restores the exact previous file.
  • Smart pickers — type-to-filter over ghostty +list-themes (463 themes) and ghostty +list-fonts, with warnings for unknown themes or uninstalled fonts. Custom values are accepted too.
  • Degrades gracefully — works even if ghostty isn't on your PATH; you can still edit colors, size, and cursor.

Settings managed (v1)

theme · font-family · font-size · background · foreground · background-opacity · cursor-style · cursor-style-blink

Every other key in your config is left untouched.

Requires Node.js ≥ 18. Ghostty is recommended (for theme/font enumeration) but not required.

Usage

ghostty-config-cli            # launch the interactive editor
ghostty-config-cli --print    # print current values and exit (no TTY needed)
ghostty-config-cli --dry-run  # edit, but preview saves without writing
ghostty-config-cli --version
ghostty-config-cli --help

Keys

Key Action
↑ / ↓ (or k / j) Navigate settings
Enter Edit the selected setting
← / →, ↑ / ↓ Adjust sliders / cycle options
Esc Finish / cancel editing
s Save to disk
u Undo the last save
r / R Reset field / reset all
q Quit

After saving, reload Ghostty with ctrl+shift+r (its built-in config reload) to see changes live.

Config location

Resolved automatically per OS:

  • Linux: $XDG_CONFIG_HOME/ghostty/config.ghostty (or ~/.config/ghostty/…)
  • macOS: ~/Library/Application Support/com.mitchellh.ghostty/config.ghostty (honors XDG_CONFIG_HOME if set)

config.ghostty is preferred (loaded by Ghostty ≥ 1.2.3 and gives editor syntax highlighting); a plain config file is used if that's what exists.

Development

npm install
npm run dev        # run from source with tsx
npm run typecheck
npm run build      # compile to dist/

Built with TypeScript, Ink, and execa.

License

MIT © aj khullar

Rendered by GitHub from the repository’s README. Scroll to read the full file.
First trending

Jul 19, 2026

first spotted on the list

Best rank

#10

highest position reached

Appearances

1

times on the trending list

Quality score

100

out of 100

Momentum

22

trend strength indicator

Star velocity

0.15

stars per day since creation

Activity — last 60 days

daily counts, collected every 6 hours
  • Stars
  • Forks
  • Merged PRs
  • Issues
  • Closed issues

Collecting activity data since launch — check back in a few days.

Star history

total stars per snapshot

Not enough snapshots yet — check back soon.

Rank history

position on trending · lower is better

Not enough snapshots yet — check back soon.

3D card for your website

Live HTML card with a glass surface and pointer tilt. Paste the iframe on any website.

<iframe src="https://www.notionpulse.cc/embed/ajr-khll/ghostty-config-cli" width="420" height="240" style="border:0;max-width:100%;background:transparent" loading="lazy" title="ajr-khll/ghostty-config-cli — trending on Open Source Pulse"></iframe>

Stars badge

Show current stars in your README or profile. Auto-updates every 6 hours.

ajr-khll/ghostty-config-cli stars badge
Markdown
[![ajr-khll/ghostty-config-cli](https://www.notionpulse.cc/api/badge/ajr-khll/ghostty-config-cli.svg)](https://www.notionpulse.cc/repo/ajr-khll/ghostty-config-cli)
HTML
<a href="https://www.notionpulse.cc/repo/ajr-khll/ghostty-config-cli"><img src="https://www.notionpulse.cc/api/badge/ajr-khll/ghostty-config-cli.svg" alt="ajr-khll/ghostty-config-cli stars badge" /></a>

Repository of the Day

#10 Repository of the Day

Repository of the Week

#10 Repository of the Week

Repository of the Month

#10 Repository of the Month