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.

575 B
Raw Blame
"use client";

import { Suspense } from "react";
import { Terminal } from "@/features/os-terminal";

export function IntegratedTerminal({ cwd }: { cwd: string }) {
  return (
    <div className="h-[42%] min-h-[150px] shrink-0 border-t border-[#2a2a30] @[700px]:h-[34%] @[700px]:min-h-[170px]">
      <Suspense
        fallback={
          <div className="grid h-full place-items-center bg-[#0d0e12] font-mono text-xs text-[#9298a4]">
            Loading terminal…
          </div>
        }
      >
        <Terminal initialCwd={cwd} />
      </Suspense>
    </div>
  );
}