Show HN: WordPress Without PHP – Build Apps and CLI Tools in TypeScript

github.com

3 points by rnaga 7 hours ago

WP-Node is a TypeScript project that lets you build apps, scripts, and automation tools using data from a WordPress database — without needing to run the WordPress PHP runtime at all.

It gives you:

* Fully typed access to core WordPress tables (posts, users, terms, meta, etc.) * A CLI framework to run custom commands, queries, and migrations * Utilities to build headless APIs or background jobs (like cron tasks)

Support for both single-site and multisite WordPress

Use it to:

* Build apps in Next.js, Express, or serverless environments * Write migration scripts, cleanup tools, or data sync jobs * Avoid dealing with WordPress internals if you only need the database

It doesn’t replace WordPress — but makes it easier to use WordPress as a backend. Would love feedback from others building tools on top of WordPress or modernizing legacy systems!