BackBurner is an open-source, LAN-first distributed media-processing system. A central coordinator queues immutable job definitions; capability-aware workers claim jobs only when their host is available; HandBrakeCLI performs the first supported operation. Windows workers can drain gracefully when a human returns, while shared Ubuntu workers yield absolutely to a higher-priority development lease system.
The project is an early household-scale prototype. Treat its coordinator as a trusted-LAN service, not an Internet-facing application. Production deployment coordinates and machine-local worker configuration intentionally remain outside the public repository.
- Durable coordinator state stored by one server process in an atomically replaced JSON file.
- Named, editable HandBrake presets whose values are copied into each queued job.
- Read-only coordinator directory scans with unchecked media candidates and atomic batch creation into independently schedulable jobs.
- Capability-aware leasing with UUID lease IDs and monotonically increasing fencing generations.
- Three encoding attempts by default, bounded exponential retry delay, and a visible terminal failure.
- Human or operator interruption returns a job to the queue without consuming its encoding-failure budget.
- HandBrakeCLI progress, ETA, pause (
p), resume (r), and graceful quit (q) control. - Windows idle detection and a notification-area host with Pause and Stop & Requeue actions.
- Personal-desktop, shared-game-worker, and dedicated-render-node availability modes.
- Tabbed web console with a quick-glance dashboard, job builder, worker/queue operations, and retained history.
- Fleet dashboard with typed worker roles, live heartbeat state/countdowns, active jobs, and CPU/GPU/upscale capability lanes.
- Passwordless LAN identities for job attribution and machine ownership.
- Transition-based worker timelines and aggregate completion, compute-time, utilization, and output-size statistics.
- Explicit Codex inhibit markers, lifecycle-hook templates, and CPU monitoring fallback.
- Full participation in the Cody game-worker broker: short leases, fenced execution, queue preemption, and prompt release.
- Logical path mappings so the same job can resolve SMB paths on Windows and mounted paths on Linux.
- Versioned integration API with per-job control tokens, polling, cancellation, a bounded fleet/queue summary, and a served OpenAPI 3.1 contract.
src/BackBurner.Server: coordinator API and no-build web UI.src/BackBurner.Contracts: shared API and persistence contracts.src/BackBurner.Worker.Core: availability, path safety, coordinator client, and HandBrake execution.src/BackBurner.Worker.Cli: headless Windows/Linux worker.src/BackBurner.Worker.Windows: native Windows notification-area worker host.docs/ARCHITECTURE.md: system shape and invariants.docs/WORKER-CONTRACT.md: leasing, retries, interruptions, and availability.docs/OPERATIONS.md: local build/run guidance and eventual deployment shape.docs/INTEGRATION-API.md: versioned machine API, job handles, cancellation, and fleet status.docs/WINDOWS-WORKER-SETUP.md: per-user Windows install and Codex handoff.docs/DEPLOYMENTS.md: safe template for private deployment records.docs/CODEX-INTEGRATION.md: reliable exclusion for active agent workloads.docs/UPSCALING-RESEARCH.md: open-source upscaler options, quality evaluation, hardware constraints, and a staged integration plan.docs/DECISIONS.md: durable decision log.AGENTS.md: orientation and guardrails for future Codex agents.
Requires the .NET 10 SDK.
dotnet build BackBurner.slnxRun the coordinator locally:
dotnet run --project src/BackBurner.ServerThe development server listens on the URL printed by ASP.NET Core. Its dashboard is /; its API is /api. See docs/OPERATIONS.md before binding it to the LAN.
Run a worker after copying config/worker.example.json to an untracked worker.local.json and adapting the paths:
dotnet run --project src/BackBurner.Worker.Cli -- worker.local.jsonWhen coordinator authentication is enabled, prefer supplying the worker
credential through the BACKBURNER_WORKER_API_KEY process environment instead
of putting it in the JSON file. A deliberately unauthenticated trusted-LAN
deployment leaves that value empty.
BackBurner does not scan, rename, move, or encode anything merely by building or starting the coordinator. A worker must be deliberately configured and a job must be submitted.
Applications can use the versioned JSON API documented in
docs/INTEGRATION-API.md. Its OpenAPI 3.1 document is
served at /api/v1/openapi.json.
For an interactive Windows worker, use the guarded per-user installer described
in docs/WINDOWS-WORKER-SETUP.md. It keeps the
coordinator URL, SMB mappings, and any credential out of the checkout.
BackBurner is available under the MIT License.