Skip to content

Latest commit

 

History

106 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

livepeer-modules-transcode

A standalone module for the Livepeer transcode product — VOD batch transcode plus live RTMP ingest with LL-HLS playback — extracted from livepeer-network-modules so it can ship and operate on its own release cadence.

For agents: start at AGENTS.md. The README below is a human-oriented overview.

What this is

A single deployable product:

  • A TypeScript / Fastify gateway (transcode-gateway/) that exposes a customer-facing HTTP + RTMP surface. Customers can submit VOD encoding jobs (presigned upload → one paid ABR exchange → HLS manifest + playback URL) and start live streams (RTMP ingest → broker live session → LL-HLS strict-proxy).
  • Three Go workload runners (transcode-runner/ for single-rendition, abr-runner/ for multi-rendition, and live-runner/ for paid RTMP/LL-HLS sessions) plus a shared Go library (transcode-core/) and a multi-stage codec base image (codecs-builder/).
  • A Node integration smoke harness (transcode-tester/).
  • Three Vite-built Lit web-component frontends — a waitlist signup site (site/), an authenticated user portal (portal/), and an operator admin dashboard (admin/) — modeled after Blue Claw Network's onboarding flow (waitlist → admin approval → emailed API key → portal login).

What this is not

  • A capability broker. Transcode jobs are dispatched to an external capability-broker service that runs the actual encodes.
  • A payment system. Network funding and settlement are delegated to the Livepeer Open Clearinghouse (LOC); the gateway never acts as a payer.
  • A discovery layer. Broker resolution goes through LOC’s authenticated HTTP discovery API; no local resolver daemon is required.
  • A CDN. Operators front the gateway with their CDN of choice for caching, edge replication, and geographic routing.

For the full requirements catalog see docs/design-docs/requirements.md; for the peer-service inventory see docs/design-docs/dependencies.md.

Status

Modules v2 implementation complete; coordinated release gates active. The gateway, runners, recovery paths, v2 status surfaces, and legacy-code deletion have landed. Production release still waits on the pinned Modules/LOC evidence, real-process matrix, deployment, and rollback gates tracked by Beads epic lmt-65a. The completed initial roadmap is docs/exec-plans/completed/0001-initial-port-roadmap.md. The breaking release is explained by plan 0018. The present branch must not be deployed as a mixed-version release.

Setup (fresh clone)

The repo pins every toolchain it builds against so installs are reproducible. Two paths — pick whichever fits your machine.

Pinned versions

File What it pins Read by
.tool-versions Node 24, Go 1.25.7 asdf / mise / rtx (unified multi-tool)
.nvmrc Node 24 (fallback) fnm, nvm
package.json pnpm@9.0.0 + sha512 Corepack (ships with Node)
go.mod per pkg go 1.25.x per module the go command (auto-toolchain since 1.21)

Option A — Unified with mise / asdf (recommended)

mise install            # reads .tool-versions, installs Node 24 + Go 1.25.7
corepack enable         # activates pinned pnpm@9.0.0 shim
pnpm install            # populates the JS workspace once packages exist

Option B — Separate managers (fnm + your existing Go install)

fnm use                 # reads .nvmrc → Node 24
corepack enable         # activates pinned pnpm@9.0.0 shim
pnpm install            # `engine-strict=true` in .npmrc hard-fails on wrong Node

For Go, every module's go.mod declares its required version. Any go ≥ 1.21 on your machine will auto-download the right toolchain the first time you run go build / go test (Go's built-in GOTOOLCHAIN=auto behavior). No goenv / g needed unless you specifically want one.

Operating model

This repo follows the agent-first harness pattern documented in docs/references/openai-harness-engineer.md:

  • Humans steer; agents execute. Intent is set by humans; tools and feedback loops do the rest.
  • The repo is the system of record. If it isn't checked in, it doesn't exist.
  • Progressive disclosure. AGENTS.md is a map, not a manual. Detail lives in docs/.
  • Enforce invariants, not implementations. Constraints in lints/CI; choices in code.
  • Throughput over ceremony. Short-lived PRs; fix-forward over block.

Layout

.
├── AGENTS.md              # Entry-point map for coding agents
├── CLAUDE.md              # Stub pointing Claude Code at AGENTS.md
├── DESIGN.md              # Architectural overview at a glance
├── PRODUCT_SENSE.md       # What this is + who/why + anti-goals
├── PLANS.md               # Current state and what's in flight
├── README.md              # You are here
├── package.json           # pnpm workspace root
├── pnpm-workspace.yaml
├── .tool-versions / .nvmrc / .npmrc
├── infra/                 # centralized, dependency-ordered image builds
├── docs/                  # All design / plan / reference docs (single root)
│   ├── design-docs/       # start at index.md
│   ├── api/               # OpenAPI contracts
│   ├── runbooks/          # deployment and recovery procedures
│   ├── exec-plans/        # active/, completed/, tech-debt-tracker.md
│   ├── product-specs/     # cross-cutting feature specs (TBD)
│   ├── generated/         # machine-produced reference (dep graphs, SBOMs)
│   └── references/        # external material (transcripts, PDFs)
└── <component-name>/      # one subfolder per component (added as ported)
    ├── AGENTS.md
    └── ...

Build all images

The release image matrix is built from the repository root. The default tag remains v0.1.0; override it explicitly for a release:

./infra/scripts/build-images.sh
REGISTRY=ghcr.io/cloud-spe TAG=2026.9.5 ./infra/scripts/build-images.sh

See infra/README.md for subset builds, GPU variants, push safeguards, and digest pinning. Component Makefiles remain available for local development.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages