What are you building?

Browse all documentation
Your hardwareOne HTTPS origin
Why local-first

Run apps on your own hardware.

rumahl OS runs on a machine you control, such as a mini PC or a spare Linux box. An app can use local storage for its core features and ask for access to a NAS, a cloud drive or another service when a feature needs it.

Explicit boundaries

Permissions, capabilities and short-lived leases are checked by the platform, not trusted from the client.

Signed packages

A manifest signature plus a SHA-256 digest for every payload file. No directory paths are trusted.

Services stay independent

A NAS, cloud drive or smart-home bridge is an integration — never a dependency of the OS.

Read the architecture
Public npm packages0.1.0 · latest
Install the toolkit

Three packages. Not the whole OS.

Use the component system, the bridge client and the typed contracts in any ESM project. The shell and the SSR server stay in the workspace because they are the platform, not an app dependency.

  • @rumahl/ui — RUI components, tokens, themes and CSS.
  • @rumahl/bridge-client — typed bridge calls from an installed app.
  • @rumahl/contracts — bridge, event, widget and snapshot contracts.
install
pnpm add @rumahl/ui@0.1.0 \
  @rumahl/bridge-client@0.1.0 \
  @rumahl/contracts@0.1.0
Open SDKs & npm
The shape of the platform

How apps reach local services.

An app calls the bridge when it needs a platform feature or a capability provided by another app. The platform checks the current installation, account and grants before it runs the operation.

Your appSandboxed iframe, opaque origin
rumahl OSBridge · permissions · capabilities · leases
Platform serviceRust domain, accounts and persistence
Your servicesNAS, cloud, smart home — independent
From zero to launch

From signed package to running app

Follow the package through three stages. The Notes tutorial includes the files and commands to complete each stage locally.

01 / Package

Describe the app

The signed manifest names the runtime, entrypoint, permissions, settings and capabilities.

manifest excerpt
{
  "formatVersion": 1,
  "publisherId": "com.example",
  "app": {
    "appId": "com.example.notes",
    "version": "1.0.0",
    "runtime": {
      "kind": "web",
      "entrypoints": [
        { "id": "main", "kind": "web-asset", "path": "index.html" }
      ]
    },
    "permissions": []
  }
}
02 / Sign

Sign the manifest

Sign the exact manifest bytes with Ed25519. The manifest records a SHA-256 digest for each payload file so the platform can verify it on import.

bash
rumahl-package sign \
  --package dist/notes \
  --manifest dist/notes/package.json \
  --keystore keys/example.json
03 / Launch

Import and launch in the shell

The platform imports, authorizes a launch and hands the app a short-lived lease.

bash
POST /api/v1/shell/apps/import
POST /api/v1/shell/apps/{id}/launch

# frameUrl + 90s renewable lease
Dos and don’ts

Check the rules before release

Before sharing a package, review how it handles permissions, assets and external accounts. The rules for each area include cases you can test during development.

Do
  • Sign the exact manifest bytes.
  • Bundle UI assets in the package.
  • Label external accounts and their limits.
Don’t
  • Trust a manifest path or cached grant.
  • Relay the shell session into an app.
  • Load the UI from a CDN.

API and package reference

Look up HTTP routes, bridge methods and manifest fields when you need the exact contract. The troubleshooting guide covers common failures during import, launch and consent.

Open the API reference
Read the source

Contribute to rumahl

Browse the platform source and package tooling on GitHub. The contributing guide shows where to make a change and how to verify it locally.