[go: up one dir, main page]

kaage
NixOS · WASM GitHub
ಕಾಗೆ crow (Kannada) / 影 shadow (Japanese)

Your GPU Rig, HomeLab, Cloud Computer, Raspberry Pi cast as a shadow desktop
in any browser.

kaage is a late-90s workstation-inspired webtop built on NixOS and served by a Rust daemon. Perch over your GPU rig, homelab, cloud computer, or Raspberry Pi from a laptop or phone over Tailscale—with sliding yellow title tabs, 3D beveled chrome, stack-and-tile windows, zero SSH gymnastics, and zero JavaScript.

100% Rust + WASM BSP Tiling + Stack & Tile Vitals · Tracker · ⌘K HUD Obsidian Amber & Retro Themes
kaage — aihole.ts.net:9090
Tracker
Terminal — shell
kaage tactile retro-beveled browser desktop running in Firefox over Tailscale, showing stackable tabbed windows, Tracker, Systemd Services, an interactive shell, a live top-right Deskbar, and the crow-and-shadow wallpaper
Live webtop on NixOS 26.11 · Systemd + Terminal + Tracker wasm32-unknown-unknown
[OS] What kaage Is

A crow on your rig. A shadow in your browser.

Whether it’s a GPU rig, a homelab, a cloud computer, or a Raspberry Pi running local models, containers, and builds, using Linux hosts remotely still means juggling raw SSH sessions, port forwards, and brittle tmux windows.

kaage turns a NixOS host into a single-user, tactile, retro-beveled browser desktop served directly by a lightweight Rust daemon (kaaged). Open a browser tab on your laptop, tablet, or phone and your machine is right there—built around stackable tabbed windows and a live top-right Deskbar.

Why “kaage”?

In Kannada, ಕಾಗೆ (kāge) means crow—sharp-eyed, resourceful, perched high watching over your system and sorting your files. In Japanese, 影 (kage) means shadow—the remote projection of your home machine that follows you everywhere.

>_

Primitive 1: Terminal

Full interactive PTY terminals right inside the webtop—no external SSH client or raw terminal sessions needed. Spawn shells, tail journals, and manage systemd services side-by-side.

◈

Primitive 2: Browser

The browser is both the viewport and a first-class productivity surface—exposing local web apps, AI interfaces, and dashboards seamlessly from the same machine.

▤

Classic Workstation Chrome, Mobile Ready

Inspired by classic 1990s personal workstations—featuring crisp 1px bevels, sliding yellow tabs, and zero-bloat responsiveness—already running smoothly on mobile browsers.

[UX] Mission-Control Cockpit & Shipped Apps

Built like a mission-control workstation—already shipping

Everything runs natively inside the Rust/WASM canvas with bundled IBM Plex Sans & Mono typography, zero third-party web bloat, and live WebSocket telemetry from kaaged.

WINDOW MANAGER

Hybrid BSP Tiling & Workspaces

Dynamic recursive BSP tiling by default, paired with drag-to-stack tabs and drag-to-split detachment. Switch across 4 named workspaces (1: Ops, 2: AI, 3: Files, 4: Logs) with Alt+1..4, focus panes with Alt+H/J/K/L, pin floating FLT/PIP overlays, or collapse cleanly on mobile (<768px).

COMMAND HUD & DESKBAR

Global ⌘K Palette & Live Strip

Hit Ctrl+K / Cmd+K to fuzzy-launch apps, switch workspaces, restart/tail systemd services, or open container shells. The 28px Deskbar surfaces live CPU/RAM/GPU sparkbars, active port badges, Tailscale node identity, a 3-mode clock, and reversible Undo toasts.

TELEMETRY COCKPIT

Kaage Vitals (1s Live + 24h History)

Synchronized time-travel charts with a shared crosshair scrubber and drag-to-zoom, backed by a 1h 1s ring buffer and 24h persisted rollups. Tracks per-core Pulse bars, GPU + per-process VRAM, Kernel PSI, journalctl -k OOM/NVMe/Xid alerts, physical vs tailscale0 NICs, and live TERM/KILL/renice controls.

FILE EXPLORER

Tracker & Rich File Previews

Dual-pane commander (F5 Copy, F6 Move, Tab switch) with Holding Shelf, Safe Trash + Undo, Git branch/dirty badges, and systemd unit ownership. Built-in rich previews for Markdown (inline edit/save), Images/SVG, ZIP/tar archives, JSON/Code/CSV, and GGUF / SafeTensors model headers.

THEMES & SETTINGS

Obsidian & Amber + Retro Switcher

Ships with a dark neo-brutalist Obsidian & Amber theme (dot-grid canvas, warm amber active tabs) plus a 1-click toggle to classic retro-beveled light chrome. Customize fonts, UI/terminal sizes (15pt/16pt defaults), and colors live in kaage-settings.

