Download · release 0.2.0

Download fennecdb

fennec studio, an app that makes, opens and serves a database on your Mac, Windows or Linux machine with the server inside it. Or the two programs for the command line, fennec-server and fennec, and a package for each language that reaches them.

fennec studioBETA

for Mac · Apple siliconWindows · x64 and arm64Linux · x64 and arm64 · release 0.2.0

Make a database, open one, serve it to your apps, back it up, or connect to a server, with no server of your own to start.

Download for Mac.dmg · 24 MB · Apple silicon
  • fennec-server and fennec inside
  • In SHA256SUMS
  • Tokens in the Keychain

Not signed by Apple. The first time you open it, macOS says “Not Opened”: press Done, not Move to Trash, which deletes the app. Then in System Settings › Privacy & Security click Open Anyway and confirm with your password. After that it opens as any app does.

Or in one line, with nothing to click through:

curl -fsSL https://fennecdb.com/install.sh | sh -s -- --app

For Windows, the .zip, and Linux, the .tar.xz (x64; arm64 on the release). On an Intel Mac the same studio comes in the server, fennec-server --studio, and runs in your browser on the Playground.

Make a database, open one, serve it to your apps, back it up, or connect to a server, with no server of your own to start.

Download for Windows.zip · 49 MB · x64
  • fennec-server and fennec inside
  • In SHA256SUMS
  • No administrator

Not signed. Unzip it and start fennec-studio\bin\launcher.exe. The first time, SmartScreen stops it once: More info, then Run anyway. Where Smart App Control is on, it refuses unsigned programs outright: use the line below.

Or in PowerShell, with nothing to click through and a Start-menu shortcut:

& ([scriptblock]::Create((irm https://fennecdb.com/install.ps1))) -App

Windows 10 and 11. On an arm64 machine, the arm64 zip; the line above takes your processor's. Or with nothing installed: the Playground, or fennec-server --studio.

Download for Linux.tar.xz · 37 MB · x64
  • fennec-server and fennec inside
  • In SHA256SUMS
  • No sudo

Needs glibc 2.38 and WebKitGTK 4.1: Ubuntu 24.04, Debian 13, Fedora 39 and later; not Ubuntu 22.04 or Debian 12. Unpack it and start fennec-studio/bin/launcher.

Or in one line, which asks for what the app needs first and adds it to your applications menu:

curl -fsSL https://fennecdb.com/install.sh | sh -s -- --app

On an arm64 machine, the arm64 tarball; the line above takes your processor's. Or with nothing installed: the Playground, or fennec-server --studio.

On a Mac with Apple silicon: fennec studio's .dmg, 24 MB.

fennec studio: the collections on the left with their row counts and a collection's fields and indexes, 100 000 orders in a grid with counts by status and owner above it, and one row unfolded on the right, its json field as a tree and its vector summarised
A file's window is the server's own studio: 100 000 orders, counted by their @hash fields, one row unfolded.

Or the command line

One command puts fennec-server and the shell fennec in your home directory, with no sudo. The studio is in the server: start it with --studio.

macOS on Apple silicon and Intel · arm64 and x86_64

curl -fsSL https://fennecdb.com/install.sh | sh

Puts fennec-server and fennec in ~/.fennecdb/bin and edits no shell file: it prints the line that puts them on your PATH. Read it before it runs: install.sh.

Homebrew

brew install fennec-db/tap/fennecdb

The release's own binaries, checked against their SHA-256. brew upgrade fennecdb takes the next release.

A tarball

aarch64-apple-darwinx86_64-apple-darwin

A folder holding the two programs: nothing needs installing, run them from there.

Linux on arm64 and x86_64 · static binaries, no libc to match

curl -fsSL https://fennecdb.com/install.sh | sh

Puts both programs in ~/.fennecdb/bin, no sudo, and edits no shell file. It needs curl, or a wget that checks certificates.

Debian, Ubuntu · .deb

curl -fLO https://github.com/fennec-db/fennecdb/releases/download/v0.2.0/fennecdb_0.2.0-1_amd64.deb
sudo apt install ./fennecdb_0.2.0-1_amd64.deb

arm64 on an ARM machine. Installs both in /usr/bin and depends on nothing.

Fedora, RHEL · .rpm

curl -fLO https://github.com/fennec-db/fennecdb/releases/download/v0.2.0/fennecdb-0.2.0-1.x86_64.rpm
sudo dnf install ./fennecdb-0.2.0-1.x86_64.rpm

aarch64 on an ARM machine.

Homebrew

brew install fennec-db/tap/fennecdb

The release's own binaries, checked against their SHA-256.

A tarball

x86_64-unknown-linux-muslaarch64-unknown-linux-musl

A folder holding the two programs: run them from there.

Windows 10 and 11, Windows Server 2016 and later · x86_64 and arm64 · PowerShell 5.1 or 7

irm https://fennecdb.com/install.ps1 | iex

Installs fennec-server.exe and fennec.exe in %LOCALAPPDATA%\fennecdb\bin, with no administrator. It touches no profile and no PATH: it prints the line that puts the folder on this session's PATH.

From 0.2.0 on, each release carries a Windows build for x86_64 and one for arm64, and the script takes your processor's: from a release that lists none for it, it names the missing file and installs nothing.

The zip

x86_64-pc-windows-msvcaarch64-pc-windows-msvc

Not signed. Check its sum, then Unblock-File it before you unpack it, or SmartScreen warns of a program in it.

Anywhere Docker runs · amd64 and arm64 · fennec-server alone, 8 MB on amd64

export FENNEC_HTTP_TOKEN=$(openssl rand -hex 32)
docker run -d --name fennecdb -v fennecdata:/data \
  -p 127.0.0.1:8080:8080 -e FENNEC_HTTP_TOKEN \
  ghcr.io/fennec-db/fennec-server:0.2.0

No shell and no libc in the image. Its data lives in /data, kept here in a volume. A container listens beyond localhost, so the server asks for a token of 32 bytes or more. Run it in a container has the rest.

fennec studio, the app

A window on the studio a fennec-server serves. The app starts the server it carries, one for each file, and shows that server's own /_studio/, so the window does what the studio does in a browser. Nothing of a database is written by the app itself.

The flags are the ones the app starts a window's server with, in their order; --sync is the file's own setting, 250 ms by default. The token goes in the server's environment, never on its command line, so none is drawn. The port is whichever the system picks.
  • A fileFile, Open… or a double-click in Finder. The window is on that file's own server; closing it stops the server once it has written its checkpoint.
  • A new databaseA name and a folder, a first collection if you like, and when a write is safe on disk. The bundled server makes the file.
  • Serve it to your appsA port, this Mac alone or your network, MCP and metrics. The token is kept in the Keychain, never on a command line.
  • ServersEach one served, running or stopped: its statements a second, median answer and connections, how to connect, and its output.
  • BackupsBack up now while it runs, sealed with a key file if you choose; Verify reads the folder as a restore would; Restore… never writes over a file.
  • A saved serverAn address and a token, kept in the Keychain and sent only to that address. The window is on its studio: no CORS to set up.
fennec studio's desktop app, dark: the Databases list with three files, their size, collections, when each was opened and the port two of them are served on, and orders.fennec picked below it, with its rows, collections and dead space, the buttons to open it in the studio, back it up, compact it and reveal it in Finder, and its server's address and settings beside them
The databases on this Mac: what each holds, and which are served.
fennec studio's desktop app, dark: the Servers list with two served databases, and orders.fennec picked: running, its statements a second, median answer, connections and file size, its settings, a curl command to connect with the token left out, and the server's own output
A served database: its numbers, how to connect, and what the server says.
fennec studio's query editor, dark: a get over orders with two parameters, coloured as the docs colour FennecQL, its 200 rows in the grid under it with counts by owner, the status, the time, the rows and the request id beside the tabs, and the saved and past queries on the right
A query with its parameters, its rows, and the request id to find it in the logs.

The studio without the app

In any fennec-server

Off by default. Start the server with --studio, open /_studio/ on its address and paste a token.

fennec-server --file data.fennec --studio

Embedded in the binary: 75 KB of JavaScript and CSS at first load, gzipped.

In your browser, now

The Playground is the same studio over a database in your own tab: nothing to install, nothing sent anywhere.

Open the Playground

No new authority

Wherever it runs, the studio reads and writes with the token it is given, over the same HTTP every client uses. Keep it on a private network or behind your own sign-in.

Security · The studio, in full

What the one command does

It asks GitHub for the latest release over https, checks your machine's tarball before it unpacks anything, and puts the two programs where you can see them. What you watch here is what install.sh prints.

The terminal's lines are install.sh's own, for a first install on an Apple silicon Mac. The checksum is drawn as a bar: the sum is your file's.
  • No sudoYour home directory, and no shell file edited: it prints the PATH line and leaves that to you.
  • Checked before it is unpackedAgainst the release's SHA256SUMS. That sum comes from the same release as the file, so it catches a damaged or cut-short download, not a release someone replaced.
  • Nothing runs till its last lineThe script is functions, started by main "$@" at its end, so a download cut short runs nothing.
  • Gone in one lineTo remove it, delete ~/.fennecdb. To pin a release, FENNEC_VERSION=0.2.0.

What you get

The same engine in each: the app's file, the server's, the shell's, the one in a page and the one in an app on a phone are one format.

fennec studio.app

24 MB the .dmg, Apple silicon

The studio as a Mac app, with fennec-server and fennec inside: nothing else to install.

fennec-server

HTTP and JSON, from every language

The server: one file is one database, with live queries, sync to devices, search, rules and tenants, HTTPS of its own, and the studio with --studio.

fennec

the shell, over a .fennec file

Opens a file and runs FennecQL or SQL's everyday spellings, and imports SQLite and PostgreSQL.

ghcr.io/fennec-db/fennec-server

8 MB the amd64 image; arm64 too

fennec-server alone: no shell, no libc, its data in /data.

@fennecdb/web

353 KB of gzipped WebAssembly with no dependencies

The client, and the database in a page: the same match, typos and facets, offline.

Every way, every machine

Pick the way that suits your machine; each installs the release's own files.

WayGives youOn
fennec studio, the appthe studio in a window, a database made, opened, served or backed up with no server to start; the server and the shell insidemacOS on Apple silicon (beta); the .dmg, or one line with --app
The install scriptfennec-server and fennec, in your home directory, no sudomacOS and Linux, arm64 and x86_64
Windowsthe same two, .exes in your profile, no administrator: the script or the zipWindows 10 and 11, Windows Server 2016 and later; x86_64 and arm64, from 0.2.0 on
Homebrewthe same two, kept up to date by brewmacOS and Linux, arm64 and x86_64
.deb and .rpmthe same two, in /usr/binDebian, Ubuntu, Fedora, RHEL; amd64 and arm64
A tarballthe same two, in a foldermacOS and Linux, arm64 and x86_64
The Docker imagefennec-server alone, 8 MB on amd64anywhere Docker runs, amd64 and arm64
A package for your languagea client for the server, or the database in your appby language, below
From sourcewhatever main is today, the app toowhere Rust builds; the app on a Mac

A package for your language

Every language reaches the server over plain HTTP and JSON. These packages do the typing for you, each on its standard library alone, and Swift, Kotlin and Dart can keep the database in the app.

Python

pip install fennecdb

PyPI · an official client

JavaScript, TypeScript

npm install @fennecdb/web

npm · the client, and the database in a page

Go

go get github.com/fennec-db/fennecdb/integrations/go

an official client, from the repository

.NET

dotnet add package FennecDb

NuGet · an official client

Swift

https://github.com/fennec-db/fennecdb

Swift Package Manager · the product FennecDB, the database in the app

Kotlin, Java

com.fennecdb:fennecdb-android

Maven Central · the AAR; com.fennecdb:fennecdb for the JVM

Dart, Flutter

flutter pub add fennecdb_flutter

pub.dev · or fennecdb in Dart alone

C, C++ on Linux

fennec-ffi-v0.2.0-x86_64-unknown-linux-gnu.tar.gz

on the release, from the one after 0.2.0 · the library, shared and static, fennec.h and pkg-config, x86_64 and aarch64, glibc 2.34+. C on Linux

Rust

fennec-core and fennec-ql from the repository: the engine as a library, with no dependencies. Embedded Rust

Java, PHP, Ruby

Nothing to install: the language's own HTTP client, against the server's OpenAPI document. Your language

React, Cloudflare and LangChain have packages of their own: Integrations.

Check it, or build it

Check a download

curl -LO https://github.com/fennec-db/fennecdb/releases/download/v0.2.0/SHA256SUMS
shasum -a 256 -c --ignore-missing SHA256SUMS
# Linux: sha256sum -c --ignore-missing SHA256SUMS

A release lists every file with its checksum in SHA256SUMS; the release page lists the files.

The app

Its .dmg is in SHA256SUMS too, so the same two lines check it, and the one-line install checks it before it copies anything. It is signed ad hoc, not by Apple: macOS stops it once when it first opens (press Done, never Move to Trash, then Open Anyway in Privacy & Security), and xattr -cr "/Applications/fennec studio.app" does what Open Anyway does.

From source

For a build the releases do not have, clone the repository and build with cargo and make: Build from source.

make studio-desktop
open "integrations/studio-desktop/build/stable-macos-arm64/fennec studio.app"

The app from a checkout, unsigned, with the server and the shell built from the same checkout. It needs Node, npm and Rust, and fetches its build tool into its own directory: nothing is installed globally. An app you build opens as it is (Desktop app).

Installed. Now a first query

  • Quickstart

    Run the server and write a row, from the language you already use.

  • The studio

    Rows, edits, the query editor, live rows and the server's numbers.

  • The shell

    Open a file in fennec and query it, in FennecQL or SQL.

  • Server

    Tokens, durability, limits and containers.