6 Commits

Author SHA1 Message Date
b24755fd24 docs(README): expand documentation with web dashboard details and enhanced API usage info 2026-05-25 11:23:31 +01:00
9af4d915ed feat(api): expose individual model usage in session and weekly reports
- Extend `findUsage()` to parse individual model segments from HTML
- Extract model names, request counts, and visual styling data
- Add `sensor.ollama_session_models` and `sensor.ollama_weekly_models` entities in Home Assistant
- Enhance `stateBody()` to include models array in attributes
- Introduce `modelsBody()` to publish model counts and details as separate entities
- Update UI to render model breakdown with horizontal flex layout
- Increase HTML parsing slice size from 3000 to 5000 characters for full coverage
2026-05-23 20:56:57 +01:00
14c3bc7215 Merge branch 'main' of https://kithub.k-world.me.uk/Karl/ollama_cloud_usage_ha 2026-05-09 09:37:35 +01:00
bf3ea7a751 feat(ui): add dashboard for cookie management and usage monitoring
Add a new root GET route that serves a responsive web interface. This
dashboard allows users to update session cookies by pasting JSON and
provides real-time visualization of Ollama cloud usage and server health
status.
2026-05-09 09:37:09 +01:00
e2cbd52f8f Humanize README - more casual tone, clearer instructions 2026-05-08 09:04:45 +01:00
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