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.

1.7 KB
Raw Blame
import type { MetadataRoute } from "next";

// PWA manifest (served at /manifest.webmanifest). Installable standalone app.
// `shortcuts` give the installed icon a long-press / right-click jump menu
// straight into an app (deep-linked via the catch-all route's slugs).
//
// Icons point at the dynamic metadata routes (`app/icon.tsx` with
// generateImageMetadata → /icon/<size>), so an owner upload reaches the installed
// PWA as well as the tab. Sizes are explicit because a manifest entry without a
// usable size is skipped by installers; the PNG variant is used because WebP is
// still not universally accepted for install icons.
export default function manifest(): MetadataRoute.Manifest {
  return {
    id: "/",
    name: "Manef Shell OS",
    short_name: "MSO",
    description: "A browser-based graphical shell for a Linux server you own — terminal, files, metrics, and AI in one mobile-first pane.",
    lang: "en",
    dir: "ltr",
    categories: ["productivity", "utilities", "developer"],
    start_url: "/",
    scope: "/",
    display: "standalone",
    display_override: ["standalone", "minimal-ui"],
    orientation: "any",
    background_color: "#0a0a0a",
    theme_color: "#0a0a0a",
    icons: [
      { src: "/icon/192", sizes: "192x192", type: "image/png", purpose: "any" },
      { src: "/icon/512", sizes: "512x512", type: "image/png", purpose: "any" },
      { src: "/icon/512", sizes: "512x512", type: "image/png", purpose: "maskable" },
    ],
    shortcuts: [
      { name: "Terminal", short_name: "Terminal", url: "/terminal" },
      { name: "Files", short_name: "Files", url: "/files" },
      { name: "Quicklinks", short_name: "Quicklinks", url: "/links" },
      { name: "Settings", short_name: "Settings", url: "/settings" },
    ],
  };
}