Stores

The public store and your own source.

The public rumahl store is store.rumahl.com: a storefront and the catalog API at /api/catalog for apps and themes. Package downloads and updates resolve to github.com/rumahl/apps. Inside rumahl OS, every source uses the same Store app; the platform owns verification, installation and device trust.

13 min readUpdated 1 December 2026OS-owned sources · storeVersion 1

What a store is

The native Store app is a trusted first-party shell app at /app/store. It does not trust source metadata as executable content. It fetches a JSON index through the authenticated same-origin bridge, displays the catalogue and installs the signed package the index points to.

The public rumahl store separates three jobs:

The same store lists apps and themes. There is no separate theme marketplace. The public catalog endpoint is https://store.rumahl.com/api/catalog; its package entries point into github.com/rumahl/apps for downloads and updates.

The public storefront uses RWDS; the native Store in rumahl OS uses RUI. Both read the same catalog and the same optional editorial block, so the hero, five featured apps and curated collections are the same product without sharing a visual component implementation.

PieceOwner
Public storefront and APIstore.rumahl.com
Public app and theme packagesgithub.com/rumahl/apps
Store implementationgithub.com/rumahl/store.rumahl.com
OS Store frontendrumahl OS shell (the same UI for every source)
Custom storefront websiteYour store, external and optional
Catalogue indexThe public store API or your HTTPS source
Package URLThe public package repository or your source
Signature verificationThe rumahl platform
Install consent and journalThe rumahl platform
Source trust decisionThe local rumahl account

Sources are owned by the OS

The source list is platform state, not browser state. It is stored per account by the OS and shared by every device signed into that account. The official store is the default until the account saves its own list; a saved list replaces the default and an empty list stays empty.

  • Settings → Store sources edits the list. The Store app, the update check and the background scheduler read the same list.
  • The scheduler checks enabled sources roughly every six hours, after source changes and after installs. It does not need an open browser.
  • App updates use the OS-owned policy: auto-update all apps or selected apps. Updates download and install through platform jobs, so closing the Store window does not cancel them.
  • Installs are OS jobs too. The desktop and launcher show a pending tile with an iOS-style progress ring while the package downloads and verifies.
  • The public storefront is a Next.js app deployed on Vercel. It reads the catalog at runtime, so publishing an app does not rebuild or redeploy the storefront.

Source errors stay visible: an unreachable host, a certificate problem, an HTTP status or an invalid index is reported with the reason instead of hiding the source.

1. Choose a store type

Store typeWhat it providesStatus
Public rumahl storeThe storefront and catalog API at store.rumahl.com; app and theme packages live in github.com/rumahl/apps.Available
API-onlyAn HTTPS JSON index and signed package URLs. No custom storefront.Implemented
API + custom storefrontThe same index plus an external website for discovery. The OS Store remains the shared frontend.Allowed; storefront is external
Git repositoryA GitHub repository with store.json, or a single-app repo with manifest.json and store-package.json.Implemented for GitHub

The most important rule: inside rumahl OS, all stores render through the one Store app. A custom storefront is an additional discovery surface outside the shell. It must not replace the OS Store, hide the source, or bypass signed-package installation. See Store guidelines.

2. Publish the common index

The shell fetches the index through GET /api/v1/shell/store/fetch?url=…. It allows HTTPS only, rejects credentials and fragments, follows no redirects, has a 15 second timeout and limits the document to 32 MiB.

Settings → Store sources
https://store.example/index.json

A GitHub source resolves the repository, ref and optional directory to a raw store.json. Only GitHub is recognized today; other Git hosts are not accepted by the source parser.

A GitHub repository without store.json can still be a single-app source. The shell reads manifest.json for identity and store-package.json for the signed package, which is useful for a repository that ships exactly one app. For a catalogue, publish store.json.

index.json
{
  "storeVersion": 1,
  "name": "Example Store",
  "description": "Small local-first apps for the home.",
  "editorial": {
    "hero": {
      "eyebrow": "Featured",
      "title": "A quieter home",
      "summary": "Apps for your home and your work.",
      "cta": "Explore the collection",
      "target": "featured",
      "image": "https://store.example/editorial/hero.webp"
    },
    "featured": ["com.example.notes"],
    "collections": [{
      "id": "home",
      "title": "A better home server",
      "summary": "Core apps for a capable, private home.",
      "category": "All Apps",
      "image": "https://store.example/editorial/collection.webp"
    }]
  },
  "apps": [
    {
      "id": "com.example.notes",
      "title": "Notes",
      "version": "1.0.0",
      "summary": "A local-first notes app.",
      "publisher": "Example",
      "packageUrl": "https://store.example/packages/notes.package.json",
      "sourceUrl": "https://github.com/example/notes",
      "category": "Productivity",
      "rating": 4.8,
      "downloads": 18400,
      "featured": true,
      "permissions": ["Read personal files", "Show notifications"],
      "iconUrl": "https://store.example/media/notes-icon.png",
      "screenshots": ["https://store.example/media/notes-screen.png"]
    }
  ]
}

