Hosam/Abo ElyazidGitHub
all work

MaestroCut

Open-source desktop app · 2026

An open-source desktop video editor with an AI prompt bar that turns plain-language requests into undoable timeline edits.

view source on GitHub

The problem

Trimming, muting and filtering clips on a timeline is slow, repetitive work. MaestroCut lets an editor type a request such as "trim the first 5 seconds and mute the audio" and get the same result as doing it by hand, without giving up control of the timeline.

Responsibilities

  • Application architecture across the Electron main process and the Angular renderer
  • Timeline editing model built on a command pattern
  • AI layer that returns structured, validated edit commands
  • FFmpeg export pipeline and cross-platform packaging

Architecture

  • Electron main process owns windows, IPC, FFmpeg export and the Gemini proxy
  • Angular renderer holds the UI, with services for state, playback, shortcuts and AI
  • Vercel AI SDK sends the prompt and timeline state to Gemini and receives commands against a strict Zod schema
  • Preview is simulated with HTML5 video and CSS filters; FFmpeg renders only on export

Implementation

  • Built a drag-and-drop timeline for trimming, filtering and editing clips.
  • Added a prompt bar that converts natural-language requests into timeline edits.
  • Grouped AI edits into command batches so one undo reverts the whole request.
  • Added keyboard shortcuts for playback, editing, zoom and selection, and packaging for macOS, Windows and Linux.

Challenges

  • Keeping the API key in the main process so it never reaches the renderer.
  • Making model output safe to apply by validating every command before it touches the timeline.
  • Keeping the preview fast by deferring real rendering to export.

Outcomes

  • A working non-linear editor where manual edits and AI edits share one undo history.
  • AI edits arrive as validated structured commands rather than free text.
  • Released as an MIT-licensed open-source project.

Have a related challenge?

start a conversation