Skip to main content

Interactive TUI for Ghostty terminal configuration

Project description

ghostcfg

A TUI for editing your Ghostty config without touching the file by hand.

Browse 200+ options by category, preview themes live with color swatches, and save — ghostcfg hot-reloads your running Ghostty instance automatically.

ghostcfg demo

Install

pipx install ghostcfg        # recommended
uv tool install ghostcfg     # or with uv
pip install ghostcfg          # or plain pip

On macOS with Homebrew:

brew install samkleespies/ghostcfg/ghostcfg

Or from source:

git clone https://github.com/samkleespies/ghostcfg.git
cd ghostcfg
pip install -e .

Requires Python 3.10+ and Ghostty on PATH.

Usage

ghostcfg   # or: gcfg

Keybindings

Key Action
Tab / Shift+Tab Switch tabs
Up / Down Navigate options
Enter Edit / toggle
Ctrl+S Save and reload Ghostty
Ctrl+D Reset option to default
? Help
q Quit

In the theme browser:

Key Action
Up / Down Browse (previews live)
Enter Confirm theme
Escape Revert to original
d / l / a Dark only / light only / all

What it does

  • Tabbed categories: Font, Colors, Cursor, Window, Background, Input, Shell, Advanced
  • Theme browser with inline color swatch preview, search, and dark/light filtering
  • Type-aware widgets: toggles for booleans, dropdowns for enums, color pickers, validated number fields
  • Saves trigger SIGUSR2 so Ghostty reloads instantly
  • Roundtrip-safe: your comments, blank lines, and ordering are preserved
  • Platform-aware: only shows options for your OS

ghostcfg finds your config at:

  • macOS: ~/Library/Application Support/com.mitchellh.ghostty/config
  • Linux: ~/.config/ghostty/config

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghostcfg-0.1.3.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghostcfg-0.1.3-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file ghostcfg-0.1.3.tar.gz.

File metadata

  • Download URL: ghostcfg-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ghostcfg-0.1.3.tar.gz
Algorithm Hash digest
SHA256 504fdd57876655d2b2fce09550ef599b385b72077c80663c33b7a09ade8ea227
MD5 d7beec6744a710a6dea2b443c724f601
BLAKE2b-256 21bc14227a8ec0d1718bddec6d6c066661d6ca5c820e2042dac9212e381a48a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghostcfg-0.1.3.tar.gz:

Publisher: publish.yml on samkleespies/ghostcfg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ghostcfg-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ghostcfg-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ghostcfg-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a7d394f1b160e3a79a4a29161529eb2abb0f201122d1b4d2500622456f6ccdca
MD5 be5d005707cb24e17c3701770e12dbe5
BLAKE2b-256 57542b6369eddaae6c1ab78eb762dc49f7e89aeb9ba7bc7d6cd8c332d6a80da9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghostcfg-0.1.3-py3-none-any.whl:

Publisher: publish.yml on samkleespies/ghostcfg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page