登录 注册
开发者工具AI 模型与开发框架 ai-toolsclaude-codeclideveloper-toolsgitpowerline
13,578
Stars
610
Forks
27
Watchers
138
Open Issues
MIT
许可证
TypeScript
语言
2025-08-08
创建时间
2026-11-09
最近更新

项目能做什么

专为 Claude Code CLI 打造的高颜值状态栏,支持 Powerline 与主题定制。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center">

<pre>
              _        _             _ _            
  ___ ___ ___| |_ __ _| |_ _   _ ___| (_)_ __   ___ 
 / __/ __/ __| __/ _` | __| | | / __| | | '_ \ / _ \
| (_| (__\__ \ || (_| | |_| |_| \__ \ | | | | |  __/
 \___\___|___/\__\__,_|\__|\__,_|___/_|_|_| |_|\___|
                                                     
</pre>

# 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)
[![npm unpacked size](https://img.shields.io/npm/unpacked-size/ccstatusline.svg)](https://www.npmjs.com/package/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)

</div>
<br />

## 📚 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)

<br />

## 🚀 Quick Start

### No installation needed! Use directly with npx or bunx:

```bash
# Run the configuration TUI with npm
npx -y ccstatusline@latest

# Or use bunx, Bun's alternative to npx
bunx -y ccstatusline@latest
```

Startup time can vary with the package runner (`npx` or `bunx`), its cache, and your platform. If repeated status line launches are slow, consider the **Pinned global install** option described below to run `ccstatusline` directly.

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.

<br />
<details>
<summary><b>Configure ccstatusline</b></summary>

The interactive configuration tool provides a terminal UI where you can:
- Configure mul
阅读完整原文

商业机会分析 AI 生成

Claude Code 桌面菜单栏/状态监控小组件 (Desktop Companion HUD)

产品构想将终端 statusline 能力外溢至系统级(如 macOS 菜单栏 / Windows 托盘),在不占用终端宝贵行数的前提下,实时监控 Claude Code 的运行状态、Token 消耗率、后台任务完成通知等
核心功能系统托盘/菜单栏常驻、实时 Token/费用消耗折线图、长时间生成完成系统通知、一键注入/管理 ccstatusline 主题与终端配置
目标用户多终端并行、重度使用 Claude Code 的全栈与前端开发者
难度/周期中等 · 3 - 5 周 · 成本:极低(主要是本地客户端开发与分发成本)
收费模式买断制独立软件(如 9.9 - 19.9 美元)或 Gumroad/App Store 分发
竞争风险Claude Code 官方未来可能自带桌面通知或图形化界面;不同操作系统终端 Hook 兼容性较繁琐
依据 AI推测

团队级 Claude Code 成本控制与工作流审计扩展 (Team Hub / SaaS)

产品构想基于终端 statusline 作为采集节点,向上搭建轻量 SaaS,帮助技术团队管理者追踪成员使用 Claude Code 的 API 额度、任务效率与代码变更
核心功能团队统一的 statusline 规范分发、实时 Token 预算超额熔断警报、按开发者/项目维度的成本分析大盘、敏感操作终端审计
目标用户采用 Claude Code 作为主力编程助手的小型产研团队、CTO/研发效能负责人
难度/周期中等偏高 · 6 - 8 周 · 成本:轻量 Web 服务 + 数据库托管(每月约 50-100 美元)
收费模式按席位订阅制 SaaS(如 $5/人/月)
竞争风险开发者对终端埋点隐私天然排斥;需防范 API Key 泄漏风险;合规要求高
依据 尚需验证的假设

AI CLI 生态高阶主题与生产力小组件市场 (Pro Themes & Extensions Pack)

产品构想扩展支持 Claude Code 以及其他 AI CLI(如 Aider、Copilot CLI),提供高颜值动态主题、音效包以及集成第三方服务(Linear、Jira、GitHub Actions)的高级组件
核心功能开箱即用的高级 Powerline 动态效果、CI/CD 状态集成组件、任务关联状态栏(显示当前正在解决的 Jira/Linear Issue 进度)
目标用户追求终端极致体验的开发者、独立开发者、技术博主
难度/周期低 · 2 - 3 周 · 成本:几乎为零
收费模式数字资产赞助销售(GitHub Sponsors / Gumroad),支持企业赞助挂名
竞争风险开源社区白嫖率极高,开发者可能通过自行修改代码绕过付费,商业天花板低
依据 数据支持的判断
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
Significant-Gravitas/AutoGPT 中文介绍暂未生成
AutoGPT is the vision of accessible AI for everyone, to use
187,985 Python
langgenius/dify 中文介绍暂未生成
Build Agentic workflows, RAG pipelines, with rich AI model a
160,872 Python
langflow-ai/langflow 中文介绍暂未生成
Langflow is a powerful tool for building and deploying AI-po
156,509 Python
farion1231/cc-switch 中文介绍暂未生成
A cross-platform desktop All-in-One assistant for Claude Cod
153,326 Rust
x1xhlol/system-prompts-and-models-of-ai-tools 中文介绍暂未生成
FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cu
144,602 -
browser-use/browser-use 中文介绍暂未生成
Open-source Python library for AI browser agents, plus Brows
120,578 Python
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2025-08-08,近 30 天仍在推送,发布过 19 个 Release
社区活跃Star 13,578 / Fork 610 / Issue 138(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/sirmalloc/ccstatusline.git
cd ccstatusline
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。