$ show palmier-io/palmier-pro
Palmier Pro is a professional macOS video editing application (NLE) built with SwiftUI, AppKit, and AVFoundation. It provides a full timeline editor with multi-track support, keyframe animation, compositing via Core Image and custom Metal kernels, and export to H.264/H.265/ProRes/XML/FCPXML. The application is distinguished by deep AI integration: an in-app agent and MCP server allow external AI assistants (Claude, Cursor, Codex) to edit timelines, apply effects, generate media, and manage projects via structured tools. On-device ML models provide beat detection (Beat This) and semantic visual search (SigLIP2), while cloud backends (Convex, Clerk) handle AI generation, transcription, and account/credit management. The codebase is well-structured with extensive test coverage, reusable utilities (DiskCache, AsyncSemaphore, EffectRegistry), and a clean separation of concerns in the compositing and audio analysis pipelines. It is a commercial product with localization in 20+ languages, Sparkle auto-updates, and Sentry telemetry.
The LLM identified 5 files worth highlighting for reuse:
Implements multi-resolution cross-correlation for synchronizing audio tracks using Accelerate vDSP. Features pyramid coarse-to-fine correlation, consensus clustering across chunks, drift fitting, and confidence thresholds. Self-contained algorithm reusable in any audio synchronization project.
On-device beat and downbeat detection using a bundled Core ML model. Handles chunked inference with border discard, peak picking, and BPM estimation. The detection logic is isolated and could be extracted for other audio analysis applications.
A registry of compositing effects defined by descriptors with parameter specs and apply functions. Provides a clean plugin architecture for adding new effects without modifying the compositor core. Reusable pattern for any application needing extensible effect pipelines.
File-based cache with SHA-256 keys derived from file attributes (size, mtime). Supports memory and disk tiers, stale entry cleanup, and thread-safe access. A reusable caching utility for any Swift application.
A Swift concurrency semaphore that limits concurrent async tasks. Provides a simple API for gating resource-intensive operations like waveform extraction. Reusable in any async Swift project.