cursor-usage-tracker 0.0.0-development → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -4
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -20,11 +20,19 @@
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Why This Exists
|
|
24
|
+
|
|
25
|
+
This dashboard answers three questions:
|
|
26
|
+
|
|
27
|
+
1. **Cost monitoring** - Are we spending too much? Who's driving it? Why?
|
|
28
|
+
2. **Adoption tracking** - Is everyone using the tool we're paying for?
|
|
29
|
+
3. **Usage understanding** - How is each person working with AI?
|
|
30
|
+
|
|
31
|
+
## AI Spend Is a Blind Spot
|
|
24
32
|
|
|
25
33
|
Engineering costs used to be two things: headcount and cloud infrastructure. You had tools for both. Then AI coding assistants showed up, and suddenly there's a third cost center that nobody has good tooling for.
|
|
26
34
|
|
|
27
|
-
A single developer on Cursor can burn through hundreds of dollars a day just by switching to an expensive model or letting an agent loop run wild. Now multiply that by 50, 100, 500 developers. The bill gets big fast, and there's nothing like Datadog or CloudHealth for this category yet.
|
|
35
|
+
A single developer on Cursor can burn through hundreds of dollars a day just by switching to an expensive model or letting an agent loop run wild. Developers often don't know which models cost more - one of our team members used `opus-max` for weeks thinking it was a cheaper option. Now multiply that confusion by 50, 100, 500 developers. The bill gets big fast, and there's nothing like Datadog or CloudHealth for this category yet.
|
|
28
36
|
|
|
29
37
|
Cursor's admin dashboard shows you the raw numbers, but it won't tell you when something is off. No anomaly detection. No alerts. No incident tracking. You find out about cost spikes when the invoice lands, weeks after the damage is done.
|
|
30
38
|
|
|
@@ -104,6 +112,18 @@ Anomaly Detected ──→ Alert Sent ──→ Acknowledged ──→ Resolved
|
|
|
104
112
|
|
|
105
113
|
---
|
|
106
114
|
|
|
115
|
+
## Deploy
|
|
116
|
+
|
|
117
|
+
### One-click deploy
|
|
118
|
+
|
|
119
|
+
Deploy your own instance in minutes. You'll need a [Cursor Enterprise](https://cursor.com) plan and an Admin API key.
|
|
120
|
+
|
|
121
|
+
[](https://render.com/deploy?repo=https://github.com/ofershap/cursor-usage-tracker)
|
|
122
|
+
|
|
123
|
+
> **Railway and Docker** options below. Want help setting this up for your team — deployment, threshold tuning, first spend analysis, and ongoing support? [Let's talk](https://linkedin.com/in/ofershap).
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
107
127
|
## Quick Start
|
|
108
128
|
|
|
109
129
|
### Prerequisites
|
|
@@ -206,9 +226,9 @@ This collects data, runs anomaly detection, and sends alerts in one call.
|
|
|
206
226
|
|
|
207
227
|
---
|
|
208
228
|
|
|
209
|
-
##
|
|
229
|
+
## Production Deployment
|
|
210
230
|
|
|
211
|
-
|
|
231
|
+
### Docker (self-hosted)
|
|
212
232
|
|
|
213
233
|
```bash
|
|
214
234
|
cp .env.example .env # configure your keys
|
|
@@ -236,6 +256,16 @@ volumes:
|
|
|
236
256
|
|
|
237
257
|
</details>
|
|
238
258
|
|
|
259
|
+
### Cloud platforms
|
|
260
|
+
|
|
261
|
+
Any platform that supports Docker + persistent volumes works. Tested with:
|
|
262
|
+
|
|
263
|
+
- **[Render](https://render.com)** — use the deploy button above, or `render.yaml` in this repo
|
|
264
|
+
- **[Railway](https://railway.app)** — create a project from this repo, attach a volume at `/app/data`
|
|
265
|
+
- **[Fly.io](https://fly.io)** — deploy with `fly launch`, create a volume for `/app/data`
|
|
266
|
+
|
|
267
|
+
> **Note:** Vercel is not supported — SQLite requires a persistent filesystem that Vercel's serverless functions don't provide.
|
|
268
|
+
|
|
239
269
|
---
|
|
240
270
|
|
|
241
271
|
## Architecture
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cursor-usage-tracker",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Open-source Cursor IDE usage monitoring, anomaly detection, and alerting for enterprise teams",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -59,7 +59,11 @@
|
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
|
62
|
-
"url": "https://github.com/ofershap/cursor-usage-tracker.git"
|
|
62
|
+
"url": "git+https://github.com/ofershap/cursor-usage-tracker.git"
|
|
63
|
+
},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public",
|
|
66
|
+
"provenance": true
|
|
63
67
|
},
|
|
64
68
|
"bugs": {
|
|
65
69
|
"url": "https://github.com/ofershap/cursor-usage-tracker/issues"
|