# ccstatusline **Repository Path**: mirrors_trending/ccstatusline ## Basic Information - **Project Name**: ccstatusline - **Description**: ๐Ÿš€ Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-29 - **Last Updated**: 2026-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
              _        _             _ _            
  ___ ___ ___| |_ __ _| |_ _   _ ___| (_)_ __   ___ 
 / __/ __/ __| __/ _` | __| | | / __| | | '_ \ / _ \
| (_| (__\__ \ || (_| | |_| |_| \__ \ | | | | |  __/
 \___\___|___/\__\__,_|\__|\__,_|___/_|_|_| |_|\___|
                                                     
# ccstatusline **๐ŸŽจ A highly customizable status line formatter for Claude Code CLI** *Display model info, git branch, token usage, and other metrics in your terminal* [![npm version](https://img.shields.io/npm/v/ccstatusline.svg)](https://www.npmjs.com/package/ccstatusline) [![npm downloads](https://img.shields.io/npm/dm/ccstatusline.svg)](https://www.npmjs.com/package/ccstatusline) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/sirmalloc/ccstatusline/blob/main/LICENSE) [![Node.js Version](https://img.shields.io/node/v/ccstatusline.svg)](https://nodejs.org) [![install size](https://packagephobia.com/badge?p=ccstatusline)](https://packagephobia.com/result?p=ccstatusline) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/sirmalloc/ccstatusline/graphs/commit-activity) [![Mentioned in Awesome Claude Code](https://awesome.re/mentioned-badge.svg)](https://github.com/hesreallyhim/awesome-claude-code) [![ClaudeLog - A comprehensive knowledge base for Claude](https://claudelog.com/img/claude_log_badge.svg)](https://claudelog.com/) ![Demo](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/demo.gif)

## ๐Ÿ“š Table of Contents - [Recent Updates](#-recent-updates) - [Features](#-features) - [Localizations](#-localizations) - [Quick Start](#-quick-start) - [Windows Support](docs/WINDOWS.md) - [Usage](docs/USAGE.md) - [Development](docs/DEVELOPMENT.md) - [Contributing](#-contributing) - [License](#-license) - [Related Projects](#-related-projects)
## ๐Ÿ†• Recent Updates ### v2.2.22 - Powerline flex mode, dim styling, safer config, and polish ![Powerline Flex Mode](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/powerline-flex.png) - **โšก Powerline flex mode** - Flex separators now work in Powerline mode, letting Powerline status lines right-align content or absorb available width. - **๐ŸŒ— Per-widget dim styling** - The color editor can dim an entire widget or only parenthesized text, with reset and clear-all actions covering dim state. - **๐Ÿงฏ Safer settings recovery** - Invalid `settings.json` files are left untouched, defaults render in memory, and the status line shows an invalid-config warning. ### v2.2.21 - Cache widgets, compaction details, extra usage currency, and package fixes - **๐Ÿ”ฃ Custom widget glyphs** - Git and JJ symbol widgets can override or suppress their built-in glyphs from the TUI. - **๐Ÿ” Compaction counter details** - `Compaction Counter` now counts explicit `compact_boundary` markers and can optionally show trigger splits plus tokens reclaimed. - **๐Ÿ’ธ Extra usage improvements** - Added `Extra Usage Used` and formats extra usage amounts with the billing currency reported by the usage API. - **๐Ÿ“ Custom command width context** - `Custom Command` widgets receive `terminal_width` in stdin JSON when ccstatusline can detect the terminal width. - **๐Ÿง  Prompt cache widgets** - Added `Cache Hit Rate`, `Cache Read`, and `Cache Write` widgets with turn/session scopes and hide-when-empty behavior. - **๐Ÿ”ข Token rounding fix** - Token counts from `999950` through `999999` now render as `1.0M` instead of `1000.0k`. ### v2.2.20 - Gradients, token accuracy, usage reliability, and Git PR/MR fixes - **๐ŸŒˆ Gradient colors** - Added per-widget and whole-line foreground gradients with named presets, custom hex stops, TUI picker support, and Powerline-aware rendering. Press `g` on the Edit Colors screen for widget gradients, or press `g` for Override FG Color in Global Overrides for a line-wide gradient. - **๐ŸŽฏ More accurate token counts** - `Tokens Input` and `Tokens Output` now prefer cumulative transcript metrics before falling back to context-window totals. - **๐Ÿ’ธ Extra usage no-limit fix** - Extra usage widgets no longer get stuck on `[Timeout]` for accounts with overage enabled but no monthly limit configured. - **๐Ÿ” Compaction glitch filtering** - `Compaction Counter` ignores transient below-1% context readings so incomplete status frames do not create false compaction counts. - **๐Ÿ”€ SSH alias Git PR/MR detection** - Git PR/MR detection resolves SSH host aliases while preserving canonical GitHub and GitLab hosts for CLI selection and fallback repo links. - **๐Ÿงช Usage test cache isolation** - Usage-fetch test probes now isolate `HOME`, `USERPROFILE`, `CLAUDE_CONFIG_DIR`, and proxy variables so local tests cannot touch the real ccstatusline cache. - **๐Ÿ“ฆ Dependency refresh** - Refreshed React/React DOM and Bun lockfile development-tooling resolutions for the release. ### v2.2.14 - v2.2.19 - Version pinning, npm provenance, usage overage widgets, and Git lock avoidance - **๐Ÿ“Œ Version pinning support** - Added support for pinned global installs so Claude Code can keep running a specific ccstatusline version. - **๐Ÿ” npm provenance attestations** - Published packages now use trusted publishing provenance so users can verify where releases were built while avoiding long-lived npm publish tokens. - **๐Ÿ”„ Moving from auto-update installs** - If you currently use an auto-updating install, use the TUI uninstall option first, then reinstall to go through the version pinning flow. Your ccstatusline settings are preserved when uninstalling. - **๐Ÿ’ธ Extra usage widgets** - Added Extra Usage Utilization and Extra Usage Remaining widgets for monthly pay-as-you-go overage limits, with null rate-limit buckets handled as zero usage. - **๐Ÿ”’ Git lock avoidance** - Git helpers now pass `--no-optional-locks` so background status checks avoid creating `index.lock` races. - **๐Ÿงฑ Older Git compatibility** - Git widgets avoid newer command forms so repository status works on older Git installations. - **โšก Persistent Git cache** - Git command output is cached under `~/.cache/ccstatusline/git-cache` with configurable TTL and `.git/HEAD`/`.git/index` mtime checks to reduce repeated subprocess work. - **๐Ÿงญ Install flow polish** - Pinned global install is now the default install option, with clearer wording for install and migration flows. - **๐ŸชŸ Hidden helper processes** - Runtime child processes set `windowsHide` so helper commands do not open extra windows on Windows. - **๐Ÿ“ Terminal width override** - `CCSTATUSLINE_WIDTH` can provide an explicit terminal width when automatic probing is unavailable. ### v2.2.13 - Weekly model usage, voice status, hooks, and docs - **๐Ÿ“Š Weekly Sonnet/Opus usage widgets** - Added separate weekly usage widgets for Sonnet and Opus API buckets, matching Claude Code's `/usage` model split. - **๐ŸŽค Voice Status widget** - Added a widget that shows whether Claude Code voice input is enabled, with icon, text, word, and optional Nerd Font display modes. - **๐Ÿ“‰ Timer short bars** - Block Timer, Block Reset Timer, and Weekly Reset Timer now support compact short-bar progress displays. - **๐Ÿ”• Quieter hook output** - Hook handling now suppresses no-op JSON output so non-status updates stay silent. ### v2.2.9 - v2.2.12 - GitLab support, reset timers, context, compaction, and git widgets - **๐ŸฆŠ GitLab PR/MR support** - `Git Branch` and `Git PR/MR` now support GitHub, GitLab, and compatible self-hosted remotes, using `gh` or `glab` as appropriate. - **๐Ÿ”„ Status line refresh interval** - Installed configs can set Claude Code's `statusLine.refreshInterval` from the TUI when Claude Code >=2.1.97 supports it. - **๐Ÿงญ Wrap-around TUI navigation** - Menu/list navigation and move/reorder modes now wrap at the first and last items. - **๐Ÿ“‹ Clone widget shortcut** - Press `k` in the item editor to duplicate the selected widget, with fresh Powerline background color for cloned Powerline items. - **๐Ÿ“Š Short bar display modes** - Context percentage, Context Bar, Session Usage, Weekly Usage, Block Timer, and reset timer widgets can use compact bar variants. - **โฑ๏ธ Usage time cursor** - Session Usage and Weekly Usage progress bars can show the elapsed time position within the current usage window. - **๐Ÿ•’ Reset timer timestamps** - Block and Weekly Reset Timer widgets can show exact reset timestamps with compact formatting, 12/24-hour display, IANA time zones, and locale selection. - **๐ŸชŸ Context Window widget** - Added a `Context Window` widget for total model window size, keeping `Context Length` focused on current context usage. - **๐Ÿ” Compaction Counter widget** - Added a `Compaction Counter` widget that tracks session context compactions, with icon/text/number formats, optional Nerd Font icon, and hide-when-zero behavior. - **๐Ÿงฎ Git file status widgets** - Added `Git Staged Files`, `Git Unstaged Files`, `Git Untracked Files`, and `Git Clean Status` for file counts and clean/dirty state. - **๐Ÿท๏ธ Clear context percentage labels** - `Context %` and `Context % (usable)` now label rendered values as used or left when toggling used/remaining mode. - **โšก More Powerline caps** - The Powerline separator editor now supports more than three start/end caps. - **๐Ÿง  Thinking Effort updates** - Added `xhigh`, show `default` when no effort is set, mark unknown future effort levels with `?`, and track live status JSON plus `/effort` command changes. Claude Code reports Ultracode as `xhigh` in status line data. - **๐Ÿงฎ More accurate token counts** - Streaming duplicate JSONL entries are deduped so token widgets do not overcount live Claude Code output. - **๐Ÿท๏ธ Cleaner model display** - The Model widget strips trailing context suffixes like `(1M context)`; use `Context Window` when you want the total window size shown. - **๐Ÿงน Cleaner empty-widget separators** - Manual separators now collapse around widgets that render empty, avoiding dangling separators when hide-when-empty widgets disappear. - **๐Ÿงฑ More resilient Git helpers** - Git widgets handle missing or unusual git command output more defensively. ### v2.2.8 - Git widgets, smarter picker search, and minimalist mode - **๐Ÿ”€ New Git PR widget** - Added a `Git PR` widget with clickable PR links plus optional status and title display for the current branch. - **๐Ÿงฐ Major Git widget expansion** - Added `Git Status`, `Git Staged`, `Git Unstaged`, `Git Untracked`, `Git Ahead/Behind`, `Git Conflicts`, `Git SHA`, `Git Origin Owner`, `Git Origin Repo`, `Git Origin Owner/Repo`, `Git Upstream Owner`, `Git Upstream Repo`, `Git Upstream Owner/Repo`, `Git Is Fork`, `Git Worktree Mode`, `Git Worktree Name`, `Git Worktree Branch`, `Git Worktree Original Branch`, and `Custom Symbol`. - **๐Ÿ‘ค Claude Account Email widget** - Added a session widget that reads the signed-in Claude account email from `~/.claude.json` while respecting `CLAUDE_CONFIG_DIR`. - **๐Ÿงผ Global Minimalist Mode** - Added a global toggle in `Global Overrides` that forces widgets into raw-value mode for a cleaner, label-free status line. - **๐Ÿ”Ž Smarter widget picker search** - The add/change widget picker now supports substring, initialism, and fuzzy matching, with ranked results and live match highlighting. - **๐Ÿ“ Better terminal width detection** - Flex separators and right-alignment now work more reliably when ccstatusline is launched through wrapper processes or nested PTYs. - **๐ŸŽจ Powerline theme continuity** - Built-in Powerline themes can now continue colors cleanly across multiple status lines instead of restarting each line.
Older updates (v2.2.6 and earlier) ### v2.2.0 - v2.2.6 - Speed, widgets, links, and reliability updates - **๐Ÿš€ New Token Speed widgets** - Added three widgets: **Input Speed**, **Output Speed**, and **Total Speed**. - Each speed widget supports a configurable window of `0-120` seconds in the widget editor (`w` key). - `0` disables window mode and uses a full-session average speed. - `1-120` calculates recent speed over the selected rolling window. - **๐Ÿงฉ New Skills widget controls (v2.2.1)** - Added configurable Skills modes (last/count/list), optional hide-when-empty behavior, and list-size limiting with most-recent-first ordering. - **๐ŸŒ Usage API proxy support (v2.2.2)** - Usage widgets honor the uppercase `HTTPS_PROXY` environment variable for their direct API call to Anthropic. - **๐Ÿง  New Thinking Effort widget (v2.2.4)** - Added a widget that shows the current Claude Code thinking effort level. - **๐ŸŽ Better macOS usage lookup reliability (v2.2.5)** - Improved reliability when loading usage API tokens on macOS. - **โŒจ๏ธ New Vim Mode widget (v2.2.5)** - Added a widget that shows the current vim mode, with ASCII and optional Nerd Font icon display. - **๐Ÿ”— Git widget link modes (v2.2.6)** - `Git Branch` can render clickable GitHub branch links, and `Git Root Dir` can render clickable IDE links for VS Code and Cursor. - **๐Ÿค Better subagent-aware speed reporting** - Token speed calculations continue to include referenced subagent activity so displayed speeds better reflect actual concurrent work. ### v2.1.0 - v2.1.10 - Usage widgets, links, new git insertions / deletions widgets, and reliability fixes - **๐Ÿงฉ New Usage widgets (v2.1.0)** - Added **Session Usage**, **Weekly Usage**, **Block Reset Timer**, and **Context Bar** widgets. - **๐Ÿ“Š More accurate counts (v2.1.0)** - Usage/context widgets now use new statusline JSON metrics when available for more accurate token and context counts. - **๐ŸชŸ Windows empty file bug fix (v2.1.1)** - Fixed a Windows issue that could create an empty `c:\dev\null` file. - **๐Ÿ”— New Link widget (v2.1.3)** - Added a new **Link** widget with clickable OSC8 rendering, preview parity, and raw mode support. - **โž• New Git Insertions widget (v2.1.4)** - Added a dedicated Git widget that shows only uncommitted insertions (e.g., `+42`). - **โž– New Git Deletions widget (v2.1.4)** - Added a dedicated Git widget that shows only uncommitted deletions (e.g., `-10`). - **๐Ÿง  Context format fallback fix (v2.1.6)** - When `context_window_size` is missing, context widgets now infer 1M models from long-context labels such as `[1m]` and `1M context` in model identifiers. - **โณ Weekly reset timer split (v2.1.7)** - Added a separate `Weekly Reset Timer` widget. - **โš™๏ธ Custom config file flag (v2.1.8)** - Added `--config ` support so ccstatusline can load/save settings from a custom file location. - **๐Ÿ”ฃ Unicode separator hex input upgrade (v2.1.9)** - Powerline separator hex input now supports 4-6 digits (full Unicode code points up to `U+10FFFF`). - **๐ŸŒณ Bare repo worktree detection fix (v2.1.10)** - `Git Worktree` now correctly detects linked worktrees created from bare repositories. ### v2.0.26 - v2.0.29 - Performance, git internals, and workflow improvements - **๐Ÿง  Memory Usage widget (v2.0.29)** - Added a new widget that shows current system memory usage (`Mem: used/total`). - **โšก Block timer cache (v2.0.28)** - Cache block timer metrics to reduce JSONL parsing on every render, with per-config hashed cache files and automatic 5-hour block invalidation. - **๐Ÿงฑ Git widget command refactor (v2.0.28)** - Refactored git widgets to use shared git command helpers and expanded coverage for failure and edge-case tests. - **๐ŸชŸ Windows UTF-8 piped output fix (v2.0.28)** - Sets the Windows UTF-8 code page for piped status line rendering. - **๐Ÿ“ Git Root Dir widget (v2.0.27)** - Added a new Git widget that shows the repository root directory name. - **๐Ÿท๏ธ Session Name widget (v2.0.26)** - Added a new widget that shows the current Claude Code session name from `/rename`. - **๐Ÿ  Current Working Directory home abbreviation (v2.0.26)** - Added a `~` abbreviation option for CWD display in both preview and live rendering. - **๐Ÿง  Context model suffix fix (v2.0.26)** - Context widgets now recognize the `[1m]` suffix across models, not just a single model path. - **๐Ÿงญ Widget picker UX updates (v2.0.26)** - Improved widget discovery/navigation and added clearer, safer clear-line behavior. - **โŒจ๏ธ TUI editor input fix (v2.0.26)** - Prevented shortcut/input leakage into widget editor flows. - **๐Ÿ“„ Repo docs update (v2.0.26)** - Migrated guidance from `CLAUDE.md` to `AGENTS.md` (with symlink compatibility). ### v2.0.16 - Add fish style path abbreviation toggle to Current Working Directory widget ### v2.0.15 - Block Timer calculation fixes - Fix miscalculation in the block timer ### v2.0.14 - Add remaining mode toggle to Context Percentage widgets - **Remaining Mode** - You can now toggle the Context Percentage widgets between usage percentage and remaining percentage when configuring them in the TUI by pressing the 'u' key. ### v2.0.12 - Custom Text widget now supports emojis - **๐Ÿ‘พ Emoji Support** - You can now paste emoji into the custom text widget. You can also turn on the merge option to get emoji labels for your widgets like this: ![Emoji Support](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/emojiSupport.png) ### v2.0.11 - Unlimited Status Lines - **๐Ÿš€ No Line Limit** - Configure as many status lines as you need - the 3-line limitation has been removed ### v2.0.10 - Git Updates - **๐ŸŒณ Git Worktree widget** - Shows the active worktree name when working with git worktrees - **๐Ÿ‘ป Hide 'no git' message toggle** - Git widgets now support hiding the 'no git' message when not in a repository (toggle with 'h' key while editing the widget) ### v2.0.8 - Powerline Auto-Alignment ![Powerline Auto-Alignment](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/autoAlign.png) - **๐ŸŽฏ Widget Alignment** - Auto-align widgets across multiple status lines in Powerline mode for a clean, columnar layout (toggle with 'a' in Powerline Setup) ### v2.0.7 - Current Working Directory & Session Cost ![Current Working Directory and Session Cost](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/cwdAndSessionCost.png) - **๐Ÿ“ Current Working Directory** - Display the current working directory with configurable segment display - Set the number of path segments to show (e.g., show only last 2 segments: `.../Personal/ccstatusline`) - Supports raw value mode for compact display - Automatically truncates long paths with ellipsis - **๐Ÿ’ฐ Session Cost Widget** - Track your Claude Code session costs (requires Claude Code 1.0.85+) - Displays total session cost in USD - Supports raw value mode (shows just `$X.YZ` vs `Cost: $X.YZ`) - Real-time cost tracking from Claude Code session data - Note: Cost may not update properly when using `/resume` (Claude Code limitation) - **๐Ÿ› Bug Fixes** - Fixed Block Timer calculations for accurate time tracking across block boundaries - Improved widget editor stability with proper Ctrl+S handling - Enhanced cursor display in numeric input fields ### v2.0.2 - Block Timer Widget ![Block Timer](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/blockTimerSmall.png) - **โฑ๏ธ Block Timer** - Track your progress through 5-hour Claude Code blocks - Displays time elapsed in current block as hours/minutes (e.g., "3hr 45m") - Progress bar mode shows visual completion percentage - Two progress bar styles: full width (32 chars) or compact (16 chars) - Automatically detects block boundaries from transcript timestamps ### v2.0.0 - Powerline Support & Enhanced Themes - **โšก Powerline Mode** - Beautiful Powerline-style status lines with arrow separators and customizable caps - **๐ŸŽจ Built-in Themes** - Multiple pre-configured themes that you can copy and customize - **๐ŸŒˆ Advanced Color Support** - Basic (16), 256-color (with custom ANSI codes), and truecolor (with hex codes) modes, plus multi-stop **gradients** (per-widget or spanning the whole line) - **๐Ÿ”— Widget Merging** - Merge multiple widgets together with or without padding for seamless designs - **๐Ÿ“ฆ Easy Installation** - Install directly with `npx` or `bunx` - no global package needed - **๐Ÿ”ค Custom Separators** - Add multiple Powerline separators with custom hex codes for font support - **๐Ÿš€ Auto Font Install** - Automatic Powerline font installation with user consent

## โœจ Features - **๐Ÿ“Š Real-time Metrics** - Display model name, git branch, token usage, per-model weekly usage, extra usage limits, voice input state, session duration, compaction count, block timer, and more - **๐ŸŽจ Fully Customizable** - Choose what to display and customize colors for each element - **โšก Powerline Support** - Beautiful Powerline-style rendering with arrow separators, caps, and custom fonts - **๐Ÿ“ Multi-line Support** - Configure multiple independent status lines - **๐Ÿ–ฅ๏ธ Interactive TUI** - Built-in configuration interface using React/Ink - **๐Ÿ”Ž Fast Widget Picker** - Add/change widgets by category with search and ranked matching - **โš™๏ธ Global Options** - Apply consistent formatting across all widgets (padding, separators, bold, minimalist mode, and color overrides) - **๐Ÿš€ Cross-platform** - Works seamlessly with both Bun and Node.js - **๐Ÿ”ง Flexible Configuration** - Supports custom Claude Code config directory via `CLAUDE_CONFIG_DIR` environment variable - **๐Ÿ“ Smart Width Detection** - Automatically adapts to terminal width with flex separators - **โšก Zero Config** - Sensible defaults that work out of the box
## ๐ŸŒ Localizations The localizations in this section are third-party forks maintained outside this repository. They are not maintained, reviewed, or endorsed by this repository, so review their code and releases before using them. - ๐ŸŒ **ไธญๆ–‡็‰ˆ (Chinese):** [ccstatusline-zh](https://github.com/huangguang1999/ccstatusline-zh)
## ๐Ÿš€ Quick Start ### No installation needed! Use directly with npx or bunx: ```bash # Run the configuration TUI with npm npx -y ccstatusline@latest # Or with Bun (faster) bunx -y ccstatusline@latest ``` Both commands launch the same TUI. During the initial setup flow, choose **Pinned global install** if you want Claude Code to stay on the ccstatusline version you are running instead of following `@latest`; the TUI will install that version globally with npm or Bun and write the pinned `ccstatusline` command to Claude Code settings. After a pinned install, you can run `ccstatusline` directly to launch the TUI in the future.
Configure ccstatusline The interactive configuration tool provides a terminal UI where you can: - Configure multiple separate status lines - Add/remove/reorder status line widgets - Customize colors for each widget - Configure flex separator behavior - Configure Claude Code status line refresh interval when supported - Edit custom text widgets - Install/uninstall to Claude Code settings - Preview your status line in real-time > ๐Ÿ’ก **Tip:** Your settings are automatically saved to `~/.config/ccstatusline/settings.json` > ๐Ÿ”ง **Custom Claude Config:** If your Claude Code configuration is in a non-standard location, set the `CLAUDE_CONFIG_DIR` environment variable: > ```bash > # Linux/macOS > export CLAUDE_CONFIG_DIR=/custom/path/to/.claude > ``` > ๐ŸŒ **Usage API proxy:** Usage widgets honor the uppercase `HTTPS_PROXY` environment variable for their direct API call to Anthropic. > ๐ŸชŸ **Windows Support:** PowerShell examples, installation notes, fonts, troubleshooting, WSL, and Windows Terminal configuration are in [docs/WINDOWS.md](docs/WINDOWS.md).
Claude Code settings.json format When you install from the TUI, ccstatusline writes a `statusLine` command object to your Claude Code settings: ```json { "statusLine": { "type": "command", "command": "npx -y ccstatusline@latest", "padding": 0, "refreshInterval": 10 } } ``` `refreshInterval` is written only when your Claude Code version supports it (>=2.1.97). The TUI can set it to `1-60` seconds, or remove it by leaving the input empty. Other supported command values are: - `bunx -y ccstatusline@latest` - `ccstatusline` (for self-managed/global installs) For pinned installs, launch the TUI with `npx -y ccstatusline@latest` or `bunx -y ccstatusline@latest`, then choose **Pinned global install**. The TUI pins the active version by installing it globally and writing `"command": "ccstatusline"` to `settings.json`; afterward, you can run `ccstatusline` directly to open the TUI.
## ๐Ÿค Contributing Contributions are welcome! Please feel free to submit a Pull Request. 1. Fork the repository 2. Create your feature branch (`git checkout -b feature/amazing-feature`) 3. Commit your changes (`git commit -m 'Add some amazing feature'`) 4. Push to the branch (`git push origin feature/amazing-feature`) 5. Open a Pull Request ## Support If ccstatusline is useful to you, consider buying me a coffee: Buy Me A Coffee ## ๐Ÿ“„ License [MIT](LICENSE) ยฉ Matthew Breedlove ## ๐Ÿ‘ค Author **Matthew Breedlove** - GitHub: [@sirmalloc](https://github.com/sirmalloc) ## ๐Ÿ”— Related Projects - [tweakcc](https://github.com/Piebald-AI/tweakcc) - Customize Claude Code themes, thinking verbs, and more. - [ccusage](https://github.com/ryoppippi/ccusage) - Track and display Claude Code usage metrics. - [codachi](https://github.com/vincent-k2026/codachi) - A tamagotchi-style statusline pet that grows with your context window. - [AIWatch](https://ai-watch.dev) - Live status monitor for 30+ AI APIs and apps; pairs with a Custom Command widget to surface provider outages in your status line. ## ๐Ÿ™ Acknowledgments - Built for use with [Claude Code CLI](https://claude.ai/code) by Anthropic - Powered by [Ink](https://github.com/vadimdemedes/ink) for the terminal UI - Made with โค๏ธ for the Claude Code community
## Star History Star History Chart
### ๐ŸŒŸ Show Your Support Give a โญ if this project helped you! [![GitHub stars](https://img.shields.io/github/stars/sirmalloc/ccstatusline?style=social)](https://github.com/sirmalloc/ccstatusline/stargazers) [![GitHub forks](https://img.shields.io/github/forks/sirmalloc/ccstatusline?style=social)](https://github.com/sirmalloc/ccstatusline/network/members) [![GitHub watchers](https://img.shields.io/github/watchers/sirmalloc/ccstatusline?style=social)](https://github.com/sirmalloc/ccstatusline/watchers) [![npm version](https://img.shields.io/npm/v/ccstatusline.svg)](https://www.npmjs.com/package/ccstatusline) [![npm downloads](https://img.shields.io/npm/dm/ccstatusline.svg)](https://www.npmjs.com/package/ccstatusline) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/sirmalloc/ccstatusline/blob/main/LICENSE) [![Made with Bun](https://img.shields.io/badge/Made%20with-Bun-000000.svg?logo=bun)](https://bun.sh) [![Issues](https://img.shields.io/github/issues/sirmalloc/ccstatusline)](https://github.com/sirmalloc/ccstatusline/issues) [![Pull Requests](https://img.shields.io/github/issues-pr/sirmalloc/ccstatusline)](https://github.com/sirmalloc/ccstatusline/pulls) [![Contributors](https://img.shields.io/github/contributors/sirmalloc/ccstatusline)](https://github.com/sirmalloc/ccstatusline/graphs/contributors) ### ๐Ÿ’ฌ Connect [Report Bug](https://github.com/sirmalloc/ccstatusline/issues) ยท [Request Feature](https://github.com/sirmalloc/ccstatusline/issues) ยท [Discussions](https://github.com/sirmalloc/ccstatusline/discussions)