Skip to content

ZipponDB: A Minimalist Lightweight General Purpose Database in Zig

ZipponDB

Minimalist Lightweight General Purpose Database written in Zig


Documentation: https://mrbounty.github.io/ZipponDB

Source Code: https://github.com/MrBounty/ZipponDB


ZipponDB is a database built from the ground up in Zig, with zero external dependencies. Designed for simplicity, performance, and portability, it's almost usable for small to medium applications that want a quick and simple database.

Key Features

  • Small Binary: ~300kb.
  • Fast: Parse millions of entities in milliseconds.*
  • Relationship: Build with focus on easy relationship.
  • Query Language: Use it's own stupid query language.
  • No dependencies: Depend on nothing, every line of code running is in the codebase and written for ZipponDB.
  • Open-source: Open-source under MIT licence.

* Check benchmark.

Planned

  • Interface: Small package to interact with ZipponDB from different programming language.
  • Single file: Like SQLite, ZipponDB's database aim to be a single file.
  • Schema migration: Update dynamically database schema.
  • Custom index: Speed up query with custom indexing.
  • Better QL: Improving ZiQL and adding features.
  • Safety and Performance: Improve general safty and performance.

More info in the Roadmap.

Maybe

Those are idea for very long term with 0 promesse, maybe as extension.

  • Web interface: Similare to EdgeDB, getting a webapp to query and config the DB.
  • HTTP server: Be able to start a simple HTTP server and send json.
  • Auth: Be able to auth users, maybe third-party OAuth.
  • Per user database: Like Turso.
  • Performace: I'm sure I can do better.
  • Client side database: Run it on the client side with WASM.