๐Ÿ“ฆ

Download for your platform

Coming soon

macOS ARM64
macOS x86_64
Linux ARM64
Linux x86_64
Binary downloads โ€” coming soon

Requirements

Rust toolchain (latest stable). SQLite development headers are bundled via rusqlite.

  • git clone https://github.com/anomalyco/d4m.git
  • cd d4m
  • cargo build --release
  • ./target/release/d4m --no-auth --port 27017

Quick start

Once running, connect with any MongoDB tool:

  • mongosh mongodb://localhost:27017
  • mongodump --uri="mongodb://localhost:27017"
  • mongorestore --uri="mongodb://localhost:27017" ./dump

Production deployment

Enable authentication with environment variables:

  • D4M_ADMIN_PASSWORD=secret cargo run --release -- --port 27017 --db-dir /var/d4m/data
  • Default user: admin / password
  • Customize via D4M_ADMIN_USERNAME, D4M_ADMIN_PASSWORD, D4M_ADMIN_ROLE