clipwright/dashboard/src
juancarlos.cavero c0da654733 feat(llm): run the moment picker on any OpenAI-compatible server (Ollama, vLLM, LM Studio)
Self-hosters asked for a pipeline that never calls Google. LLM_BASE_URL (+
LLM_MODEL, LLM_API_KEY) routes the transcript scoring and detail passes of
get_viral_clips to a /chat/completions endpoint; the answer is validated with
the same pydantic schemas Gemini enforces server-side, so main.py sees one
shape. json_schema is requested first and the request falls back to
json_object and then to free text when a server rejects the field.

Scoring batches drop from 8 to 3 windows on the local path: Ollama's default
4k context truncates silently and a truncated prompt scores garbage.
Self-host /api/process now accepts a request without X-Gemini-Key when the
backend is configured, /api/config exposes localLlm and the dashboard stops
demanding the key. Frame-based stages (layout picker, on-screen content,
silent videos) stay on Gemini and degrade as before without a key; the
silent-video path says so instead of failing generically.

Verified end to end with Ollama 0.13.5 + qwen2.5:7b on an M1 Pro: a 15-min
talk, 14 windows, 6 clips with usable hooks and titles, six local calls and
zero requests to Google.

Claude-Session: https://claude.ai/code/session_014i9z6mLTy978uRCfSsMfBq
2026-09-01 01:34:48 +02:00
..
assets added front-end and backend 2025-12-19 17:59:03 +01:00
components fix(dashboard): bind Icon in pricing and legal maps 2026-08-31 18:08:08 +02:00
contexts feat(llm): run the moment picker on any OpenAI-compatible server (Ollama, vLLM, LM Studio) 2026-09-01 01:34:48 +02:00
lib feat(dashboard): social-connect nudge at the results peak 2026-08-21 04:36:05 +02:00
remotion feat(hook): auto-burn AI hooks on generated clips + working emoji + editor polish 2026-08-19 14:28:19 +02:00
App.css added front-end and backend 2025-12-19 17:59:03 +01:00
App.jsx feat(llm): run the moment picker on any OpenAI-compatible server (Ollama, vLLM, LM Studio) 2026-09-01 01:34:48 +02:00
config.js fix some things for deploy to pro 2025-12-19 21:20:10 +01:00
index.css feat(dashboard): make the app usable on a phone 2026-08-24 02:25:24 +02:00
landing.css redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
Landing.jsx feat(legal): dmca agent, california rights, refunds and a notice-and-action page 2026-08-29 17:19:11 +02:00
Legal.jsx fix(dashboard): bind Icon in pricing and legal maps 2026-08-31 18:08:08 +02:00
main.jsx feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel 2026-08-27 01:17:49 +02:00
tokens.css redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00