Building

Roughcast

Local-first screencast recorder with a hand-drawn annotation editor

7 entries available

Roughcast records a window or a monitor with the browser's screen capture API and keeps the raw video on the machine. A small Go server receives the recording in two-second chunks, stores them in SQLite-backed takes, and embeds the Svelte editor into the same binary.

The editor treats a take as a timeline: trim, freeze, speed, placeholders and export-only cut markers sit next to zooms, hand-drawn shapes, text, click rings, blur and pixelate redactions, and a marker-style highlighter. Edits live in a JSON project; the recording itself is never rewritten.

Compositions staple several takes into one sequence while every clip keeps its own resolution, crop, padding, window chrome and sampled background. The same annotation, zoom and time layer spans the whole composition; a fixed frame aspect extends the background around the native content.

Text annotations can become voiceover without leaving the machine: a local TTS engine speaks the hidden text, the annotation follows the generated audio length, and ffmpeg muxes it into the export. The process itself lives in a system tray, with open, stop recording and quit one click away; the tray is pure Go and the server stays loopback-only.

Master capture uses WebCodecs and mediabunny for near-lossless VP9/AV1 with duplicate frames skipped. Exports render in the browser, then finish locally: WebM gets a duration header natively and an optional ffmpeg remux, while MP4 and hard cut outs use the optional ffmpeg binary. Takes and compositions export through the same pipeline. The installed PWA uses the window controls overlay so its header is the title bar. Everything stays on loopback.

Source Code: MPL-2.0 · Content: CC BY-SA 4.0 · Credits & AI Disclosure