Run classic Macintosh software — System 6, System 7, Mac OS 8 and 9 — in a browser tab. One URL per title, no download, no install, nothing uploaded.
Sister site to exebrowser.com, which does the same for DOS and Windows.
The emulators are WebAssembly builds of Mini vMac (68k, black and white), Basilisk II (68k, System 7 – Mac OS 8.1) and SheepShaver (PowerPC, Mac OS 8.1 – 9.0.4), vendored from a fork of Infinite Mac by Mihai Parparita (Apache-2.0). Infinite Mac did the hard part; this site is a catalogue and a set of pages on top of it. If you want the whole machine rather than one title, go there — and consider donating.
Disk images are split into 256 KB content-addressed chunks and fetched lazily, so a title starts in a couple of seconds instead of after a 200 MB download. Chunks and ROMs live in Cloudflare R2 and are served same-origin by Pages Functions.
| Path | What it is |
|---|---|
scripts/ |
Zero-dependency Node ESM generators. app-pages.json is the single source of truth for the catalogue. |
public/ |
The deployed site. Everything here is static except functions/. |
functions/ |
Cloudflare Pages Functions: R2 bridges and the header middleware. |
vendor/infinite-mac/ |
Pinned fork of Infinite Mac; the emulator build lives here. |
Images/ |
Local only, never committed: raw disk images, ROMs, built chunks. |
node scripts/gen-app-pages.mjs # /run/, /play/, /embed/, hub, sitemap, feed, llms.txt
node scripts/gen-home-grid.mjs # homepage grid in place
node scripts/check-consistency.mjs # gate — exits non-zero if anything drifted
npx wrangler pages deploy public --project-name=macemu
node scripts/indexnow.mjs # Bing indexes this site faster than Google doesDisk work is separate and rare:
scripts/build-mac-runtime.sh # Docker + Emscripten; rebuilds the emulators
node scripts/chunk-disk.mjs Images/titles/marathon.img marathon-v1
scripts/sync-disks.sh # rclone Images/build → R2Site code: see LICENSE. The emulators are GPL-2 and their sources are the
pinned submodules of the vendored fork. Every hosted title carries a
NOTICE.md recording where it came from and why it is here. If you hold rights
to something on this site and want it gone, see /takedown/ — it comes down
within 48 hours, no argument.
macemu.com is registered at Namecheap. Both macemu.com and www.macemu.com
are already attached to the Pages project as custom domains and sit in
pending until DNS points at Cloudflare.
If you move DNS to Cloudflare (recommended — the apex works without an ALIAS record, and you get caching and analytics in front of the site): add the site at dash.cloudflare.com, which issues the nameserver pair, then set those two as Custom DNS at Namecheap. Pages creates the records for both custom domains by itself once the zone is active. Nameservers cannot be issued before the zone exists, and they are assigned per zone — this account already uses two different pairs, so they cannot be guessed from another domain.
If you keep Namecheap DNS, set these on Namecheap's Advanced DNS tab:
| Type | Host | Value |
|---|---|---|
| ALIAS Record | @ |
macemu.pages.dev |
| CNAME Record | www |
macemu.pages.dev |
Namecheap's ALIAS record is what makes the apex work; a plain CNAME at @ is
not valid DNS. Certificates issue automatically once the records resolve.
scripts/deploy.sh # generate, gate, deploy, sync disks, smoke test
scripts/deploy.sh --dry # generate and gate onlyIt stops at the first failure. Running the steps by hand is how a build that the gate had just rejected got deployed anyway.
After a deploy that changed a disk image:
node scripts/boot-test.mjs --all --base https://macemu.pages.dev
node scripts/indexnow.mjs# 1. find a preserved copy and READ ITS LICENCE before anything else
# 2. build a boot disk from it
python3 scripts/build-title-image.py \
--base Images/system/hd1.img \
--source Images/titles/src-macsilverware.iso \
--folder "Games:Arcade:Arashi 1.1" --as "Arashi" \
--startapp "Arashi:Arashi 1.1" \
--out Images/titles/boot-arashi.img --size 32 --volume-name "Arashi"
# 3. chunk it (the name must change whenever the image does)
node scripts/chunk-disk.mjs Images/titles/boot-arashi.img arashi-v1 --name "Arashi v1"
# 4. write notices/<slug>.md — the build fails without one
# 5. add the entry to scripts/app-pages.json with bootDisk: "arashi-v1"
scripts/deploy.sh
node scripts/boot-test.mjs arashi --base https://macemu.pages.dev --shotbuild-title-image.py needs machfs (pip install machfs); everything else is
zero-dependency Node.