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.0.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.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ghostcfg-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 38841cac3e7e6f703eb4f6ef7969fe9ea6aa3fd606b833e0dd32854268a8f22a
MD5 7a809955590f43d19acb945e6a4bf29f
BLAKE2b-256 8b3efb8db5aa50d8b343e24e655147faac745335d05fa2356463c8a81f05f4a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghostcfg-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: ghostcfg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 917683955c8ee7f94a02e2713c9980501a8db0a3fe09d4748fa67aa26362a8ff
MD5 44c3fcba07ee7ffc12bdfb71d6f72e23
BLAKE2b-256 18077fdf538a8f947a562c889634e4da43cc7734e950cde6bbcfcb1722714025

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghostcfg-0.1.0-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