Automattic has published new project called wp-now that creates in seconds.
The tool is NodeJS app that is powered by WordPress Playground, experimental project that uses WebAssembly to run WordPress in the browser. wp-now allows developers to spin up WordPress site with their chosen theme and then open it in the browser automatically logged in as admin without having to enter any credentials.
It uses SQLite Database Integration its database and developers can swap out versions of PHP and WordPress for testing..
Five minute install wp-now launches your in five seconds ????https t.co cKkUDN8uHE pic twitter com QdgZle5mgw — AutomatticEng May 23, 2023..
Automattic Antonio Sejas explained how it works.
we create instance, download WordPress version and mount the necessary directories in virtual file system.
Then, we initiate NodeJS express server that listens and proxies all requests to the php-wasm.
As result, wp-now can log you into WordPress automatically, activate plugins and themes, configure your WordPress site.. wp-now can be installed from npm.
It works across all platforms.
it does not support custom domains or SSL yet, Automattic has it on the roadmap wp-now contributors are also looking at auto detecting importing database from another WordPress site, and adding deploy feature for SSH SFTP hosting, among other features..
Read more