For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quick Start Guide

This quick start guide will have you up and running with ChronDB in minutes, with clear examples for each supported interface.

Step 1: Installation

Choose the installation method that works best for you:

🐳 Using Docker (Simplest)

# Start ChronDB with all protocols enabled
docker run -d --name chrondb \
  -p 3000:3000 \  # REST API
  -p 6379:6379 \  # Redis protocol
  -p 5432:5432 \  # PostgreSQL protocol
  -v chrondb-data:/data \
  avelino/chrondb:latest

🧪 Using JAR File

# Download the latest release
curl -L -o chrondb.jar https://github.com/avelino/chrondb/releases/latest/download/chrondb.jar

# Run ChronDB
java -jar chrondb.jar

🔧 For Clojure Developers

Step 2: Verify Installation

Let's make sure everything is working correctly:

Step 3: Choose Your Interface

ChronDB offers multiple ways to connect. Let's try each one with a simple example:

📡 Using the REST API

The REST API is the most universal interface, accessible from any language with HTTP capabilities.

🔄 Using the Redis Protocol

If you're familiar with Redis, you'll feel right at home:

🗄️ Using the PostgreSQL Protocol

Connect with your favorite SQL tools:

🧩 Using the Clojure API

For Clojure applications, add ChronDB as a dependency:

Then use it in your code:

Step 4: Explore Time Travel Features

Now let's try ChronDB's most powerful feature - time travel:

REST API Time Travel

Redis Protocol Time Travel

PostgreSQL Protocol Time Travel

Clojure API Time Travel

Step 5: Try Branching (Optional)

ChronDB's Git foundation enables powerful branching:

REST API Branching

Clojure API Branching

Next Steps

Congratulations! You've taken your first steps with ChronDB. Here's where to go next:

Need help? Check our FAQ or join our community:

Happy time traveling with ChronDB!

Last updated

Was this helpful?