Go Statusline
OpenCode TUI plugin: display OpenCode Go subscription quota (rolling 5h / weekly / monthly) in the footer statusline. V2-native, zero-config, no cookies.
1
1,210
近 7 天 35
41.4
生态多维模型
2 小时前
2026-10-21
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-go-statusline@1.1.0"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-go-statusline@1.1.0"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D opencode-go-statuslineOpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
English | 简体中文
Monorepo of OpenCode V2-native TUI plugins that show your AI subscription quota in the footer statusline. ✨
Each plugin reads usage from credentials that OpenCode already has — no manual setup, and secrets never leave the local server. 🔒
🧩 Plugins
| Plugin | Subscription quota | npm |
|---|---|---|
opencode-go-statusline |
🐹 OpenCode Go — rolling 5h / weekly / monthly | |
opencode-copilot-statusline |
🤖 GitHub Copilot — premium requests / chat | |
opencode-kimi-code-statusline |
🌙 Kimi Code (Kimi For Coding) |
📦 Install
Every plugin is a standalone npm package — install only the ones you need:
opencode plugin add opencode-go-statusline
See each package's README for provider-specific instructions. 📖
📄 License
MIT
同类生态推荐
Go Limits
opencode-go-limits
OpenCode TUI sidebar widget: opencode Go subscription usage limits (session/weekly/monthly) as bars + percentages
Usage Limits
opencode-usage-limits
Show OpenCode Go and ClinePass subscription usage (5-hour / weekly / monthly) in the OpenCode TUI sidebar.
Go Meter
opencode-go-meter
Your session context usage and OpenCode Go plan windows in the opencode v2 TUI sidebar, with a forecast of where the current pace lands by each reset.