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.4 KB
Raw Blame

image-editor — layered raster editor

Embeddable, layer-based image editor built on Konva. Consumed as a LIBRARY slice: import { ImageEditor } (or the store/model pieces) from the barrel — it is not an app descriptor by itself (mso mounts it via media-studio).

Capabilities

  • Layers: raster/text/shape, blend modes, opacity, layer styles (drop shadow / outer glow / stroke), reorder, lock/hide.
  • Edit: transforms, crop, resize, aspect presets, paint brushes, adjustments (per-layer), text with font choices.
  • Background removal: free, fully in-browser (@imgly/background-removal, lazy-loaded ONNX model).
  • Export: PNG / JPEG / WebP via exportStage / stageToDataURL.
  • AI function-calling: every editor operation is a named, schema'd command (commands/registry.ts); useEditorCommands binds them to the live store and the in-editor chat drives them through the host AI stream.
  • Headless: server.ts barrel runs the command registry against a doc with no DOM (used by API routes / CLI flows). Render = open the doc in the real editor.

Integration seam

The ONLY host service used is the AI streaming bridge, re-exported through lib/host.ts — swap that single file to lift the slice. UI primitives come from @/components/ui/* (shadcn) + @/lib/utils (cn); the slice also ships its own ui/ variants (slider/tabs) where the editor needs bespoke behavior.

See ARCHITECTURE.md for the full design.