ollama_cloud_usage_ha/package.json
Karl 87a3844255 feat: implement Ollama cloud usage server
Add a lightweight Node.js server that scrapes Ollama cloud usage data
from ollama.com/settings and exposes it as a JSON API.

- Support for email/password and cookie-based authentication
- Automated polling and Home Assistant integration
- Endpoints for usage data, manual refresh, and cookie management
- Comprehensive README and environment configuration
2026-05-07 14:46:36 +01:00

13 lines
339 B
JSON

{
"name": "ollama-usage-server",
"version": "1.0.0",
"description": "Polls ollama.com/settings for cloud usage data and exposes it as a JSON API. Optionally pushes to Home Assistant.",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"dependencies": {
"dotenv": "^16.4.5",
"express": "^4.21.0"
}
}