cupertab
a port of touchhle that runs in a web browser. it started as a fork of touchhle. early iphone apps run in a tab, and ios 4 boots from an ipsw you supply.
the demo needs your own files: an iphone os 4 .ipsw plus its root filesystem key, or a decrypted .ipa you own. it ships no apple files and nothing gets uploaded.

cupertab is a port of touchhle that runs in a web browser. it started as a fork of touchhle. touchhle is a high-level emulator for early ios apps: it runs the app's own arm code and swaps ios for its own versions of the system frameworks. cupertab builds it to webassembly, and it can also boot ios 4 from an ipsw you supply, so apple's own springboard runs in the tab.
it was called touchhle-web until november 2026. touchhle was started by hikari_no_yume, and many other people have worked on it since. please don't report problems with the web build to upstream touchhle, because they don't work on cupertab.
when a boot reaches the lock screen, the page saves a snapshot of it. the next time you pick the same ipsw with the same key, the lock screen shows up in about a second in chromium.
Facts
- runs - apps for iphone os 2.x, 3.x and ios 4.0.x
- boots - ios 4.2.1 for the iphone 3g (8C148), the only firmware tested so far
- cpu - a rust interpreter, plus an opt-in webassembly jit (?jit=on)
- guest memory - a 1 GiB window per process
- memory needed - about 1.2 GB to start, past 2 GB to boot ios 4
- tested in - desktop chromium
- based on - touchhle by hikari_no_yume and contributors
- licence - mpl 2.0 for the source, gpl 3 or later for binaries
