✦ Synth-Shell Theme Studio (synth-shell-theme)
Interactive 256-color Prompt Theme Picker (64 themes), Dual Powerline Separator Editor (48 presets + 60+ Nerd Font glyphs), Runtime Speed Optimizer, and Live Web Studio for synth-shell.
Built with 100% Python >= 3.10 standard library — zero external runtime dependencies.
Features
- 64 Curated 256-Color Prompt Themes: From Tokyo Night, Catppuccin Mocha/Latte/Frappé/Mauve, Dracula Punch, Rose Pine, Kanagawa, Everforest, Gruvbox, and Cyberpunk Edgerunners to Cloud Ops, GitHub Dark, and Minimal Mono.
- Side-by-Side Terminal UI (
synth-shell-theme): 2-column 256-color live terminal preview rendering both 3-segment and 6-segment DevOps prompts (host · pwd · git · pyenv · tf · kube), live search (/term), high-contrast white-text mode ([f]), and 1-key undo ([u]). - Dual Powerline Separator Editor (
synth-shell-separatororsynth-shell-theme sep): Mix independent internal (separator_char) and ending (separator_char_end) glyphs across 48 curated presets in 6 categories plus a 60+ Nerd Font Character Matrix. - Live Browser Web Studio (
synth-shell-theme web): Local HTTP studio (http://127.0.0.1:7778) — also tryable as a static browser showcase (synth-shell-theme export-web docs/index.html) — with a sticky live workbench (Left + RightRPROMPTbars), drag-and-drop segment reordering across 21 segments, click-to-edit inline segment colors, 1-click Copy CLI sharing, custom TrueColor theme creator, and backup history. - Unified Color Ecosystem, Starship Export, SSH Deploy & External Theme Importer: Sync your active palette to
fzf(FZF_DEFAULT_OPTS),LS_COLORS,tmux, and WezTerm (wezterm-theme.lua) via--sync-ecosystem, export any of the 64 themes + dual separators tostarship.toml(export-starship), deploy your patched prompt to remote Linux servers in 1 command without Python/Git (ssh-install user@host), or import palettes from Pywal, Base16 YAML, Ghostty, Kitty, Alacritty, and Windows Terminal (import-theme). - Idempotent Runtime, Speed & Modern Terminal Patches (
synth-shell-theme init):- Zero-fork segment renderer (
zero_fork_render): Eliminates ~15–25 subshell forks perEntervia pure-Bash color/format variable lookups. - Zero-subshell Kubernetes context, namespace & 🚨 prod warning (
kube_fast/kube_namespace_prod): Reads$KUBECONFIG/~/.kube/configdirectly in pure Bash (<1 ms, removesyqdependency, shortens GKE context names, appends active(namespace), and highlights production clusters in red with🚨). - Single-pass Git + WSL2/Monorepo + Advanced State + Dynamic Colors (
git_single_pass/git_wsl_fast/git_advanced_state): Consolidates 3git statuscalls into one, shows exact↑N ↓Mcounts plusREBASE,MERGE,CHERRY,BISECT, andworktree(⎇) state in pure Bash, optionally colorsGITdynamically (amber dirty / red rebase), auto-skips untracked scans on WSL2/mnt/*, supports--git-timeout, optional--async-gitbackground cache (/dev/shm), and--max-gitbranch truncation. - 24 Zero-Fork Telemetry, Dev, VCS & Custom Segments:
USER,HOST(with optional SSH hostname color hashing),PWD(with--pwd-style fish),GIT,JJ(Jujutsu VCS),PYENV,TF,KUBE,CLOCK,STATUS,DURATION,AWS,GCP,DOCKER,NODE,SSH,JOBS,DIRENV,SHLVL/NIX,RUST,GO,BATTERY,SUDO, andCUSTOM. - Right-Aligned Top Prompt (
right_prompt), OSC 133, OSC 7 CWD & OSC 9/99 Notifications: Pure-BashRPROMPTtop bar (--right-format,--right-fill), nativeOSC 133;A/B/C/D;<exit>prompt navigation,OSC 7directory inheritance for new tabs/splits in WezTerm/Ghostty/Kitty/Windows Terminal, and desktop notifications for slow commands (--notify-sec). - Accurate Virtualenv & Conda (
pyenv_enhanced): Pure-Bash$VIRTUAL_ENV_PROMPT,pyvenv.cfgprompt,$CONDA_DEFAULT_ENV, parent-dir naming for.venv, and--max-pyenvtruncation. - Independent Ending Separator (
dual_separator) & 256-Color Parity (color_256_parity): Supportsseparator_char_end, 0–255 & all 16 named colors, anditalic/regulartext styles. - Safe
PROMPT_COMMANDChaining & TrueColor 24-bit (hook_chaining/truecolor_24bit): ChainsPROMPT_COMMAND(Bash 5.1+ arrays & strings) and moves color reset toPS0(notrap DEBUGhijacking — 100% compatible withdirenv,zoxide,atuin,ble.sh,mise, and VS Code), supports exact#RRGGBBTrueColor with automatic 256-color fallback, responsive compact layout on narrowtmux/VS Code splits (--compact-width), andset -usafety. - Unicode
PS1Guard (utf8_ps1_guard), Non-Interactive Safety (interactive_guard), Terminal Mode Sanitizer (terminal_sanitize),doctor --fix& Greeter Fixes: Prevents\uE0B0turning intousernameE0B0underLC_ALL=C, protectsscp/sftp/rsync, automatically clears leaked SSH/TUI mouse tracking (35;col;rowM) & focus events on prompt return, auto-repairs CRLF/patches withdoctor --fix, adds--ascii-safe,--sync-root,--sync-greeter, plus AMDk10temp/TctlCPU temp & ZFS ARC RAM fixes forsynth-shell-greeter.
- Zero-fork segment renderer (
- Safe Atomic Writes & Backups: Preserves your custom layout, padding, and Git symbols when switching colors, with automatic timestamped backups in
~/.config/synth-shell/backups/and portable JSON presets (export/import).
Screenshots
Interactive 2-Column Terminal Picker (synth-shell-theme)
Browse all 64 palettes side-by-side in your terminal with live 256-color swatches, 3-segment & 6-segment DevOps prompt previews, instant /search, and 1-key theme switching:
Live Browser Web Studio (synth-shell-theme web)
Prefer a visual workbench? Launch the zero-dependency local Web Studio to preview themes, mix dual Powerline separators, reorder prompt segments, and manage runtime speed patches & backups in 1 click:
|
Dual Separators & 48 Curated Presets |
Segment Toggles, Runtime Optimizer & Backups |
60+ Nerd Font & Dual Separator Cheat-Sheet (synth-shell-separator --palette)
Mix any internal divider (e.g. rounded capsule, diagonal slant, wave, pixel) with an independent ending cap (e.g. classic arrow, lightning bolt, diamond sparkle):
Installation
From PyPI (pipx, uv, or pip)
# Recommended: pipx
pipx install synth-shell-theme
# Or via uv (persistent tool install)
uv tool install synth-shell-theme
# Zero-install instant run with uvx
uvx synth-shell-theme
# Or via pip
pip install --user synth-shell-theme
Local Clone / Editable Development Install
git clone https://github.com/mvsoares/synth-shell-theme.git
cd synth-shell-theme
pipx install -e . --force
Both synth-shell-theme (primary CLI) and synth-shell-separator (dedicated separator editor) are installed onto your PATH.
Initialize Runtime Enhancements
After installing synth-shell (or use --install to install upstream synth-shell automatically), apply the 4 runtime speed & compatibility patches once:
synth-shell-theme init
# Or install upstream synth-shell + patch + apply Tokyo Night (#12):
synth-shell-theme init --install --apply tokyo-night
Quick Start
1. Interactive Terminal Picker (TUI)
synth-shell-theme
Keyboard shortcuts inside the TUI:
1–64or theme name/slug — Apply theme immediatelyn/p/g <page>— Next, previous, or jump to page/query— Filter themes by name, slug, or badge (cto clear)s— Open the interactive Dual Separator & 60+ Glyph Editorf— Toggle High-Contrast White Text (--force-white-text)k— Toggle Keep Current Input Color (--keep-input)w— Launch the Live Web Studio in your browserb/u— Save a manual backup or undo/restore the latest backupr— Apply a random theme
2. Live Browser Web Studio
synth-shell-theme web
# Custom port or headless mode:
synth-shell-theme web --port 7778 --no-browser
3. Direct CLI Commands
# List all 64 themes with 256-color Host/PWD/Git swatches
synth-shell-theme --list
# Apply a theme by number, name, or slug
synth-shell-theme --apply 12
synth-shell-theme --apply catppuccin-mocha
synth-shell-theme --apply dracula-punch --force-white-text --keep-input
# Dual Powerline & Nerd Font separators
synth-shell-theme --dual round arrow # Rounded bubbles inside + classic triangle cap
synth-shell-theme --dual slant zap # Cyberpunk slant inside + lightning bolt at end
synth-shell-separator --palette # Print 60+ Nerd Font glyph cheat-sheet
synth-shell-separator # Launch dedicated interactive separator editor
# Prompt layout, truncation, prefix, text effect & telemetry segments
synth-shell-theme --format "HOST PWD GIT PYENV TF KUBE STATUS DURATION AWS" --two-line
synth-shell-theme --max-pwd 35 --max-git 22 --max-pyenv 18 --prefix auto --text-effect regular
# WSL2 / monorepo speed & ASCII-safe mode (SSH servers without Nerd Fonts)
synth-shell-theme --fast-git-wsl --git-timeout 400 --async-git
synth-shell-theme --ascii-safe
# Root prompt & synth-shell-greeter palette/monitor sync
synth-shell-theme --sync-root --sync-greeter --hide-swap
# Light / Dark toggle, live prompt benchmark & Bash tab-completion
synth-shell-theme --toggle-theme
synth-shell-theme bench --runs 20
eval "$(synth-shell-theme completion bash)"
# Right-aligned top bar (RPROMPT), OSC 133/7, Fish PWD, dynamic Git/SSH colors & notifications
synth-shell-theme --right-format "CLOCK BATTERY DURATION" --right-fill "─" --osc133 --osc7
synth-shell-theme --pwd-style fish --git-dynamic-color --ssh-host-color --notify-sec 30 --auto-theme
# Unified ecosystem sync (fzf + LS_COLORS + tmux + WezTerm), Starship export, SSH deploy & palette import
synth-shell-theme --sync-ecosystem
synth-shell-theme export-starship ~/.config/starship.toml
synth-shell-theme ssh-install user@my-server --ascii-safe
synth-shell-theme import-theme --pywal
synth-shell-theme import-theme ~/.config/ghostty/themes/tokyo-night
# Health check, auto-repair (`doctor --fix`), static GitHub Pages demo, backups & presets
synth-shell-theme doctor
synth-shell-theme doctor --fix
synth-shell-theme export-web docs/index.html
synth-shell-theme --restore
synth-shell-theme export my-prompt.json
synth-shell-theme import my-prompt.json
Reload your active Bash session after applying changes:
source ~/.config/synth-shell/synth-shell-prompt.sh
Environment Variables
| Variable | Description |
|---|---|
SYNTH_SHELL_CONFIG_DIR |
Override configuration directory (defaults to ~/.config/synth-shell). |
Development & Testing
python3 -m unittest discover -s tests -v
License
MIT License — see LICENSE.
Metadata
Release files for synth-shell-theme 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| synth_shell_theme-1.4.0.tar.gz | 128.0 kB | With provenance | Details for synth_shell_theme-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| synth_shell_theme-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for synth_shell_theme-1.4.0-py3-none-any.whl |
Total release size: 266.7 kB
Release files / synth_shell_theme-1.4.0.tar.gz
| Download URL | synth_shell_theme-1.4.0.tar.gz |
|---|---|
| Size | 128.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91714b583bec0564d76e95cee9581566771f30081d7af6ae3e0c2f029141df07
|
|
BLAKE2b-256 checksum How to use checksums |
4f6e1db6827f248a2249e90dca5c7e3295057e8d78eee9cedab5e7a6730e5740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logRelease files / synth_shell_theme-1.4.0-py3-none-any.whl
| Download URL | synth_shell_theme-1.4.0-py3-none-any.whl |
|---|---|
| Size | 138.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ddd3da4a86f98856a8aa50811ffa13b9bbad4f53132bdc7ad1834e0876b9481
|
|
BLAKE2b-256 checksum How to use checksums |
218241f778504bb1763afa39cb94fb778fd4ac796bdd45fff316778c7b806759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logSecurity for synth-shell-theme 1.4.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for synth_shell_theme-1.4.0.tar.gz
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 Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.