Built into FLIN — Not a standalone database
"É flîn nù" — It remembers things

The Database That
Remembers Everything

FlinDB is the embedded database built into FLIN. Zero configuration. Time-travel queries. WAL. Compression. Cloud backups. Just save and it persists.

app.flin — Zero Config Database
// Define your entity
entity User {
    name: text
    email: text @email
    bio: semantic text  // AI-searchable
}

// Save — that's it!
user = User { name: "Juste", email: "[email protected]" }
save user

// Time travel with @
user@-1              // Previous version
user@"2024-01-15"    // State on that date
user.history()       // All versions
Core Features

Everything Built-in

No Docker. No SQL. No migrations. No ORM. No connection strings.

Time-Travel Queries

Query any point in time with @. Every entity maintains complete version history.

Semantic Search

Mark fields as semantic text. Built-in vector embeddings for AI-powered search.

Zero Configuration

Just save and it persists. Database created automatically on first use.

Write-Ahead Log (WAL)

Every operation logged before execution. Automatic crash recovery with log replay.

CRUDD Model

delete = soft (recoverable). destroy = hard (GDPR compliant).

Cloud Backups

Zstd compression + AES-256-GCM encryption. Backup to Google Cloud or Cloudflare R2.

Storage Architecture

The .flindb Directory

Auto-created on first save. Enterprise-grade storage under the hood.

.flindb/ structure
.flindb/
├── wal.log           # Write-Ahead Log
├── data/             # Entity snapshots
├── blobs/            # Content-addressable
├── vectors/          # Embeddings
├── indexes/          # Query indexes
├── schema.json       # Auto-schemas
├── meta.json         # Metadata
└── checkpoint.json   # Checkpoint

Write-Ahead Log

Crash recovery with automatic log replay. Never lose data.

Content-Addressable Blobs

SHA-256 file storage. Automatic deduplication.

Vector Embeddings

Built-in embeddings for semantic text fields. No external service.

Automatic Checkpointing

Periodic snapshots compress the WAL. Faster startup.

See It In Action

Simple FLIN Syntax

queries.flin — Query Examples
// Basic queries
todos = Todo.all
todo = Todo.find(42)
total = Todo.count

// Filtering
active = Todo.where(done == false)
urgent = Todo.where(priority > 5)

// Chained query
results = Product
    .where(category == "electronics")
    .where(price < 1000)
    .order(rating, desc)
    .limit(10)

// Semantic search
results = search "comfortable work chair" in Product by description

// Natural language (AI edition)
result = db.ask("users who signed up last week")
"É flîn nù"

Ready to Build with FLIN?

FlinDB is built into FLIN. Install FLIN and start building full-stack apps with a database that remembers everything.

0
Config Files
Version History
1
File = Full App