cursor-usage-tracker 0.0.0-development → 0.0.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.
Files changed (2) hide show
  1. package/README.md +41 -7
  2. package/package.json +7 -3
package/README.md CHANGED
@@ -1,11 +1,15 @@
1
1
  <p align="center">
2
- <img src="public/logo.png" alt="Cursor Usage Tracker" width="100" height="100" />
2
+ <img src="public/logo.png" alt="Cursor Usage Tracker - open-source Cursor Enterprise cost monitoring dashboard with anomaly detection and Slack alerts" width="100" height="100" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">Cursor Usage Tracker</h1>
6
6
 
7
7
  <p align="center">
8
- Know who's burning through your AI budget before the invoice tells you.
8
+ Know who's burning through your AI budget before the invoice tells you. Open-source Cursor Enterprise cost monitoring with anomaly detection, Slack alerts, and spend analytics.
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://cursor-usage-tracker.sticklight.app">Website</a> · <a href="#quick-start">Quick Start</a> · <a href="#deploy">Deploy</a> · <a href="#features">Features</a>
9
13
  </p>
10
14
 
11
15
  <p align="center">
@@ -20,11 +24,19 @@
20
24
 
21
25
  ---
22
26
 
23
- ## AI is the new cloud bill
27
+ ## Why This Exists
28
+
29
+ This dashboard answers three questions:
30
+
31
+ 1. **Cost monitoring** - Are we spending too much? Who's driving it? Why?
32
+ 2. **Adoption tracking** - Is everyone using the tool we're paying for?
33
+ 3. **Usage understanding** - How is each person working with AI?
34
+
35
+ ## AI Spend Is a Blind Spot
24
36
 
25
37
  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
38
 
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.
39
+ 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
40
 
29
41
  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
42
 
@@ -38,7 +50,7 @@ Your company has 50+ developers on Cursor. Do you know who's spending $200/day o
38
50
 
39
51
  You're about to find out.
40
52
 
41
- ![Demo](assets/demo.gif)
53
+ ![Cursor Usage Tracker dashboard showing team spend, anomaly detection alerts, and per-user AI cost breakdown](assets/demo.gif)
42
54
 
43
55
  <sub>Demo animation created with <a href="https://github.com/ofershap/remotion-readme-kit">remotion-readme-kit</a></sub>
44
56
 
@@ -104,6 +116,18 @@ Anomaly Detected ──→ Alert Sent ──→ Acknowledged ──→ Resolved
104
116
 
105
117
  ---
106
118
 
119
+ ## Deploy
120
+
121
+ ### One-click deploy
122
+
123
+ Deploy your own instance in minutes. You'll need a [Cursor Enterprise](https://cursor.com) plan and an Admin API key.
124
+
125
+ [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/ofershap/cursor-usage-tracker)
126
+
127
+ > **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).
128
+
129
+ ---
130
+
107
131
  ## Quick Start
108
132
 
109
133
  ### Prerequisites
@@ -206,9 +230,9 @@ This collects data, runs anomaly detection, and sends alerts in one call.
206
230
 
207
231
  ---
208
232
 
209
- ## Docker
233
+ ## Production Deployment
210
234
 
211
- For production deployment:
235
+ ### Docker (self-hosted)
212
236
 
213
237
  ```bash
214
238
  cp .env.example .env # configure your keys
@@ -236,6 +260,16 @@ volumes:
236
260
 
237
261
  </details>
238
262
 
263
+ ### Cloud platforms
264
+
265
+ Any platform that supports Docker + persistent volumes works. Tested with:
266
+
267
+ - **[Render](https://render.com)** — use the deploy button above, or `render.yaml` in this repo
268
+ - **[Railway](https://railway.app)** — create a project from this repo, attach a volume at `/app/data`
269
+ - **[Fly.io](https://fly.io)** — deploy with `fly launch`, create a volume for `/app/data`
270
+
271
+ > **Note:** Vercel is not supported — SQLite requires a persistent filesystem that Vercel's serverless functions don't provide.
272
+
239
273
  ---
240
274
 
241
275
  ## Architecture
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "cursor-usage-tracker",
3
- "version": "0.0.0-development",
3
+ "version": "0.0.0",
4
4
  "description": "Open-source Cursor IDE usage monitoring, anomaly detection, and alerting for enterprise teams",
5
+ "homepage": "https://github.com/ofershap/cursor-usage-tracker#readme",
5
6
  "type": "module",
6
7
  "scripts": {
7
8
  "dev": "next dev",
@@ -59,12 +60,15 @@
59
60
  "license": "MIT",
60
61
  "repository": {
61
62
  "type": "git",
62
- "url": "https://github.com/ofershap/cursor-usage-tracker.git"
63
+ "url": "git+https://github.com/ofershap/cursor-usage-tracker.git"
64
+ },
65
+ "publishConfig": {
66
+ "access": "public",
67
+ "provenance": true
63
68
  },
64
69
  "bugs": {
65
70
  "url": "https://github.com/ofershap/cursor-usage-tracker/issues"
66
71
  },
67
- "homepage": "https://github.com/ofershap/cursor-usage-tracker#readme",
68
72
  "dependencies": {
69
73
  "@tailwindcss/postcss": "^4.1.18",
70
74
  "better-sqlite3": "^12.6.2",