sirmalloc/ccstatusline

โ˜… 12,964โ‘‚ 574

๐Ÿš€ Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

About sirmalloc/ccstatusline

sirmalloc/ccstatusline is an open-source project on GitHub, mainly written in TypeScript. ๐Ÿš€ Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more. It currently holds 12,964 stars and 574 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Coding Agents board.

GitHub Repository Details

Repository sirmalloc/ccstatusline ยท default branch - ยท size 0 KB ยท watchers 0 ยท source: GitHub REST API and repository README

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 npm downloads License: MIT Node.js Version install size Maintenance

Mentioned in Awesome Claude Code ClaudeLog - A comprehensive knowledge base for Claude

Demo


๐Ÿ“š Table of Contents


๐Ÿ†• Recent Updates

v2.2.29 - v2.2.30 - Faster rendering, command caching, and reliable usage

v2.2.28 - v2.2.29 - Service health, flexible formatting, and resilient rendering

v2.2.27 - Portable configuration import and export

v2.2.25 - v2.2.26 - Fable usage, migrated usage API support, compaction accuracy, and rendering reliability

v2.2.22 - v2.2.24 - Powerline flex mode, cache/CI/sandbox visibility, layout controls, composable metrics, and safer config

Powerline Flex Mode

v2.2.21 - Cache widgets, compaction details, extra usage currency, and package fixes

v2.2.20 - Gradients, token accuracy, usage reliability, and Git PR/MR fixes

v2.2.14 - v2.2.19 - Version pinning, npm provenance, usage overage widgets, and Git lock avoidance

v2.2.13 - Weekly model usage, voice status, hooks, and docs


Older updates (v2.2.12 and earlier)

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.

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 Supp

GitHub Stars & Activity

12,964Stars
574Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars12,964
Forks574
Open issues0
Primary languageTypeScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

thedotmack / claude-mem

TypeScriptโ˜… 94,360โ‘‚ 8,336
โ†’
2

Egonex-AI / Understand-Anything

TypeScriptโ˜… 83,490โ‘‚ 7,043
โ†’
3

stablyai / orca

TypeScriptโ˜… 73,877โ‘‚ 4,841
โ†’
4

ruvnet / ruflo

TypeScriptโ˜… 72,954โ‘‚ 8,660
โ†’
5

diegosouzapw / OmniRoute

TypeScriptโ˜… 68,672โ‘‚ 9,716
โ†’
6

Yeachan-Heo / oh-my-claudecode

TypeScriptโ˜… 39,279โ‘‚ 3,510
โ†’
7

JCodesMore / ai-website-cloner-template

TypeScriptโ˜… 34,705โ‘‚ 5,055
โ†’
8

iOfficeAI / AionUi

TypeScriptโ˜… 32,998โ‘‚ 3,418
โ†’

More AI Rankings