Discover and explore top open-source AI tools and projects—updated daily.
vbgateAI subscription quota checker for multiple platforms
Top 99.0% on SourcePulse
Summary
This OpenCode plugin consolidates AI subscription quota monitoring for platforms like OpenAI, Zhipu AI, Google Antigravity, and GitHub Copilot into a single command. It targets users of these AI services, offering a convenient way to track usage, understand remaining limits, and anticipate reset times, thereby preventing unexpected service interruptions.
How It Works
The plugin integrates with the OpenCode environment, reading API credentials and account details from local JSON configuration files (~/.local/share/opencode/auth.json and ~/.config/opencode/antigravity-accounts.json). It then programmatically queries the official APIs of each supported AI provider to fetch current quota status. The retrieved data is processed and presented to the user with clear visual indicators, including progress bars and countdowns to the next quota reset.
Quick Start & Requirements
Installation involves modifying the OpenCode configuration file (~/.config/opencode/opencode.json) to include "opencode-mystatus" in the plugin array and defining the mystatus slash command. A restart of OpenCode is then required. Alternatively, manual installation involves copying plugin files to the OpenCode configuration directory. Prerequisites include a functional OpenCode installation and, for Google Cloud support, the separate opencode-antigravity-auth plugin. Authentication credentials must be pre-configured in the specified local files.
Highlighted Details
Maintenance & Community
The provided README does not detail specific contributors, sponsorships, or community channels (e.g., Discord, Slack).
Licensing & Compatibility
The project is released under the MIT License, which permits broad usage, including commercial applications and linking within closed-source projects.
Limitations & Caveats
This plugin is dependent on the OpenCode ecosystem. Google Cloud quota monitoring requires the separate opencode-antigravity-auth plugin to be installed and configured. Support for additional AI platforms is planned but not yet implemented.
4 months ago
Inactive