ZipponDB/docs/index.md
2025-01-23 17:31:55 +01:00

2.2 KiB

ZipponDB: A Lightweight Relational Database in Zig

ZipponDB

Relational 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 simple 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.
  • Portable: Easily compiled and deployed across various platforms.*
  • Low memory and safe: Low memory footprint. (~8Mb / 100k entities)**.

* Plan for more platforms like arm, 32 bit system. ** Plan for optimizations.

After

  • 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.
  • 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.