StealThis .dev

Podcast — Clip Share

An audio-first audiogram builder where you scrub a gradient waveform, drag start and end handles to trim a highlight, then watch an animated share card come alive with bouncing violet-to-cyan bars, live captions and episode art. Duration, timecodes and caption text update in real time, and one-tap share buttons copy a link or push the clip to social — a dark, glowing clip studio for podcast moments.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

The Clip Share studio turns a single podcast moment into a shareable audiogram. A full-episode waveform sits at the top, rendered as gradient bars from violet to cyan. Two draggable handles let you set the clip’s start and end — the selection region highlights between them and the timecodes plus computed duration update instantly. A scrubbable playhead lets you preview position along the track.

Below, an animated audiogram card previews exactly what listeners will see: episode artwork, show and episode titles, a caption line you can edit, and a row of bars that bounce with a staggered, looping animation to mimic live audio. A play/pause control toggles the animation, and the caption input rewrites the card in real time.

A share bar rounds it out with Copy link, X, and Download actions, each firing a small toast for feedback. Everything is keyboard-operable — handles respond to arrow keys, buttons have visible focus rings — and the layout collapses gracefully to a single column under 520px so the studio stays usable on a phone.