Skip to content
Projects

lykia-rs/lykiadb has 36 GitHub stars and 2 forks. GitHot measured +1 stars in 24 hours and +1 in 7 days. Last checked 2026-11-13 10:48 UTC. Last push 2026-11-05.

How these counts are measured

A toy document DB mainly created for self-education and fun

36 stars2 forks +1 in 24h

Measured star growth

in 24h
+1
in 7 days
+1
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

λykiaDB

CI

codecov

LykiaDB logo

Lykia is a document database management system built for educational purposes. The famous book, Crafting Interpreters, was the main source of inspiration for the project. It turned into a database, though.

Overview

  • 100% safe Rust, #BlazinglyFast
  • A weird scripting and query language, combination of JavaScript and SQL. The language is a separate module thus can be used without the database.
  • A subset of JSON data types in both scripting language itself and storage
  • In-disk and in-memory storage
  • ACID compliance
  • Replication

Primary goals

  • Core scripting language + DML/DDL SQL
  • Client and server apps
  • A minimal standard library
  • Query planning and binding (in progress)
  • Query execution (in progress)
  • Persistent storage engine (in progress)
  • Transactions and multi-version concurrency control

Phase 2 goals

  • Bytecode execution
  • Query optimization

Phase 3 goals

  • Replication with Raft
  • JIT execution for expression evaluation

Non-goals

  • LykiaDB is not (and will not be) a production-grade database.

Getting Started

To use Lykia, you can download the latest release from the GitHub releases page.

Developing via client:

cargo run-script dev-client

Run the server:

$ cargo run --release --bin lykiadb-server

Run the shell:

$ cargo run --release --bin lykiadb-shell lykiadb-shell/examples/fib.ly

Flamegraph a benchmark:

$ sudo cargo flamegraph --bench interpreter -- --bench

For playground, please visit lykia-rs/playground

License

Lykia is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Explore related projects