// readme

Lunacy

Run legacy webOS apps on modern Android phones and tablets, inside a shell that looks and feels like webOS.

webOS apps were HTML and JavaScript. They loaded their framework (Enyo or Mojo) from the OS, ran as cards in the Luna system shell, and talked to the system over the Luna service bus (palm://…). The devices are more than a decade old, but the apps are still good. Most of them never needed Palm’s hardware. They needed Palm’s contract.

Lunacy provides that contract on Android.

How it works

Lunacy re-implements the contract, not the OS:

  1. A simulated Luna shell. A native Android UI that recreates the webOS experience: card view, gestures, launcher, notification banners and dashboard. None of Palm’s code runs. It looks and behaves like webOS, and it has to feel right.
  2. Modernized frameworks. Apps load their framework from /usr/palm/frameworks/... and trust the OS to provide it. Lunacy supplies the TouchPad’s own Enyo 1.0 (Apache 2.0), fixed to run on a modern Chromium renderer. Fixes in the library cover every app built on it.
  3. Apps as cards. Each app runs unmodified in its own…