The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-FileCopyrightText: 2026 Jareer Abdullah and Concat contributors
import { I18n } from "../i18n.slint";
import { Theme } from "../theme/theme.slint";
import { Glyph } from "../icons.slint";
import { Button, DialogSection, Modal } from "../primitives/modal.slint";
export struct MissingMediaItem {
id: string,
name: string,
path: string,
}
export struct RelinkData {
open: bool,
items: [MissingMediaItem],
}
export component RelinkDialog inherits Modal {
in property <RelinkData> data;
callback relink-all();
callback dismiss();
open: root.data.open;
title: I18n.t("relink.missingMedia");
glyph: Glyph.info;
surface-width: 600px;
VerticalLayout {
DialogSection {
first: true;
title: I18n.t1("relink.mediaFilesNotFound", "" + data.items.length);
Text {
text: I18n.t("relink.followingMediaFilesCould");
color: Theme.fg;
wrap: word-wrap;
}
Flickable {
height: 200px;
content-height: items-layout.preferred-height;
items-layout := VerticalLayout {
spacing: 4px;
for item in root.data.items : Rectangle {
height: 40px;
background: Theme.field;
border-radius: 4px;
HorizontalLayout {
padding-left: 8px;
padding-right: 8px;
alignment: start;
VerticalLayout {
alignment: center;
Text {
text: item.name;
color: Theme.fg;
font-size: Theme.fs;
overflow: elide;
}
Text {
text: item.path;
color: Theme.fg-dim;
font-size: Theme.fs-sm;
font-family: Theme.font-technical;
overflow: elide;
}
}
}
}
}
}
}
HorizontalLayout {
alignment: end;
spacing: 8px;
Button {
primary: false;
label: I18n.t("relink.dismiss");
clicked => { root.dismiss(); }
}
Button {
primary: true;
label: I18n.t("relink.relinkAll");
clicked => { root.relink-all(); }
}
}
}
}