Skip to main content

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

Metadata

Release files for ghostcfg 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghostcfg 0.1.4
File Size Uploaded
ghostcfg-0.1.4.tar.gz 3.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ghostcfg 0.1.4
File Interpreter ABI Platform
ghostcfg-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 3.2 MB

Release files / ghostcfg-0.1.4.tar.gz

Download URL ghostcfg-0.1.4.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e6ffe1bb946aa384edd3d45fc813a49dcb918775def689eec96ec47862131591
BLAKE2b-256 checksum
How to use checksums
0e9ffecf4b85a20203a09d298f7d1cafbfebf901c6c37bda132228f3ff265a6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / ghostcfg-0.1.4-py3-none-any.whl

Download URL ghostcfg-0.1.4-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d1dbd35abd1f48070a9b05cc87f250b8631375eaa43b717c34a4024b939c4fe
BLAKE2b-256 checksum
How to use checksums
94cc03460e749bdc6d8d69a9799cbd20d788ceef8b0aca10314f294ca7df88b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page