TERMINAL ERGONOMICS

Browser-Safe Vim & kaage-help

Focus-locked Esc, Tab, Shift+Tab, and Alt+Arrows inside PTY terminals, plus Ctrl+[ escape support that never exits Safari, Edge, or Firefox fullscreen. Full shortcut & API reference built right into kaage-help.

[TS] Access & Security

Zero-friction HTTPS over Tailscale Serve

Built with a single-user focus for now, so security stays simple, auditable, and airtight from any device you own.

YOUR DEVICE
macOS Laptop / Phone
Logged into Tailscale
TAILSCALE SERVE
host.tailnet.ts.net
Auto-injects Tailscale-User-Login
YOUR HOST
kaaged (Rust)
GPU Rig · Homelab · Pi · Cloud

Tailscale Services Screen

Inspect every local port and exposed service in a dedicated Tailscale Services view—with clickable Tailscale HTTPS URLs and one-click tailscale serve register & unregister right from the UI.

Automatic macOS Auth

When you’re signed into Tailscale on your macOS laptop, Tailscale automatically injects identity headers. Open your bookmark and you’re straight onto your desktop.

Secure From Any Device

Single-user architecture keeps the attack surface tiny while still giving you secure authenticated login from any device on your tailnet.

[AI] LLM & AI Integration

Native AI from silicon to cloud

Your GPU rig or homelab can run local AI workloads like ComfyUI and Unsloth right on the host. kaage brings AI directly into the OS layer instead of bolting it on as an afterthought.

Embedded NixOS + kaage Text LLM PLANNED

Embed a small, capable text LLM specifically trained on NixOS concepts and kaage itself—eliminating cloud round-trips for system-level queries, service debugging, and desktop actions, with a clearly defined minimum model size threshold for reliability.

Browser Bridge & Voice Passthrough CONCEPT

Share your live desktop and browser session directly with a cloud agent via the Browser Bridge—paired with planned voice passthrough from your laptop microphone straight to the remote machine.

Three flexible LLM hookup paths:

Local Model on the Same Machine

Run directly against the local GPU or CPU sitting underneath kaaged. Zero latency, zero data leaving your host, sharing hardware smoothly with ComfyUI and Unsloth.

endpoint = "http://127.0.0.1:8080/v1"
mode     = "local-host"
scope    = ["nixos-ops", "kaage-shell", "comfyui", "unsloth"]
[R2] Storage & Backup

Cattle OS. Precious ~/appdata.

NixOS itself is never backed up. The entire operating system is declaratively reconstructed from dotfiles synced to GitHub (or any Git remote).

Instead, kaage enforces one clean, predictable convention for persistent state: every app stores its data under ~/appdata/<appname>. That single directory is continuously backed up on a configurable interval to cheap object storage like Cloudflare R2 or Amazon S3.

Cloudflare R2 / S3 Git-synced NixOS dotfiles Configurable continuous interval
Storage Split declarative + continuous
# 1. OS & Config → Git (not backed up to object storage)
~/dotfiles/
├── flake.nix              # Reconstructs entire NixOS host
├── configuration.nix      # LLM-generated (Gemini)
└── home.nix

# 2. App State → Cloudflare R2 / S3 (continuous interval)
~/appdata/
├── foobar/                # App data for "Foobar"
├── comfyui/               # Models, workflows, outputs
├── unsloth/               # Fine-tuning checkpoints
└── tracker/               # Smart file index & metadata
[>_] Tech Stack & Current State

Pure Rust. Zero JS. Already shipping.

LANGUAGE & UI

100% Rust + WASM

The entire stack—daemon, wire protocol, and web UI—is written in Rust and compiled to WebAssembly. Zero TypeScript. Zero JavaScript.

SYSTEM CONFIG

100% LLM-Generated NixOS

The NixOS configuration is generated entirely by Gemini models—no hand-written NixOS code required to maintain or evolve the host.

FILE EXPLORER

Dual-Pane Tracker + Rich Previews

Already ships Tracker with dual-pane commander ops, Safe Trash + Undo, Git/systemd badges, and built-in previews for Markdown, images, ZIP/tar, JSON/CSV, and GGUF / SafeTensors weights.

NETWORKING

One-Click Tailscale Services

Discover HTTP services on the host, open clickable *.ts.net HTTPS URLs, and register or unregister Tailscale Serve routes straight from the webtop.

flake / configuration.nix — declarative deployment services.kaage
services.kaage = {
  enable = true;
  user = my.username;
  port = 9090;
  allowedUser = "you@domain.com"; # Verified via Tailscale-User-Login
  tailscaleServe = {
    enable = true;
    httpsPort = 9090;
  };
};