Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
import type { Composition, MediaRef, MediaType } from "./mock-timeline";
/** Replace references to one recovered asset without changing timeline edits. */
export function replaceMedia(comp: Composition, oldUrl: string, media: MediaRef): Composition {
return {
...comp,
clips: comp.clips.map((clip) => clip.media?.url === oldUrl ? { ...clip, media } : clip),
};
}
export function acceptsRelinkType(type: MediaType, mime: string): boolean {
return !mime || mime.startsWith(type + "/");
}