Case study, 2026
Skelfen
A desktop and web build of Tooscut, the open-source WebGPU video editor by Mohamad Mohebifar. I packaged it as a Tauri desktop app, set up a release pipeline that builds installers for Windows, macOS and Linux, and added a landing page and editor features of my own.
The problem
Tooscut runs in the browser. I wanted the same editor as an installable app on every desktop platform, with one page to download it from.
Decisions
One codebase for web and desktop
The desktop app wraps the same editor interface in a Tauri shell, so the browser and desktop versions ship from one codebase instead of two.
Installers built on every release tag
A GitHub Actions workflow builds Windows (.exe and MSI), macOS (Apple Silicon and Intel) and Linux (deb, rpm and AppImage) on each version tag and attaches them to a GitHub Release.
A build script that runs anywhere
The Rust/WASM build step was made independent of the working directory and run through bash, so the same step works on Vercel and on Windows, macOS and Linux runners.
Downloads that pick the right file
The landing page reads the latest release and offers the installer for each platform, with every format one click away and .deb preferred on Linux.
Editor features, with tests
I added inserting assets and presets at the playhead, applying a transition to a selection, dragging into the editor, and a warm start so the editor opens sooner. The editing helpers have unit tests.
What it looks like
Results
- Version 0.1.0 is released on GitHub with nine installers across Windows, macOS and Linux.
- The editor, the WebGPU compositor and the Rust/WASM engine are Tooscut's, by Mohamad Mohebifar, under the Elastic License 2.0, which Skelfen keeps.
- Source is public on GitHub.
More detail
Skelfen starts from Tooscut, an open-source video editor by Mohamad Mohebifar that runs in the browser. Tooscut does the hard graphics work: a WebGPU compositor, Rust engines compiled to WebAssembly for audio, keyframes and rendering, a multi-track timeline, and MP4 export. That part is his, and Skelfen keeps his licence (Elastic License 2.0) and credits him in the app.
My work was everything needed to turn it into a product you install: a desktop app, a release pipeline, a download page, and a set of editing features that made it faster to use.
From a browser tab to an installed app
The desktop app is a Tauri shell around the same editor interface the web version uses. There is no second codebase. A build script compiles the interface as a single-page app and packages it for Tauri. It also fixes the small things that break when a web app leaves the browser: the router's _shell.html becomes the index.html Tauri expects, and if the build produces no shell, it writes one that points at the right entry script.
Before any installer is built, a smoke test serves the packaged app from disk and checks it the way the desktop window will load it:
- every script and stylesheet the page links to exists on disk;
- no asset is linked with an absolute path, which loads in a browser but fails inside Tauri;
- the compositor's WebAssembly file is present and served with the right type.
A broken bundle fails the release in seconds instead of shipping as a blank window.
Nine installers from one tag
Releases are one command: push a version tag. A GitHub Actions workflow then builds the app on four machines at once, Apple Silicon and Intel Macs, Ubuntu and Windows. Each one installs Rust with the WebAssembly target, builds the engine, builds the app, and uploads its installers to a single GitHub Release.
The first attempts failed on Windows. The engine's build script assumed it was run from a particular folder and in a Unix shell, which held on my machine and on Vercel but not on a Windows runner. I made the script work from any folder and ran every step through bash on all four machines. After that the same script built the web version on Vercel and the desktop versions everywhere else.
Version 0.1.0 shipped with nine installers: a Windows setup and an MSI, a disk image and an app archive for each Mac chip, and a deb, an RPM and an AppImage for Linux.
A download page that always points at the latest build
Nine files is too many to make people choose from. The landing page asks GitHub for the latest release and sorts its files by platform: Windows gets the setup and the MSI, macOS gets Apple Silicon and Intel disk images, Linux gets deb, AppImage and RPM. Each platform card offers its formats, and if GitHub cannot be reached, every card falls back to the latest-release page instead of a dead link. The matching rules have unit tests, so a renamed file in a future release fails a test rather than the page.
Making editing faster
I used the editor and added what slowed me down:
- Add at the playhead. Double-click, or press +, on any asset, text style or shape and it lands at the playhead. If that spot is taken it goes on a new track instead of overwriting a clip.
- Transitions in one click. Select a clip, double-click a transition, and it is applied to the clip's out edge with its default length and easing.
- Dragging that works on Windows. Inside the Windows desktop app, the system web view drops custom drag data, so dragging media onto the timeline silently did nothing. I keep the drag in memory and, in the desktop app, use pointer events instead of the browser's drag and drop.
- A faster first open. When you open a project, the editor starts downloading its panels and compiling the compositor's WebAssembly straight away, so the editor is usually ready by the time it is shown.
Each of these is a small, separately tested function, not a change buried in a component.
What is mine and what is not
The editor, its compositor, its engines and its export are Tooscut's. The desktop app, the release pipeline, the landing and download pages, the editing features above and the Skelfen name are mine. The licence does not allow offering the editor to others as a hosted service without the author's permission, so the main way to use Skelfen is to install it.
Next project
This site