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.

496 B
Raw Blame
import { handleTermInput } from "@/lib/host/term-service";


// POST /term/input {id,data} → raw keystrokes into the pty. Not audited and
// not command-filtered by design — see lib/host/pty.ts (owner shell; the
// auditable boundary is session open/close). No rate limit: a fast typist or
// a paste easily outruns any sane per-minute cap.

export const runtime = "nodejs";
export const dynamic = "force-dynamic";

export async function POST(req: Request) {
  return handleTermInput(req);
}