A relative packageUrl resolves against the index URL. It must still resolve to HTTPS. App IDs must be valid rumahl app IDs.

Required fieldRule
storeVersionMust be 1
nameSource display name
apps[]Array of app entries
apps[].idValid rumahl app ID, identical to the signed manifest
apps[].titleNon-empty display title
apps[].versionPackage version
apps[].packageUrlHTTPS package document, absolute or relative to the index

Optional fields are omitted when unknown. Invalid optional metadata is ignored; an invalid required field fails the index.

3. Design the common front page

This section describes the front page inside rumahl OS and the public storefront. It is metadata-driven and shared by every source. A source shapes the editorial composition through optional fields, not injected HTML, CSS or JavaScript:

FieldEffect
editorial.heroShared landscape hero: eyebrow, title, summary, CTA label, target and image
editorial.featured[]Ordered app ids for the five-card featured row
editorial.popular[] / recent[]Ordered app ids for the Popular now and New arrivals rank rows
editorial.featureTinted editorial band: eyebrow, title, summary, CTA, target and app icon ids
editorial.collections[]Up to six curated collection cards with title, summary, category and image
description / releaseNotesLonger source copy for detail pages; bounded by the index parser
featured: trueFallback ordering when a source does not provide shared editorial content
category / categoriesCategory filter and card tags; up to six values
ratingA number from 0 to 5; optional detail metadata
downloadsA non-negative integer; optional detail metadata
sourceUrlOptional HTTPS source repository link shown on the app detail page
permissionsHuman-readable source metadata; the signed manifest stays authoritative
fullAccess: trueMarks an app as full system access and shows a risk warning before install. Use only when true; it is not a grant
iconUrl / screenshotsSame-origin metadata artwork; up to 8 MiB each

A custom storefront is not limited to this metadata layout. It is your own website; see the next section.

Custom storefronts

A store may have its own website for discovery, editorial content, developer pages or account features. It is a normal website hosted by the store. It is not injected into the OS Store and there is no API that replaces the shell frontend. This is the API + custom storefront store type.

  • The custom frontend must follow the Store guidelines.
  • It must present the same signed packages and must not offer an unsigned install path.
  • It must not imply that it is an official rumahl Store or that rumahl reviewed the app.
  • It must state its publisher/source identity and provide a way to report a problem.
  • Inside rumahl OS, the source is still browsed and installed through the common Store frontend.

The complete requirements — identity, accessibility, privacy, support and the no-unsigned-install rule — are in the Store guidelines. The implementation guide is Build a custom storefront.

4. Images and media

The shell CSP only permits same-origin images. Source artwork is fetched through GET /api/v1/shell/store/image?url=…. PNG, JPEG, WebP, GIF and AVIF are accepted; invalid optional metadata is ignored, while required fields fail the index.

  • Use the same HTTPS origin as the index for icons and screenshots.
  • Keep art local-first: show the actual app, not a generic mockup.
  • Mark screenshots that are illustrative; do not imply a feature the package lacks.
  • Use a square icon and a wide first screenshot for the detail hero.

5. Certificate trust

The source bridge uses normal web PKI. If a source presents an untrusted certificate, the Store performs a short TLS probe and returns 428 Precondition Required with the host and SHA-256 leaf fingerprint. The user can trust or cancel.

A confirmed certificate is pinned per OS account and host in $RUMAHL_STATE_DIR/app-store-trust.json. Package URLs on the same host use the same decision. If the certificate changes, the next fetch asks again. System-trusted certificates never trigger the prompt.

6. Test the store locally

The repository includes a development example store:

shell
scripts/dev-example-store.sh
# builds and signs example apps, then starts a local HTTPS store
  1. Open Settings → Store sources.
  2. Add the local HTTPS URL.
  3. Confirm the source certificate prompt once.
  4. Browse Discover, All apps, My apps and a detail page.
  5. Install one app and verify the signed package and install journal.
  6. Disable the source and confirm it disappears from the Store navigation.

Store source checklist

  • storeVersion: 1 and valid app IDs.
  • Every packageUrl is HTTPS and serves a signed package, including GitHub raw URLs.
  • A custom storefront links to the same signed packages and never replaces the OS Store.
  • Icons and screenshots use the same origin and a supported image type.
  • Featured entries are real; do not invent ratings or downloads.
  • Permissions metadata matches the signed manifest or is omitted.
  • Source errors remain visible; the Store does not hide an unavailable source.
  • Installation remains on the signed-package path.

Next