Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Mux 11 min read Case study mediumAdept

How I built a video sharing site with Claude Code and Mux after years away from coding

A former product leader built ScubaTube, a private-by-default dive video sharing site, in about a month and 200 commits using Claude Code, Next.js on Vercel, and Mux for video. Notable pieces include a UDDF dive-computer data overlay rendered on Video.js v10, chapters generated from Mux Robots scene analysis turned into a WebVTT track, engagement charts from Mux Data per-view completion, and a gapless TV mode that stacks two players and crossfades while preloading the next clip. Lessons: act as editor rather than engineer, be willing to throw away weak features, and verify generated code. SEO plumbing that looked correct went unchecked for six months and needed a dozen fixes.

Related posts

  • Experiments with AI video content strategy | Mux

    Mux mediumAdept

    A Node.js pipeline turns an uploaded video into promotional content automatically. It enables Mux static MP4 renditions, listens for the static_renditions.ready webhook, and sends the smallest low.mp4 file to OpenAI's Whisper API for transcription. The transcript then goes to ChatGPT (GPT-4 and gpt-3.5-turbo) with persona-style system prompts to generate a video title and description, promotional tweets and a blog post outline as JSON. Whisper's transcripts proved highly accurate and the generated copy was usable as a first draft, though Mux now offers auto-generated transcripts natively.

  • Build Your Own Livestreaming Service with api.video

    Replit mediumAdept

    A livestream resource is created with api.video's Node.js client (liveStreams.create plus an optional uploadThumbnail call) running in a Replit Node.js repl, and its embed iframe is then hosted in a minimal React app. Zoom's custom streaming option is pointed at api.video's RTMP server URL and stream key so the meeting shows up in the React page. Sandbox API keys are fine for testing but add a watermark, which goes away on a production plan.

  • Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini

    Render mediumAdept

    Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website. Cursor scored highest overall (8/10 average), producing the most complete app, including Docker Compose and a SQL migration, and following codebase-specific patterns. Gemini CLI excelled at large-context refactors but struggled on the greenfield build. Codex's model produced accurate, idiomatic code but was held back by setup friction and a weaker CLI UX. All tools faltered on novel or obscure libraries without targeted guidance, so experienced engineers still need to audit the output.

  • Our Claude Code Cheatsheet

    Neon mediumAdept

    A Neon engineer's working cheatsheet for Claude Code covers Plan Mode, parallel task agents for multi-lens code review, and context management with /clear, /compact, /context and @file references. It also covers MCP servers (Serena for symbol-level navigation, Context7 for docs, Playwright for UI checks), CLAUDE.md memory files, sub-agents with clean context, custom slash commands in .claude/commands, headless piping (e.g. npm audit into claude -p), session resume/rewind, and cost tracking. The recurring advice is to plan first, define types or schemas before implementation, and keep context lean and explicit.

  • Humans and agents rejoice: Mux Robots is now GA

    Mux mediumAdept

    Mux Robots, Mux's API for running AI workflows over video assets, is now generally available with a stable v1 API at /robots/v1 that standardizes timestamps to seconds, aligns naming with Mux Video, and unifies track handling via replace_existing_tracks. Two new workflows arrive: analyze-structure, which returns title, summary, tags, chapters, scenes and key moments in one shot-aware pass and replaces the deprecated find-scenes, and generate-contextual-text, which produces grounded social posts, blog posts and other artifacts from a shared editorial brief. v0 stays supported for at least six months, and v1 jobs emit a new additive webhook event family. Other changes since preview include write-back of titles, chapters and thumbnails, time-range scoping, moderation actions and a Playground that generates prompts for coding agents.

The quest for software engineering knowledge.

Look:
Layout: