Skip to main content

A tour of the desktop

You log in to a Windows-7-classic desktop — taskbar, start menu, tray, desktop icons — rendered modern-flat in black & white with a crimson accent. Behind the retro chrome is a real Alpine machine. Here's everything on it.

30 windowed apps ship in v1, plus a set of platform surfaces (search, notifications, app management) woven into the shell itself. Every heavy engine loads as a lazy chunk, so none of this weighs down the boot bundle.

The apps​

System — the real machine

not simulated
Terminala real shell via node-pty over an authed WebSocket — an actual PTY, not xterm pointed at nothing
Filesbrowses and edits the real home dir; traversal + symlink jailed, upload-capped; opens zip and tar archives like a folder, read-only, and extracts to a folder you pick (every entry re-validated, zip-slip-proof)
System Monitorlive CPU / RAM / disk / processes from real /proc, with uid-scoped kill
Settingstheme, accent (4 presets), backup and restore, startup and default apps, the marketplace; app enable/disable
Logswhat this machine has been doing, and who has tried to sign in

Productivity — the small stuff that makes it yours

no new deps
Sticky Notesthe desk-corner scratchpad
Notepadtext editor; Markdown files open split with a live preview, outline and toolbar
Calculatorbasic (shunting-yard, no eval) + programmer mode: 64-bit BigInt, HEX/DEC/OCT/BIN, bitwise
Clockworld clocks, stopwatch, timer, alarms — timestamp-driven so it never drifts
Calendarmonth + week views, persisted events, reminders that fire notifications

Documents & media

client-side engines
Image Viewerzoom / fit / rotate, folder prev-next; 9 image formats
Paintdraw, annotate and edit images — pencil to crop, PNG and JPEG
Media Playernative audio/video, range-streamed from the backend — seek without buffering

Developer tools

authed + jailed
Code EditorMonaco, self-hosted (no CDN), multi-tab, find/replace, saves to the real FS
Browserbrowse the web through this machine
Diffcompare two files side by side, edit and save the right one
Snipping ToolFlameshot-style capture via DOM rasterization; region select + 5 annotation tools

The platform surfaces​

Not every capability is a window. Three of them live in the shell itself — which is what makes the collection feel like one desktop rather than a folder of apps.

Global search launcher

A command palette plus a taskbar Search button, backed by a jailed, bounded backend file search (/api/files/search — no symlink follow, result-capped, opt-in content grep). Find a file, hit Enter, it reveals in Files.

Notification center

A persist-backed store with a public notify() on @imbatranim/core, bottom-right auto-dismiss toasts (errors stay sticky), and a tray bell with an unread badge and history. Clock alarms and calendar reminders are its first callers.

Add-on manager

A Settings "Apps" section backed by a per-user disabled-set — one enabledApps filter across Start menu, palette, and desktop, with an openApp guard. Settings, Files, and Terminal are non-disableable on purpose.

File preview pane

An explorer-style toggleable pane in Files: text, images, and A/V preview natively, with a metadata-card fallback. Width and toggle are remembered.

What ties it together​

Two conveniences make the apps feel like a system instead of silos:

  • Open-with, by extension. Double-click a file in Files and the right app opens it — an extension→app map routes .md to Notepad (split view for Markdown), code extensions to Monaco, images to the Image Viewer, and so on. New documents are born in Files too (right-click → New → Spreadsheet / Document).
  • Explicit-save everywhere. Every editor shares one Save discipline: Ctrl+S, a dirty • marker, and a close-guard warning — no autosave surprises, no "Save As" maze.
tip

Everything here runs as the unprivileged imbatranim user, over a single authenticated port. The apps stream data, never pixels — see the ideas that empower it for why that one choice shapes all of the above.

Try it​

docker run -p 8080:8080 -v imbatranim-home:/home/imbatranim imbatranimos

Open http://localhost:8080, pick a password (the first screen is a setup wizard, never a login — there is no default password), and you're on the desktop. Full run, backup, and HTTPS instructions are in the project README.