A proposal to officially support SQLite in WordPress

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • wordpress-seo

    Yoast SEO for WordPress

  • I can see that the difficulty will be the plethora of plugins that for whatever reason won't end up being compatible, and the Wordpress community will quickly consider it a "broken database" or similar.

    For example, one of the most common plugins is Yoast, I'm sure somewhere in this spaghetti something will be MySQL specific.

    https://github.com/Yoast/wordpress-seo/blob/0efeda377ea09931...

  • jetpack

    Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.

  • I didn't spend time looking for specific features, as much as pointing out the standard is to be extremely hand wrangled and therefore prone to such issues. I have no idea if this sort of nonsense (this is an official Automattic plugin) is going to work in SQLite:

    https://github.com/Automattic/jetpack/blob/2447e267e40f2d133...

    But certainly creating a new table with ENGINE= which you can also find in that file isn't likely to work as intended on other platforms.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • wp-sqlite-db

    A single file drop-in for using a SQLite database with WordPress. Based on the original SQLite Integration plugin.

  • 1. Plugins that register their own database tables (however there already exists prior art such as https://github.com/aaemnnosttv/wp-sqlite-db for handling these cases)

    2. Plugins that do direct queries against the standard database schema (broadly either for invalid (bad code) or performance (valid but slim use case) reasons)

    Also, WordPress would of course keep the old query functions around and they would likely add a tag to the plugin repository so authors can mark plugins as supporting thes new ORM features.

    Great idea in my opinion!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts