Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM ...

@show

Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM firenook.dev · 2 points · 0 comments · HN thread

TL;DR Firenook is a new open-source Rust reimplementation of the Firebase emulators, distributed as one npm package with no Java requirement. The author reports on its site that on a two-hour real-app benchmark it used 2.11 GiB peak memory versus 22.57 GiB for the official emulator, and answered median writes in 5.1 ms versus 208 ms. The story has 2 points and no comments yet.

  • Replaces the Firestore, Auth, Storage, Functions, Extensions, Pub/Sub, Cloud Tasks and Eventarc emulators with native Rust services; Realtime Database, Hosting, App Hosting and Data Connect are not emulated.
  • Claimed drop-in use: install the npm package, change firebase emulators:start to firenook emulators:start, keeping firebase.json, ports, SDKs and rules.
  • Benchmark on a 211,205-document production app: peak memory 2.11 GiB vs 22.57 GiB, median write 5.1 ms vs 208 ms, CPU time 616 s vs 1,586 s over two hours on one server.
  • --keep-data restores millions of documents in about 0.5 s, versus roughly 22 to 31 s for the official import on start.
  • Includes a web console on the Emulator UI port with function call history, rules decisions, an Auth email inbox, and an MCP server so coding agents can query logs and rules.
  • Apache 2.0 licensed, independent of Google, supports Node 22, 24 or 26 and macOS, Linux (glibc 2.28+) or Windows x64.

Links in the post

Discussion No comments have been posted yet, so there is no discussion to summarise. The story has 2 points and was submitted as a Show HN launch by the author, who asks for people to try it on their projects and report differences from the official emulator.

#firebase #rust #emulators #devtools #showHN #nodejs