, , , ,

WordPress Playground lets you run WordPress entirely in your browser

If you don’t keep up with WordPress ecosystem news, you might not be aware of a cool new project called WordPress Playground. And I include myself in this group as I had never heard of WordPress Playground until the project page was submitted to Hacker News a few days ago.

But WordPress Playground is so neat that it deserves a quick explanation here. The idea is quite simple. Playground lets you run a WordPress instance directly from your web browser without having to mess around with a server — no need to install PHP, MySQL or Apache.

You can try it out on playground.wordpress.net. In just a few seconds, you get a brand new WordPress site with a full admin panel and the ability to create posts and pages. At this point, you probably have two questions: How is this possible? And why is it useful?

A screenshot of a web browser window with a WordPress instance running in it

Image Credits: Romain Dillet / TechCrunch

Adam Zielinski and other contributors from Automattic and the WordPress community have created a WebAssembly-based WordPress runtime so that you can start a WordPress server by loading a page. The usual MySQL database has been replaced with a file-based SQLite database. And a service worker acts as the web server and translates browser requests into WordPress responses.

WordPress loads in less than ten seconds on my laptop. You can mess around as much as you want as changes are gone when you refresh the page. There are options to store data in the browser or in a local computer directory too.

And that’s the main idea behind WordPress Playground. It’s a sandboxed environment where you can try new things, showcase some stuff you’ve been working on and test your code against different versions of WordPress and PHP.

For instance, WordPress Playground can be used to try a plugin, a theme or a block to see if it fits your needs. You don’t have to install it on a live WordPress site and it’s easier than creating a staging site.

There are two ways to install a plugin in WordPress Playground. You can download a ZIP file of a plugin and then upload it to Playground. Or you can simply change the URL to something like playground.wordpress.net/?plugin=MYCOOLNEWPLUGIN to automatically boot up a WordPress site with the plugin installed.

WordPress Playground can handle many configuration options as query parameters in the URL, such as the PHP version, the WordPress version, the WordPress URL that should be loaded when you load the page, etc.

These parameters could be particularly useful for plugin developers that want to test a new version of their plugin on a fresh WordPress install. Theme developers could also use Playground to embed a live demo of their theme in an <iframe> tag.

Using WordPress as an app platform

When I interviewed Automattic CEO Matt Mullenweg a few years ago, he told me that he wanted to build the operating system of the web with WordPress. And it’s true that WordPress is highly flexible. It can be used to showcase a restaurant menu or as the foundation for a high-traffic media site (TechCrunch is a WordPress website).

Some people also use WordPress as a headless content management system. WordPress takes care of content, users and media files, but the frontend is completely separated from WordPress and uses the API to interact with your content.

As WordPress Playground is essentially a standalone WordPress, you can also run a WordPress instance on your local device. For instance, there’s a VS Code plugin that you can use to debug your themes and plugins locally. You can also launch a local WordPress environment with a CLI tool.

Even more insane and amazing, Ella van Durpe used WordPress Playground as the basis for a new note-taking app for iOS and macOS. Blocknotes is a stripped down version of WordPress that lets you create notes like you would create posts in WordPress.

Ella van Durpe shared a few screenshots on Twitter:

Image Credits: Ella van Durpe

As you can see, your notes are then saved as HTML files in iCloud Drive and synchronized across Apple devices. Blocknotes is currently available on TestFlight and works well already. This project reminds me of TiddlyWiki, a wiki-style notebook in the form of a single HTML file.

Now, I can’t wait to see other potential use cases for WordPress Playground. It’s awesome to see web technologies used in new ways. And Playground is a perfect example of that.

https://techcrunch.com/2023/07/18/wordpress-playground-lets-you-run-wordpress-entirely-in-your-browser/


January 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

About Us

Welcome to encircle News! We are a cutting-edge technology news company that is dedicated to bringing you the latest and greatest in everything tech. From automobiles to drones, software to hardware, we’ve got you covered.

At encircle News, we believe that technology is more than just a tool, it’s a way of life. And we’re here to help you stay on top of all the latest trends and developments in this ever-evolving field. We know that technology is constantly changing, and that can be overwhelming, but we’re here to make it easy for you to keep up.

We’re a team of tech enthusiasts who are passionate about everything tech and love to share our knowledge with others. We believe that technology should be accessible to everyone, and we’re here to make sure it is. Our mission is to provide you with fun, engaging, and informative content that helps you to understand and embrace the latest technologies.

From the newest cars on the road to the latest drones taking to the skies, we’ve got you covered. We also dive deep into the world of software and hardware, bringing you the latest updates on everything from operating systems to processors.

So whether you’re a tech enthusiast, a business professional, or just someone who wants to stay up-to-date on the latest advancements in technology, encircle News is the place for you. Join us on this exciting journey and be a part of shaping the future.

Podcasts

TWiT 1012: Our Best Of 2024 – The Best Moments From TWiT's 2024 This Week in Tech (Audio)

TWiT wishes all listeners and viewers a Happy New Year and peaceful 2025! Padre's CES 2024 haul Cory Doctorow's infamous ensh*ttification term Tesla teases a robotaxi Last in-studio audience for TWiT Padre on the AI priest Google Search gets worse Christina Warren's Rabbit R1 Snowflake and the AT&T breach Crowdstrike's big outag Last in-studio episode before moving out Salt Hank shows off his new cookbook TWiT's 1000th episode brings back old friends The State of X/Twitter under Elon Parenting with TWiT daddies Tech billionaires affecting Trump's transition team Host: Leo Laporte Download or subscribe to This Week in Tech at https://twit.tv/shows/this-week-in-tech Get episodes ad-free with Club TWiT at https://twit.tv/clubtwit
  1. TWiT 1012: Our Best Of 2024 – The Best Moments From TWiT's 2024
  2. TWiT 1011: The Year in Review – A Look at the Top Stories of 2024
  3. TWiT 1010: The Densest State in the US – TikTok Ban, Drones Over Jersey, GM Quits Robotaxis
  4. TWiT 1009: Andy Giveth & Bill Taketh Away – Trump's Tech Titans, Crypto Boom, TikTok's US Ban, Intel CEO Exits
  5. TWiT 1008: Internet Legal – Australia's Social Media Ban for Kids, Smart Home Nightmare, Bluesky's Ascent