Skip to main content
ChameleonDB Logo

Welcome to ChameleonDB

ChameleonDB is a schema-governed database platform that treats schemas as first-class, immutable artifacts with explicit integrity guarantees. Unlike traditional databases that treat schema evolution as an auxiliary concern, ChameleonDB governs schemas at runtime through versioning, cryptographic integrity, and explicit operational modes.

The Problem

Modern database systems enforce strong guarantees over data but treat schema evolution informally:
  • Schema drift happens silently over time
  • Migration failures leave databases in unknown states
  • Authority for schema changes is implicit, not enforced
  • Audit trails are external, incomplete, or missing
  • Rollback is manual and error-prone

The ChameleonDB Solution

Schema Vault

Versioned, hash-verified schema storage with cryptographic integrity. Every migration creates an immutable snapshot with SHA256 verification.

Integrity Modes

Unix-style protection rings for schema governance. Ring-based modes (readonly/standard/privileged/emergency) enforce explicit authority.

Complete Audit Trail

Append-only integrity log that never gets deleted. Track every schema change with timestamps, authors, and parent versions.

Zero-Config

Auto-initialization on first migrate. No complex setup required - just define your schema and run.

Quick Example

1

Define your schema

Create versioned and hash-verified schemas:
schema.cham
2

Initialize with zero config

Auto-creates Schema Vault:
3

Schema Vault tracks everything

Every change is tracked:

What You Get

  • Immutable schema versions — Tamper-proof with SHA256 hashing
  • Integrity verification — Automatic checks before every operation
  • Explicit governance — Ring-based modes (readonly/standard/privileged/emergency)
  • Complete audit trail — Append-only log, never deleted
  • Zero-config vault — Auto-initializes on first migrate
  • Password-protected upgrades — Mode escalation requires auth
  • Migration recovery — Retry failed migrations automatically

Get Started

Quick Start

Get started with ChameleonDB in 5 minutes

CLI Reference

Complete guide to all CLI commands

API Reference

Type-safe query and mutation API

Key Features

Schema Vault (v1.0)

Versioned, immutable schema storage with cryptographic integrity:
Use chameleon journal schema to view your complete version history with hashes, dates, authors, and changes.

Integrity Modes (v1.0)

Unix-style protection rings for schema governance:
Mode upgrades require password authentication to prevent unauthorized schema changes in production.

Query System (v1.0)

Graph-oriented, type-safe queries with field projection:

IdentityMap (v1.0)

Automatic object deduplication in memory:
IdentityMap is automatically enabled for all Include queries with zero configuration required.

Why ChameleonDB?

vs Traditional Databases

Key Differentiators

  1. Schema as First-Class Artifact: Versioned, immutable, hash-verified
  2. Runtime Governance: Integrity Modes enforced by the system
  3. Zero-Config Vault: Auto-initializes, works out of the box
  4. Complete Audit Trail: Append-only, never deleted
  5. Explicit Authority: Mode upgrades require password

Current Status

ChameleonDB v1.0-alpha is now available for early adopters. Your feedback shapes the product.

Available Now (v1.0-alpha)

Schema Governance:
  • ✅ Schema Vault (versioned, hash-verified)
  • ✅ Integrity Modes (readonly/standard/privileged/emergency)
  • ✅ Password-protected mode upgrades
  • ✅ Automatic integrity verification
  • ✅ Append-only audit trail
  • ✅ Migration recovery (retry failed migrations)
Query System:
  • ✅ Schema parser and type checker
  • ✅ Query builder with filters
  • ✅ Field projection (.Select())
  • ✅ Eager loading (.Include())
  • ✅ Nested includes
  • ✅ IdentityMap (object deduplication)
  • ✅ Debug mode (.Debug())
Tooling:
  • ✅ CLI tools (init, migrate, verify, status)
  • ✅ Rich error messages with suggestions
  • ✅ PostgreSQL migration generator
  • ✅ Database introspection (PostgreSQL)
  • ✅ 300+ tests (unit + integration)

Coming Soon

  • v1.1 (March 2026): Schema Vault rollback, Transaction support, Batch operations
  • v1.2+ (Q2 2026): Additional backends (MySQL, DuckDB), Code generation, Multi-language support
  • v1.5+ (2027): ML-based query optimization, Visual schema editor, Distributed vault

Community & Support


Built with ❤️ for developers who care about schema integrity