Skip to content

armgit / mso

Public Imported from GitHub
0

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.

650 B
Raw Blame
"use client";

import { useSyncExternalStore } from "react";
import { Loader2 } from "lucide-react";
const subscribe = () => () => {};

export function BootSplash() {
  const booting = useSyncExternalStore(subscribe, () => false, () => true);
  if (!booting) return null;
  return (
    <div id="mso-boot-splash" aria-hidden="true" style={{
      position: "fixed", inset: 0, zIndex: 2147483000, display: "grid",
      placeItems: "center", pointerEvents: "none",
      background: "var(--mso-boot-background, linear-gradient(145deg, #d3c5bd 0%, #d9dce7 56%, #b7c8dc 100%))",
    }}>
      <Loader2 className="size-6 text-white" />
    </div>
  );
}