Inspectable routing
Model selection, capability rules, fallbacks, and credit estimates remain visible in application code.
OPEN-SOURCE CORE
PORTABLE BY DESIGN
Model selection, capability rules, fallbacks, and credit estimates remain visible in application code.
Workspaces, agents, assets, generations, and the immutable credit ledger live in your Supabase project.
Uploads and generated files stay private in your R2 bucket and use short-lived signed delivery links.
SELF-HOSTING
Copy the environment template and choose the provider accounts that your deployment will use.
Run the Supabase migrations to install workspace isolation, RLS policies, credits, agents, and generation history.
Create an R2 bucket and provide the credentials used for private uploads and signed asset delivery.
Typecheck, test, and build the same Next.js application that runs the hosted product.
npm install
npm run typecheck
npm test
npm run build
npm startREQUIRED SERVICES
Node.js and a Next.js-compatible runtime for the web application and route handlers.
Supabase Auth and Postgres with the included migrations and row-level security policies.
A private Cloudflare R2 bucket for source media, finished assets, and signed delivery.
An OpenRouter key for the models enabled in the capability registry.
WHAT SHIPS
Route prompts through the model registry, keep generation history, and save finished work to private media storage.
Submit asynchronous video jobs and poll provider status without asking the local machine to transcode media.
Generate multilingual speech or transcribe uploaded audio and supported video containers.
Generate provider-backed music when the selected OpenRouter model is available to your account.
Store consented identities and use approved source media in presenter workflows.
Create workspace-scoped agents with separate knowledge, voice, sessions, messages, and usage.
CONFIGURATION CHECKLIST
.env.example, add these server and public variables, then apply the included Supabase migrations. Secret values never belong in client components or source control.HOSTED OR SELF-HOSTED
SECURITY MODEL
Every commercial record is scoped to a workspace, and database policies verify membership before access.
OpenRouter, Supabase service-role, and storage credentials stay in the server runtime.
Credits are reserved before provider work, settled after success, and returned when a job fails.
CONTRIBUTING