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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ghostcfg-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ce21d0e2a5ef5acdd316a1e84073dfd291c653a8722bc7cfb76e35d17ff2427c
MD5 a9200f2121d19594a3e41f2f2a9cee9b
BLAKE2b-256 096340226ec369c392fd22936ed83470bb027e2352750b4bb16fb510c7d362ac

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ghostcfg-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 82f0ad556d90597ecc9e59dfb8dcbe88c0c0b0ba306fc1794eb29d1f4bef224d
MD5 bb418e698dde8c82d71d5d1a9d6848c3
BLAKE2b-256 dd1c66cb2dd9078f9c4f0297d803453a1fa34397f99f67b9627354fcb3d7dcd7

See more details on using hashes here.

Provenance

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