Skip to content

vixcpp/kv

Repository files navigation

Vix kv

Vix kv is a durable, local-first key-value engine built for real-world systems.

It provides crash-safe writes, deterministic state, and a simple API.

🌍 https://vixcpp.com
📘 Getting StartedAPIWhy kv


Built for the real world

Most databases assume stable networks and perfect infrastructure.

Reality is different.

kv is designed for:

  • unreliable networks
  • offline environments
  • crash scenarios

Write locally. Persist first. Read instantly.


Why developers use kv

  • no data loss
  • instant reads
  • no server dependency
  • works offline
  • simple API

Features

  • Structured keys ({"users","42"})
  • Binary-safe values
  • WAL-backed durability
  • Prefix scan
  • Crash recovery
  • Embedded (no server required)

Quick example

#include <vix/kv/kv.hpp>

int main()
{
  auto db = vix::kv::open();

  db.set({"users","42"}, "Alice");

  auto value = db.get({"users","42"});

  if (value)
  {
    std::cout << value->to_string() << std::endl;
  }
}

Documentation

  • docs/getting-started.md
  • docs/api.md
  • docs/concepts.md
  • docs/architecture.md
  • docs/why-kv.md
  • docs/use-cases.md
  • docs/examples.md
  • docs/transactions.md
  • docs/watch.md
  • docs/sync.md
  • docs/internals.md
  • docs/roadmap.md

Installation

vix add @vix/kv
vix install

Inside a Vix project:

vix add @vix/kv
vix install

Philosophy

  • Local-first
  • Durable by default
  • Deterministic
  • Simple

MIT License

About

A durable, local-first key-value engine with built-in sync, powered by Softadastra.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors