{"id":26479601,"url":"https://github.com/Dwtexe/cursor-stats","last_synced_at":"2025-03-20T01:55:42.108Z","repository":{"id":275446477,"uuid":"926090667","full_name":"Dwtexe/cursor-stats","owner":"Dwtexe","description":"A Cursor extension that displays your Cursor Subscription usage statistics in the status bar.","archived":false,"fork":false,"pushed_at":"2025-02-14T20:54:11.000Z","size":26766,"stargazers_count":23,"open_issues_count":4,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T21:32:50.977Z","etag":null,"topics":["cursor","cursor-ai","cursor-ai-editor","cursor-ide"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=Dwtexe.cursor-stats","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dwtexe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-02T14:34:23.000Z","updated_at":"2025-02-14T20:54:15.000Z","dependencies_parsed_at":"2025-02-02T16:34:21.760Z","dependency_job_id":null,"html_url":"https://github.com/Dwtexe/cursor-stats","commit_stats":null,"previous_names":["dwtexe/cursor-stats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dwtexe%2Fcursor-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dwtexe%2Fcursor-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dwtexe%2Fcursor-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dwtexe%2Fcursor-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dwtexe","download_url":"https://codeload.github.com/Dwtexe/cursor-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244536437,"owners_count":20468349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cursor","cursor-ai","cursor-ai-editor","cursor-ide"],"created_at":"2025-03-20T01:55:40.985Z","updated_at":"2025-03-20T01:55:42.098Z","avatar_url":"https://github.com/Dwtexe.png","language":"TypeScript","funding_links":[],"categories":["Extensions","TypeScript"],"sub_categories":[],"readme":"# Cursor Stats Extension\n\nA VS Code extension that provides real-time statistics about your Cursor usage, including premium requests and usage-based pricing information.\n\n## Features\n\n- 🚀 Real-time monitoring of Cursor usage\n- 👥 Team usage tracking with per-user statistics\n- 📊 Premium request tracking with startOfMonth support\n- 💰 Usage-based pricing information with billing cycle awareness\n- 🔄 Smart cooldown and update mechanisms\n- 🔔 Smart notification system with configurable thresholds\n- 💸 Spending alerts with dollar amount thresholds\n- 💳 Mid-month payment tracking and invoice notifications\n- 🔒 Stripe integration for billing portal access\n- 🖥️ Focus-aware updates with optimized performance\n- 🎨 Customizable status bar display with optional colors\n- 📝 Detailed tooltips with usage statistics\n- 📈 Total request counter (fast + usage-based requests)\n- ⚡ Command palette integration\n- 🌙 Support for both regular and nightly Cursor versions\n- 🔄 Enhanced GitHub release updates with markdown support\n\n## Upcoming Features\n\nStay tuned for these exciting new features coming soon:\n\n- 📊 Session based request tracking\n- 📈 Visual analytics with graphs for historical request usage\n- 🎯 Project-specific request usage monitoring\n- 🎨 Dedicated activity bar section for enhanced statistics view\n- 🔄 Smart API error handling:\n  - Automatic retry reduction during outages\n  - Intelligent refresh rate adjustment\n  - User-friendly error notifications\n- ⚙️ Enhanced customization features:\n  - Configurable quota display options\n  - Hide/show specific model statistics\n  - Customizable status bar information\n\n## Images\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd width=\"30%\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/d20476ac-0cc9-4072-9040-8543b1c6c7d1\" width=\"100%\"/\u003e\u003c/td\u003e\n\u003ctd width=\"30%\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/dc50c52e-29e1-4e9d-b09f-66c5d0a6e4de\" width=\"100%\"/\u003e\u003c/td\u003e\n\u003ctd width=\"30%\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/b661dcce-7b74-49c7-866d-d29ad82058f7\" width=\"100%\"/\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e UI \u003c/td\u003e\n\u003ctd align=\"center\"\u003e UI \u003c/td\u003e\n\u003ctd align=\"center\"\u003e Settings \u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Installation\n\n### VS Code Marketplace\n\n1. Open VS Code\n2. Go to Extensions (Ctrl+Shift+X)\n3. Search for \"Cursor Stats\"\n4. Click Install\n\n- Or install from [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Dwtexe.cursor-stats)\n\n### Manual Installation\n\n1. Download the latest .vsix file from [Releases](https://github.com/Dwtexe/cursor-stats/releases)\n2. Open Cursor\n3. Press Ctrl+Shift+P (Cmd+Shift+P on macOS)\n4. Type 'Install from VSIX' and select it\n5. Choose the downloaded VSIX file\n\n## Project Structure\n\nThe project is organized into the following directories:\n\n```\ncursor-stats/\n├── src/\n│   ├── interfaces/      # TypeScript interfaces and types\n│   │   └── types.ts\n│   ├── services/       # Core services for different functionalities\n│   │   ├── api.ts      # API communication with Cursor servers\n│   │   ├── database.ts # SQLite database operations\n│   │   └── github.ts   # GitHub release checking\n│   ├── handlers/       # UI and event handlers\n│   │   ├── statusBar.ts # Status bar UI management\n│   │   └── notifications.ts # Smart notification system\n│   ├── utils/          # Utility functions\n│   │   └── logger.ts   # Logging functionality\n│   └── extension.ts    # Main extension file\n```\n\n## Configuration\n\nThe extension can be configured through VS Code settings:\n\n- `cursorStats.enableLogging`: Enable detailed logging for debugging\n- `cursorStats.enableStatusBarColors`: Toggle colored status bar based on usage\n- `cursorStats.enableAlerts`: Enable usage alert notifications\n- `cursorStats.showTotalRequests`: Display total requests instead of current usage\n- `cursorStats.usageAlertThresholds`: Configure percentage thresholds for alerts\n- `cursorStats.refreshInterval`: Set update frequency\n- `cursorStats.spendingAlertThreshold`: Configure dollar amount thresholds for spending alerts\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Submit a pull request\n\n## Support\n\nIf you encounter any issues or have suggestions, please:\n1. Check our [Known Issues](https://github.com/Dwtexe/cursor-stats/issues)\n2. Submit a new issue if needed\n3. Join the discussion in existing issues\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDwtexe%2Fcursor-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDwtexe%2Fcursor-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDwtexe%2Fcursor-stats/lists"}