Skip to main content

ccstatusline-editor

A web-based visual editor for ccstatusline configuration files.

Instead of hand-editing the JSON config, open this in your browser and drag, drop, and click your status line into shape.

ccstatusline-editor screenshot

Features

  • Drag-and-drop widgets within and between status lines
  • Widget palette — all 85+ widget types grouped and searchable
  • 30 Widget Presets — curated selections for common workflows:
    • Context Watch, Cost Monitor, Project Orientation, Git Full Picture, Token Economy, Focus Mode, Performance Audit, and more
  • 68 Color Themes — named palettes (Ocean, Dracula, Gruvbox, Monokai, Tokyo Night, …)
  • Auto-separators — insert your chosen separator character between all widgets in one click
  • Max lines limit — apply presets truncated to a maximum number of status lines
  • Ctrl+S to save directly to ~/.config/ccstatusline/settings.json

Requirements

  • Python 3.8+
  • Flask

Install & run

pip install ccstatusline-editor
ccstatusline-editor

Then open http://localhost:5199 in your browser.

By default the editor reads/writes ~/.config/ccstatusline/settings.json. Point it at a different file with --config:

ccstatusline-editor --config /path/to/settings.json

Editable install

To hack on the editor itself, install it in editable mode so the ccstatusline-editor command runs straight from your working copy:

git clone https://github.com/dpc00/ccstatusline-editor.git
cd ccstatusline-editor
pip install -e .

Usage

  1. Palette (left) — drag a widget type onto any line, or double-click to add to the last line
  2. Lines (centre) — click a chip to edit its color and metadata; drag to reorder; ✕ to remove
  3. Schemes (toolbar) — choose a widget preset or color theme and apply in one click
  4. + Seps (toolbar) — select a separator character, click to insert between all widgets
  5. Save / Ctrl+S — writes back to your ccstatusline settings file

Sublime Text integration

This repo doubles as a Sublime Text package: symlink it into your Packages directory and you get a command-palette entry and keybinding that launch the editor and open it in your browser.

# macOS
ln -s "$(pwd)" "$HOME/Library/Application Support/Sublime Text/Packages/ccstatusline-editor"

# Linux
ln -s "$(pwd)" "$HOME/.config/sublime-text/Packages/ccstatusline-editor"
# Windows (run as Administrator, or enable Developer Mode for unprivileged symlinks)
New-Item -ItemType SymbolicLink -Path "$env:APPDATA\Sublime Text\Packages\ccstatusline-editor" -Target (Get-Location)

Requires ccstatusline-editor to already be installed (pip install ccstatusline-editor or the editable install above) and on your PATH.

  • Command palette — "CC Statusline Editor"

  • KeybindingCtrl+Alt+L

  • To point the launched editor at a non-default config path, add to your Preferences.sublime-settings:

    {
        "ccstatusline_config_path": "/path/to/settings.json"
    }
    

License

MIT

Download files

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

Source Distribution

ccstatusline_editor-1.0.3.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

ccstatusline_editor-1.0.3-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file ccstatusline_editor-1.0.3.tar.gz.

File metadata

  • Download URL: ccstatusline_editor-1.0.3.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ccstatusline_editor-1.0.3.tar.gz
Algorithm Hash digest
SHA256 256d31df70ea7b6b4cdc61d98448ee818154f3b37469b539f3cb6e885c48bb66
MD5 a83aadad7373ef772c4e66a78525883e
BLAKE2b-256 d8b695d9d9ddb512648cdb3e10c38c08e6d206e90f501733931f7314eef559da

See more details on using hashes here.

File details

Details for the file ccstatusline_editor-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ccstatusline_editor-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f8a328b2af106ee281101e4c862f8d417993633d1eaa6d98c30fb35d3d4cb414
MD5 766cc9da9fbbf57717532f8cd60971ab
BLAKE2b-256 3fe41c626a3578178d1b263a79730df61fd183eda4a6b41fa4f372934c6e5781

See more details on using hashes here.

Supported by

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