LuaDB: A pure Lua embeddable SQL database for game save files, state tracking, and cloud sync Developer Jncastilho has released LuaDB, a pure Lua embeddable SQL database designed for game save files, state tracking, and cloud sync. The zero-dependency system includes a B+Tree index engine, write-ahead logging, a PostgreSQL wire protocol gateway, JSONB operators, foreign keys, and master-master cluster replication. Wanted to share a project I've been building called LuaDB: a lightweight, zero-dependency embeddable database system written in pure Lua. Why pure Lua? Cross-platform embedding without needing C bindings or compiling native SQLite shared libraries great for LÖVE, Roblox, OpenResty, or embedded devices . What it includes: Full B+Tree index engine on 4KB slotted binary pages Write-Ahead Logging BEGIN, COMMIT, ROLLBACK Native PostgreSQL wire protocol gateway run luajit bin/luadb server.lua and connect with psql Native JSONB operators details- 'address'- 'city' Foreign Keys with ON DELETE CASCADE and ALTER TABLE migrations Master-master cluster replication with hinted handoff Check out the GitHub repo: https://github.com/jncastilho/luadb https://github.com/jncastilho/luadb Would love to hear your thoughts and feedback