Skip to main content

hidane 0.6.0 copy "hidane: ^0.6.0" to clipboard
hidane: ^0.6.0 copied to clipboard

A Firestore emulator without Java. Downloads hidane's release binary for your platform on first run, checks its SHA-256 and runs it, for example under firebase emulators:start.

hidane #

hidane (火種, the seed of fire) — a Firestore emulator without Java. A single binary that speaks the official emulator's gRPC, REST and WebChannel protocols, starts in milliseconds and is tested against the official emulator. Not affiliated with Google.

This package is a launcher: the first run downloads hidane's release binary for your platform (macOS arm64 / x64, Linux arm64 / x64, Windows x64) from GitHub Releases, checks its SHA-256 and keeps it in a cache directory.

dart pub global activate hidane

# Under firebase-tools, in place of the official emulator (no Java needed):
hidane exec -- firebase emulators:start --only firestore

# Or on its own:
hidane --host 127.0.0.1 --port 8080
export FIRESTORE_EMULATOR_HOST=127.0.0.1:8080

HIDANE_CACHE_DIR moves the cache; HIDANE_RELEASES_URL points at a mirror of the release files (v<version>/<file>).

What works today, what does not yet (Security Rules), and how parity with the official emulator is checked: https://github.com/hidane-dev/hidane

Licensed under either of the MIT License or the Apache License, Version 2.0, at your option.

1
likes
160
points
585
downloads

Documentation

API reference

Publisher

verified publisherhidane.dev

Weekly Downloads

A Firestore emulator without Java. Downloads hidane's release binary for your platform on first run, checks its SHA-256 and runs it, for example under firebase emulators:start.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#firestore #firebase #emulator #testing

License

Apache-2.0, MIT (license)

Dependencies

crypto

More

Packages that depend on hidane