v0.1.0 โ€” Beta

Your MongoDB
drop-in replacement,
powered by SQLite.

One tiny binary. Zero infrastructure. Full MongoDB wire protocol โ€” compatible with mongosh, mongodump, and every major driver.

โ†“ Download Learn more โ†’
~8 MB
Single binary size
0
External dependencies at runtime
20+
Aggregation stages supported

Everything you expect,
nothing you don't.

Built in Rust on Tokio. Full MongoDB wire protocol with a SQLite engine โ€” no replica sets, no cluster orchestration, no ops burden.

โšก

Full CRUD

insertOne, insertMany, find, findOne, updateOne/Many, deleteOne/Many, findAndModify, count, distinct, bulk writes โ€” all supported.

๐Ÿ”—

Aggregation Pipeline

$match, $sort, $group (all accumulators), $lookup, $unwind, $project, $facet, $out, $addFields, $sample, $replaceRoot, $sortByCount, $count, and 15+ expression operators.

๐Ÿ“

Index Management

Create single, compound, and unique indexes. List, drop, and index-backed query execution โ€” all through standard MongoDB commands.

๐Ÿ”’

Auth & Authorization

SCRAM-SHA-256 and SCRAM-SHA-1 authentication. Role-based access control with root, readWrite, and read roles. User management via createUser, updateUser, dropUser.

๐Ÿ—„๏ธ

SQLite Backend

Every database is a single SQLite file. WAL mode, synchronous NORMAL, foreign keys โ€” fast, reliable, zero-config persistence with no daemon tuning.

๐Ÿงฉ

Wire Protocol Parity

OP_MSG, OP_QUERY, OP_GET_MORE, OP_KILL_CURSORS, document sequences, checksum parsing โ€” maxWireVersion 21 (MongoDB 8.0+).

๐Ÿ› ๏ธ

Tool Compatible

Works with mongosh, mongodump, mongorestore, pymongo (with note), and any MongoDB driver speaking OP_MSG. Drop-in, zero migration.

๐Ÿ“Š

DB & Collection Ops

createCollection, drop, dropDatabase, listDatabases, listCollections, collStats, dbStats โ€” full database and collection lifecycle management.

๐Ÿชถ

Low-Resource Devices

Runs on as little as 32 MB RAM and a single core. Ideal for Raspberry Pi, edge gateways, VPS micro-instances, and embedded Linux โ€” a full MongoDB-compatible server at a fraction of the cost.

Works with your existing tools.

Zero-config drop-in โ€” point your application at d4m and go.

mongosh
โœ… Verified
mongodump
โœ… Verified
mongorestore
โœ… Verified
pymongo 4.x
โš ๏ธ See note
MongoDB Drivers
โœ… OP_MSG
SCRAM-SHA-256
โœ… Supported

โš ๏ธ pymongo 4.17+ C-level encoder strips $-prefixed keys in arrays; use mongosh or raw BSON for aggregates. All other operations work.