Overview
Cutmo is a Triller-style auto-edit app for iPhone and Android built with Expo, React Native, and TypeScript. The flow is six taps: Projects home → New Project (pick a song) → Capture (import clips) → AutoEdit (preset) → Preview → Export.
The magic is the beat-locked cut: the app analyzes the song on-device with pure-TypeScript DSP, generates a timeline that swaps clips exactly on the beat, plays it back live so the preview is the export, and renders an MP4 with FFmpeg — with the lime Cutmo logo composited into the file by the same component the preview draws, so the mark in the video is exactly the mark on screen.
The Challenge
Cutmo needed to:
- Cut clips to the beat inside the app — no server round-trip between capture and preview
- Export a real MP4 on-device (FFmpeg with
filter_complex+ libx264) instead of a platform share sheet - Keep the 9:16 video frame responsive on phones and tablets, with the primary action pinned under the thumb
- Ship Android end-to-end (emulator-verified) while keeping the codebase iOS-ready for a later EAS build
Cutmo icon and splash
Cutmo logo and export watermark
The Solution
Nexus built Cutmo with Expo Router for navigation (seven static-rendered routes), zustand for cross-screen editor state, and shared design tokens for the dark 9:16 UI. A responsive layout reads the live window, caps and centres the content column on tablets, and shrinks the video frame to fit short windows.
The beat engine is pure TypeScript on-device DSP; the auto-edit engine
generates a beat-locked timeline; live preview plays the song while video
swaps on every beat; and on-device export renders MP4 through
@wokcito/ffmpeg-kit-react-native (FFmpeg 6.1.1) to the camera roll.
Results
Phases 0–6 are merged and verified: the Android release build ships exactly one FFmpeg set per ABI, the emulator drove the full flow (record two takes → auto-edit → preview → render → camera roll → restart → resume) at 43/43 checks, and the test suite runs 421 tests across 41 suites green with enforced coverage floors. All seven routes static-render with real content.