Skip to content
 
 

Repository files navigation

opencode-mystatus-cli

This is a fork of opencode-mystatus that adds a new terminal mode and is otherwise identical.

Terminal Watch Mode Screenshot

Usage

For usage inside opencode, see the original repository.

Standalone Usage

You can run mystatus directly from the terminal:

# Install dependencies first (if not already installed)
npm install

# Single run - check quotas once
npm run mystatus

# Watch mode - continuously monitor quotas (updates every 5 minutes)
npm run mystatus:watch

# Watch mode with 1-minute updates (for testing/rapid monitoring)
npm run mystatus:watch:fast

# Watch mode with custom interval (e.g., every 10 minutes)
npm run mystatus -- --watch --interval 10

Command Line Options:

  • -w, --watch - Enable watch mode for continuous monitoring
  • -i, --interval <minutes> - Set polling interval in minutes (default: 5)
  • --show <sections> - Show only selected sections (header,summary,dashboard,dashboard-compact,footer)
  • --width <columns> - Set max dashboard width (auto-detected by default)

Examples:

  • npm run mystatus -- --show dashboard,summary,footer
  • npm run mystatus -- --show header,summary,dashboard-compact,footer
  • npm run mystatus -- --watch --show summary

Watch Mode Features:

  • 🔄 Automatically refreshes quota data at specified intervals
  • ⏱️ Shows live countdown to next update
  • 📊 Dashboard with color-coded health indicators
  • 🎯 Press Ctrl+C to exit gracefully

Or if you prefer using Bun:

bun install
bun run cli.ts

License

MIT

About

Check all your AI subscription quotas in one command. Supports OpenAI, Zhipu AI, and Google Antigravity. More platforms coming soon.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages