hidane (火種, the seed of fire) — a Firestore emulator without Java.

A single Rust binary that replaces the official Cloud Firestore emulator. No JVM. Starts in milliseconds. Tested for parity against the official emulator.

curl -fsSL https://hidane.dev/install.sh | sh v0.7.0 · macOS · Linux

Installs the latest release in ~/.local/bin, checked against its SHA-256. Homebrew, npm (Windows too), cargo and Docker: Install.

v0.7.0 · Datastore mode; enterprise edition pipelines and BSON types

Why hidane

851 ms · 148 MiB

851 ms to start, 148 MiB idle

In our canonical benchmark environment, the official emulator takes a median 851 ms to open its port and sits at 148 MiB idle. hidane v0.7.0 on the same machine: 2.1 ms and 9.9 MiB.

Source: benchmark result, every sample included
11× slower

Writes slow down as data grows

With a listener attached, the official emulator's batch writes slow down in proportion to the number of documents: 100k documents take 175 s, 11 times as long as without it. hidane is designed so that a commit costs only what it changes: the same 100k documents take 2.2 s, nearly flat per batch.

Source: benchmark result, every sample included

Medians for both emulators on one AWS c7i.xlarge (Ubuntu 24.04, Java 21, firebase-tools 15.33.0), 2026-11-10; methodology in bench/. Context: why hidane.

Works with

Status in v0.7.0: planned not verified verified
gRPCfirebase-admin (Node)verified
gRPC@google-cloud/firestoreverified
gRPCfirebase-js-sdk on Nodeverified
RESTfirebase-js-sdk Liteverified
WebChannelBrowser firebase-js-sdkverified
gRPCGoverified
gRPCPythonverified
gRPCJavaverified
gRPCiOSverified
gRPCAndroidverified
gRPC, RESTDatastore clients (Node, Python, Java, Go)verified
gRPCFlutter (mobile / desktop)not verified
WebChannelFlutter Webverified
filesfirebase-tools export / importverified
rulesSecurity Rulesverified

Verified means the client's results were compared with the official emulator's; not verified means hidane serves its transport but nobody has run that client yet. Which transport each SDK needs: compatibility.

Parity

hidane treats the official emulator as the oracle: its answers are recorded, and the test suite replays every recording against hidane. No claim of compatibility without a test behind it.

So far: 54,378 answers of the official emulator in 78 recordings, each replayed against hidane in CI, and SDK transcripts from both emulators compared side by side (results). How they are counted: docs/parity.md.

AreaTransportsRecorded answersCompared in fullSDK transcripts
Documents & writesgRPC, RESTgRPC, REST10,5099,7982 identical4 documented differences
Queries & aggregationsgRPC, RESTgRPC, REST6,1635,4339 identical
TransactionsgRPC, RESTgRPC, REST2152104 identical3 documented differences
Listen & Write streamsgRPCgRPC1,3531,3504 identical4 documented differences
RESTRESTREST8758701 identical1 documented difference
WebChannelREST, WebChannelREST, WebChannel34312 identical1 documented difference
Security RulesgRPC, REST, WebSocket, in-processgRPC, REST, WebSocket, in-process15,3665,5672 documented differences
Export & importREST, CLIREST, CLI70673 identical
Auth & admin endpointsgRPC, REST, WebChannel, CLIgRPC, REST, WebChannel, CLI1,0801,0141 identical3 documented differences
Values & limitsgRPC, REST, WebChannel, in-processgRPC, REST, WebChannel, in-process485481—
Datastore modegRPC, RESTgRPC, REST18,22818,20118 identical
Total54,37843,02244 identical18 documented differences

Compared in full: answers whose test compares everything the recording keeps (status, message or body, values), masking only what changes from run to run, such as times and IDs. The others are compared on the Security Rules decision and its reasons, in part, or on their status; docs/parity.md breaks them down, test by test. SDK transcripts: the same steps run through an SDK against both emulators; a documented difference is one results/README.md or the parity exceptions explain. Known, intentional differences (80) are listed in parity exceptions.

Roadmap

  1. v0.1

    Server SDKs and native clients: firebase-admin, the Google Cloud libraries, iOS, Android and Flutter, running under firebase-tools.

    v0.1 milestone on GitHub
  2. v0.2

    Security Rules, evaluated once per request as the official emulator decides them: reads, writes, listeners and queries, measured against it case by case, with its compiler warnings, rule coverage reports and debug() output. Released in v0.2.0; v0.2.1 feeds the Emulator UI's request monitor, and @firebase/rules-unit-testing is verified end to end, in Node and in the browser.

    v0.2 milestone on GitHub
  3. v0.3

    Browser clients: firebase-js-sdk in the browser and Flutter Web. Released in v0.3.0: the SDK's own browser test suite passes on hidane as on the official emulator, 1,183 tests in Chromium, and Flutter Web is verified.

    v0.3 milestone on GitHub
  4. v0.4

    Functions triggers: Firestore events delivered to the Functions emulator, v1 and v2, under firebase emulators:start. Released in v0.4.0: the events are recorded from the official emulator and replayed, and functions receive the same data end to end.

    v0.4 milestone on GitHub
  5. v0.5

    Tooling around the emulator: hidane doctor checks a Firebase project before it moves, hidane migrate makes the changes as a diff, hidane benchmark measures your own test command on both emulators, and hidane report collects a redacted diagnostic bundle. Released in v0.5.0, with Testcontainers support in place of the Cloud SDK image.

    v0.5 milestone on GitHub
  6. v0.6

    Enterprise edition: on a database started with --database-edition enterprise, queries, aggregations and listeners follow its semantics, as on the official emulator. Released in v0.6.0, which also refuses the project IDs the official emulator refuses, and verifies iOS and Android against both emulators.

    v0.6.0 release notes on GitHub
  7. v0.7

    Datastore mode: started with --database-mode datastore-mode, hidane answers the Cloud Datastore client libraries for Node.js, Python, Java and Go, GQL and index enforcement included. Released in v0.7.0, which also runs pipelines and stores the BSON types on an enterprise database.

    v0.7.0 release notes on GitHub

Scope, targets and risks: ROADMAP.

Install

Every channel installs the same release binaries: macOS (arm64, x86_64), Linux (arm64, x86_64; static) and Windows (x64).

GitHub ReleasesArchives, checksums, build provenanceavailable
cargo binstallcargo binstall hidaneavailable
Homebrew tapbrew install hidane-dev/tap/hidaneavailable
npmnpm install --save-dev hidaneavailable
pub.devdart pub global activate hidaneavailable
Dockerdocker run -p 8080:8080 ghcr.io/hidane-dev/hidaneavailable
curl | shcurl -fsSL https://hidane.dev/install.sh | shavailable