Claude Code status line

byebyecode

An enhanced fork of CCometixLine that adds 88code account information to the status line.

96 stars 13 forksStatus lines Source

Install

Install
npm install -g @88code/byebyecode
From source
git clone https://github.com/byebye-code/byebyecode.git

From the README

byebyecode

88code定制Claude Code 状态栏工具,基于CCometixLine实现

衷心感谢佬的辛勤付出(https://github.com/johnnyee)
没有佬得的付出,项目就不可持续了

安装命令

中国加速

使用办法:
下载release二进制
在命令行执行 byebyecode --init 初始化配置文件
启动 Claude即可

基于 Rust 的高性能 Claude Code 状态栏工具,集成 Git 信息、使用量跟踪、交互式 TUI 配置和 Claude Code 补丁工具。
说明: 这是一个增强版分支。特别感谢 原始 CCometixLine 项目,为本项目提供了优秀的基础。
感谢哈雷佬的幸苦付出!!!

截图

状态栏显示:模型 | 目录 | Git 分支状态 | 上下文窗口信息

特性

核心功能
- Git 集成 显示分支、状态和跟踪信息
- 模型显示 简化的 Claude 模型名称
- 使用量跟踪 基于转录文件分析
- 目录显示 显示当前工作空间
- 简洁设计 使用 Nerd Font 图标

交互式 TUI 功能
- 交互式主菜单 无输入时直接执行显示菜单
- TUI 配置界面 实时预览配置效果
- 主题系统 多种内置预设主题
- 段落自定义 精细化控制各段落
- 配置管理 初始化、检查、编辑配置

Claude Code 增强
- 禁用上下文警告 移除烦人的"Context low"消息
- 启用详细模式 增强输出详细信息
- 稳定补丁器 适应 Claude Code 版本更新
- 自动备份 安全修改,支持轻松恢复

🆕 最近更新 (v1.1.25)

Usage API Fallback 机制(2026-01-05)
- 自动 Fallback - 当 /api/usage 返回无效数据时,自动切换到 /api/subscription 获取用量
- 向后兼容 - 88code 修复接口后自动恢复原方案
- 双重保障 - 确保状态栏在任何情况下都能正常显示用量信息

88Code API 集成
- 自动检测 API key - 自动从 ~/.claude/settings.json 读取
- 用量监控 - 状态栏实时显示 token 使用情况
- 订阅追踪 - 显示套餐类型、价格和到期状态

详细集成指南请参考 README_88CODE_API.md。

ByeByeCode 集成
- 双向翻译 - 使用 GLM-4.5-Flash 实现中英文互译
- 实时监控 - 状态栏显示 byebyecode 套餐使用情况
- 自动配置 - 自动检测 Claude Code 路径

设置说明请参考 README_BYEBYECODE.md。

其他改进
- 代理支持 - 完整的 HTTP/HTTPS 代理配置功能
- 翻译模块 - 可扩展的翻译框架
- 自动配置工具 - 简化的安装配置流程
- 新增段落 - byebyecode_usage、byebyecode_subscription、byebyecode_status

使用

配置管理

主题覆盖

Claude Code 增强

默认段落

显示:目录 | Git 分支状态 | 模型 | 上下文窗口

Git 状态指示器

- 带 Nerd Font 图标的分支名
- 状态:✓ 清洁,● 有更改,⚠ 冲突
- 远程跟踪:↑n 领先,↓n 落后

模型显示

显示简化的 Claude 模型名称:
- claude-3-5-sonnet → Sonnet 3.5
- claude-4-sonnet → Sonnet 4

上下文窗口显示

基于转录文件分析的令牌使用百分比,包含上下文限制跟踪。

配置

byebyecode 支持通过 TOML 文件和交互式 TUI 进行完整配置:

- 配置文件: ~/.claude/byebyecode/config.toml
- 交互式 TUI: byebyecode --config 实时编辑配置并预览效果
- 主题文件: ~/.claude/byebyecode/themes/*.toml 自定义主题文件
- 自动初始化: byebyecode --init…
Read the full README on GitHub

How status lines work

  • A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
  • Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
  • Or run /statusline inside Claude Code and describe what you want.
Claude Code docs

Details

Language
Rust
Last updated
1 March 2026

FAQ

What is byebyecode?

An enhanced fork of CCometixLine that adds 88code account information to the status line. It is a status line for Claude Code, from byebye-code/byebyecode on GitHub.

How do I install byebyecode?

Run npm install -g @88code/byebyecode, then follow the setup in the README.

Is byebyecode popular?

byebye-code/byebyecode has 96 GitHub stars and 13 forks. It was last updated on 1 March 2026.

More status lines

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.