You Can Run WordPress in the Browser

Dustin Boston ·

It's wild that you can run WordPress in the browser.

I have been making these little single page, local-first, PWA's a lot lately. For example, I created a habit tracker that is integrated with a calendar. Now I don't know why you'd want to run WordPress as a PWA - I'd personally go with TiddlyWiki - but it's a cool idea.

Anyway, they didn't rebuild WordPress for this use-case. Instead, they compiled the PHP interpreter to Web Assembly. Then WordPress is bundled and loaded into an in-memory virtual filesystem. Finally, WordPress is executed as normal using PHP.

You can read more about the architecture here.
And here's the "Press Release".

Comments

Leave a comment

No comments yet. Be the first to share your thoughts!