<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>firenook.dev</title>
  <subtitle>Browse aymeric&#39;s, an independent, searchable archive of readable snapshots from followed feeds, preserved in Git with aggr.</subtitle>
  <id>https://aggr.aymericbeaumet.com/sources/firenook.dev/</id>
  <link rel="alternate" type="text/html" href="https://aggr.aymericbeaumet.com/sources/firenook.dev/"/>
  <link rel="self" type="application/atom+xml" href="https://aggr.aymericbeaumet.com/sources/firenook.dev/atom.xml"/>
  <updated>2026-11-05T13:07:29+00:00</updated>
  <author>
    <name>aymeric&#39;s</name>
  </author>
  <generator version="2.0.0" uri="https://github.com/aymericbeaumet/aggr">aggr</generator>
  <entry>
    <id>urn:aggr:item:4693dec025465067d70b3e248c4725fb5155ed10</id>
    <title type="text">Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM</title>
    <link rel="alternate" type="text/html" href="https://aggr.aymericbeaumet.com/items/hnrss-org/2026-11-05-show-hn-firenook-firebase-emulators-in-rust-40x-faster/"/>
    <link rel="via" type="text/html" href="https://firenook.dev/"/>
    <published>2026-11-05T13:07:29+00:00</published>
    <updated>2026-11-05T13:07:29+00:00</updated>
    <author>
      <name>sanjevirau</name>
    </author>
    <category term="news"/>
    <source>
      <title>Hacker News: Front Page</title>
    </source>
    <summary type="text">Hi HN, we have been developing with Firebase for a long time, and the only way Firebase developers can build apps without directly costing them is using the official Firebase Emulator Suite. However, the issue with this suite is, it&#39;s…</summary>
    <content type="html">&lt;p&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/changelog/0.2.1&quot;&gt;0.2.1 What’s new&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;A faster drop-in replacement for the Firebase Local Emulator Suite&lt;/h2&gt;
&lt;p&gt;Keep your &lt;code&gt;firebase.json&lt;/code&gt;, SDKs and ports, and change one word in your script. No Java to install, and your data survives restarts.&lt;/p&gt;
&lt;p&gt;40×&lt;/p&gt;
&lt;p&gt;faster writes 5.1 ms against 208.2 ms, median&lt;/p&gt;
&lt;p&gt;10×&lt;/p&gt;
&lt;p&gt;less memory 2.11 GiB against 22.57 GiB at peak&lt;/p&gt;
&lt;p&gt;0.59 s&lt;/p&gt;
&lt;p&gt;to restart with your data against 30.8 s&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;code-snippet&quot;&gt;  ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮
  │                                                                                                      │
  │       ▄█                                                                                             │
  │    ▄███▀ ▄     firenook  0.2.0                                                                       │
  │  ▄███▀ ███▄    demo-shop · picking up the data saved just now                                        │
  │  ▀██▀ ███▀     Node 24.20.0 · data in .firenook/state                                                │
  │      █▀▀                                                                                             │
  │                                                                                                      │
  ├─ Start-up ────────────────────────────────────────────────────────────────────────────────── 796 ms ─┤
  │                                                                                                      │
  │  Firestore   ✓ 255 ms  1,207,802 documents                                                           │
  │  Auth        ✓ 255 ms  64,000 users                                                                  │
  │  Storage     ✓ 255 ms  5,400 objects                                                                 │
  │  Functions   ✓ 423 ms  4 functions                                                                   │
  │  Pub/Sub     ✓   0 ms  1 schedule                                                                    │
  │                                                                                                      │
  ├─ ✓ All emulators ready ──────────────────────────────────────────────────────────────────────────────┤
  │                                                                                                      │
  │  Console       http://127.0.0.1:4000/console                                                         │
  │  Ports         Firestore 8080   Auth 9099   Storage 9199   Functions 5001   Pub/Sub 8085   Hub 4400  │
  │                                                                                                      │
  ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯

  ── Logs ────────────────────────────────────────────────────────────────────────────────────────────────

     21:05:40    ✓ checkout        117 ms  http · POST / · 201
     21:05:40    ✓ sendReceipt       6 ms  firestore · orders/qXoV1oOgJ0IILQs5psZP created
                 │ receipt queued   order qXoV1oOgJ0IILQs5psZP · total 36
     21:05:42    ✓ checkout          4 ms  http · POST / · 201
     21:05:42    ✓ sendReceipt       1 ms  firestore · orders/ZskDC6u3kTKSGalf4o5L created
                 │ receipt queued   order ZskDC6u3kTKSGalf4o5L · total 32
     21:05:43    ✕ stripeWebhook     1 ms  http · POST / · 500
                 │ Unhandled error Error: No signatures found matching the expected signature for payload
                 │   at functions/index.js:24:11
                 │ + 9 more lines · open in console


  ────────────────────────────────────────────────────────────────────────────────────────────────────────
     ● running 6s · 5 calls · 1 failed                              o console   r reload   ? keys   q quit
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;code-snippet&quot;&gt;  ╭────────────────────────────────────────────────────────────╮
  │                                                            │
  │       ▄█                                                   │
  │    ▄███▀ ▄     firenook  0.2.0                             │
  │  ▄███▀ ███▄    demo-shop · picking up the data saved jus…  │
  │  ▀██▀ ███▀     Node 24.20.0 · data in .firenook/state      │
  │      █▀▀                                                   │
  │                                                            │
  ├─ Start-up ──────────────────────────────────────── 602 ms ─┤
  │                                                            │
  │  Firestore   ✓ 240 ms  1,207,804 documents                 │
  │  Auth        ✓ 240 ms  64,000 users                        │
  │  Storage     ✓ 240 ms  5,400 objects                       │
  │  Functions   ✓ 299 ms  4 functions                         │
  │  Pub/Sub     ✓   0 ms  1 schedule                          │
  │                                                            │
  ├─ ✓ All emulators ready ────────────────────────────────────┤
  │                                                            │
  │  Console       http://127.0.0.1:4000/console               │
  │  Ports         Firestore 8080   Auth 9099   Storage 9199   │
  │                Functions 5001   Pub/Sub 8085   Hub 4400    │
  │                                                            │
  ╰────────────────────────────────────────────────────────────╯

  ── Logs ──────────────────────────────────────────────────────

     21:05:49    ✓ checkout        115 ms  http · POST / · 201
     21:05:49    ✓ sendReceipt       6 ms  firestore · orders/E…
                 │ receipt queued
                 │ order EYi9LKG7xQ53eLrWktHm · total 36
     21:05:50    ✓ checkout          6 ms  http · POST / · 201
     21:05:50    ✓ sendReceipt       2 ms  firestore · orders/C…
                 │ receipt queued
                 │ order CU0LwsLgczq054BqsEuH · total 32
     21:05:51    ✕ stripeWebhook     1 ms  http · POST / · 500
                 │ Unhandled error Error: No signatures found
                 │ matching the expected signature for payload
                 │   at functions/index.js:24:11
                 │ + 9 more lines · open in console


  ──────────────────────────────────────────────────────────────
     ● running 6s · 5 calls · 1 failed
     o console   r reload   ? keys   q quit
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;code-snippet&quot; data-language=&quot;Shell&quot;&gt;&lt;span class=&quot;syntax-source syntax-shell syntax-bash&quot;&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-shell&quot;&gt;&lt;span class=&quot;syntax-variable syntax-function syntax-shell&quot;&gt;$&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-arguments syntax-shell&quot;&gt; npx firebase emulators:start&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Firenook’s own screen, recorded from 0.2.0 on a demo shop: it starts with the 1.2 million documents, 64,000 users and 5,400 files it kept from its last run, takes two orders, and shows a webhook that fails, with its stack trace.&lt;/p&gt;
&lt;h2&gt;Change one word&lt;/h2&gt;
&lt;p&gt;Same flags, same ports, same export format. Your project stays as it is, and firebase-tools stays for deploying.&lt;/p&gt;
&lt;p&gt;package.json&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;code-snippet&quot;&gt;-  &amp;quot;emulators&amp;quot;: &amp;quot;firebase emulators:start --import ./data&amp;quot;+  &amp;quot;emulators&amp;quot;: &amp;quot;firenook emulators:start --import ./data&amp;quot;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;h3&gt;firebase.json and .firebaserc&lt;/h3&gt;
&lt;p&gt;Read the way the Firebase CLI reads them.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h3&gt;Rules, indexes, Functions&lt;/h3&gt;
&lt;p&gt;Your code and config stay as they are.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h3&gt;Your SDKs&lt;/h3&gt;
&lt;p&gt;connectFirestoreEmulator, FIRESTORE_EMULATOR_HOST and the rest connect unchanged.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h3&gt;Your data&lt;/h3&gt;
&lt;p&gt;Imports and exports the official format, both ways.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Eight emulators, on the ports you already use&lt;/h2&gt;
&lt;p&gt;Your SDKs connect to them as they connect to Google’s: the same hosts, the same ports, the same environment variables.&lt;/p&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/firestore-emulator&quot;&gt;Firestore&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;8080&lt;/p&gt;
&lt;p&gt;Native and web SDKs, realtime listeners, Security Rules, named databases, and the official import and export.&lt;/p&gt;
&lt;p&gt;orders 12 documents&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;XXfs8ZLaWvmMOeaVAcw8&lt;/li&gt;
&lt;li&gt;5XSNbW90qkxiTbqQilu1&lt;/li&gt;
&lt;li&gt;mqr7wc5Vjb6d5y75tfKy&lt;/li&gt;
&lt;li&gt;ijO11GokICQ0ki9Ta4p9&lt;/li&gt;
&lt;li&gt;c0yT9Jkt9NGpiX7HMV9r&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;createdAt&lt;/p&gt;
&lt;p&gt;2026-10-23 13:06:17.872 UTC&lt;/p&gt;
&lt;p&gt;items&lt;/p&gt;
&lt;p&gt;[{ price: 54, qty: 1, sku: &amp;quot;hoodie&amp;quot; }, { price: 28, qty: 1, sku: &amp;quot;tee&amp;quot; }]&lt;/p&gt;
&lt;p&gt;total&lt;/p&gt;
&lt;p&gt;82&lt;/p&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/compatibility#auth&quot;&gt;Authentication&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;9099&lt;/p&gt;
&lt;p&gt;Every operation of the official Auth emulator: password, email link, phone, MFA, passkeys, tenants and blocking functions.&lt;/p&gt;
&lt;p&gt;Users 12&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Amara Abara &lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;mailto:amara@example.com&quot;&gt;amara@example.com&lt;/a&gt; password&lt;/li&gt;
&lt;li&gt;Elif Demir &lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;mailto:elif@example.com&quot;&gt;elif@example.com&lt;/a&gt; password&lt;/li&gt;
&lt;li&gt;Ines Duarte &lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;mailto:ines@example.com&quot;&gt;ines@example.com&lt;/a&gt; password&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/compatibility#storage&quot;&gt;Cloud Storage&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;9199&lt;/p&gt;
&lt;p&gt;The Firebase and Cloud Storage APIs, with Security Rules evaluated natively, &lt;code&gt;firestore.get()&lt;/code&gt; included.&lt;/p&gt;
&lt;p&gt;demo-shop.appspot.com / products 8 files&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;cap.svg image/svg+xml 404 B&lt;/li&gt;
&lt;li&gt;hoodie.svg image/svg+xml 408 B&lt;/li&gt;
&lt;li&gt;mug.svg image/svg+xml 404 B&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/compatibility#functions&quot;&gt;Cloud Functions&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;5001&lt;/p&gt;
&lt;p&gt;HTTP, callable and streaming functions, and every trigger: Firestore, Storage, Auth, Pub/Sub, Eventarc, schedules and task queues. Code reloads on save.&lt;/p&gt;
&lt;p&gt;Function calls 25&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;Function&lt;/th&gt;
&lt;th&gt;Trigger&lt;/th&gt;
&lt;th&gt;Summary&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;Duration&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;13:06:19&lt;/td&gt;
&lt;td&gt;stripeWebhook&lt;/td&gt;
&lt;td&gt;http&lt;/td&gt;
&lt;td&gt;POST /&lt;/td&gt;
&lt;td&gt;500&lt;/td&gt;
&lt;td&gt;1.1 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;13:06:18&lt;/td&gt;
&lt;td&gt;sendReceipt&lt;/td&gt;
&lt;td&gt;firestore&lt;/td&gt;
&lt;td&gt;orders/mzbnHY1n79leG5ioi2nD created&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;1.8 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;13:06:18&lt;/td&gt;
&lt;td&gt;checkout&lt;/td&gt;
&lt;td&gt;http&lt;/td&gt;
&lt;td&gt;POST /&lt;/td&gt;
&lt;td&gt;201&lt;/td&gt;
&lt;td&gt;6.3 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;13:06:18&lt;/td&gt;
&lt;td&gt;sendReceipt&lt;/td&gt;
&lt;td&gt;firestore&lt;/td&gt;
&lt;td&gt;orders/c0yT9Jkt9NGpiX7HMV9r created&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;1.7 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;13:06:18&lt;/td&gt;
&lt;td&gt;checkout&lt;/td&gt;
&lt;td&gt;http&lt;/td&gt;
&lt;td&gt;POST /&lt;/td&gt;
&lt;td&gt;201&lt;/td&gt;
&lt;td&gt;5.0 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/pubsub-emulator&quot;&gt;Pub/Sub&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;8085&lt;/p&gt;
&lt;p&gt;Every RPC over gRPC and HTTP/JSON: push, ordering, filters, dead-letter topics, seek, snapshots and schemas.&lt;/p&gt;
&lt;p&gt;nightlyReport, every day 02:00: next run 2026-10-24 02:00 UTC&lt;/p&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/compatibility#tasks&quot;&gt;Cloud Tasks&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;9499&lt;/p&gt;
&lt;p&gt;Queues for onTaskDispatched, with the official retry and rate-limit behaviour.&lt;/p&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/compatibility#eventarc&quot;&gt;Eventarc&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;9299&lt;/p&gt;
&lt;p&gt;Custom events delivered to onCustomEventPublished, and the Firebase services’ own.&lt;/p&gt;
&lt;h3&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/compatibility#extensions&quot;&gt;Extensions&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;5001&lt;/p&gt;
&lt;p&gt;Extensions from local, vendored or registry sources, offline once vendored.&lt;/p&gt;
&lt;p&gt;The orders, users, files and calls above are from a run of the demo project, as Firenook returned them. Realtime Database, Hosting, App Hosting and Data Connect are not emulated; a &lt;code&gt;firebase.json&lt;/code&gt; that configures them still starts, with a warning. &lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/compatibility&quot;&gt;What each service covers&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Measured on a real application&lt;/h2&gt;
&lt;p&gt;Two hours of a production app’s traffic against each emulator in turn, every operation timed by the client.&lt;/p&gt;
&lt;h3&gt;Memory at peak&lt;/h3&gt;
&lt;p&gt;10× less&lt;/p&gt;
&lt;p&gt;Official&lt;/p&gt;
&lt;p&gt;22.6 GiB&lt;/p&gt;
&lt;p&gt;Firenook&lt;/p&gt;
&lt;p&gt;2.11 GiB&lt;/p&gt;
&lt;h3&gt;Write, median&lt;/h3&gt;
&lt;p&gt;40× faster&lt;/p&gt;
&lt;p&gt;Official&lt;/p&gt;
&lt;p&gt;208 ms&lt;/p&gt;
&lt;p&gt;Firenook&lt;/p&gt;
&lt;p&gt;5.1 ms&lt;/p&gt;
&lt;h3&gt;Listener update, median&lt;/h3&gt;
&lt;p&gt;19× faster&lt;/p&gt;
&lt;p&gt;Official&lt;/p&gt;
&lt;p&gt;209 ms&lt;/p&gt;
&lt;p&gt;Firenook&lt;/p&gt;
&lt;p&gt;11 ms&lt;/p&gt;
&lt;h3&gt;Restart with data kept&lt;/h3&gt;
&lt;p&gt;52× sooner&lt;/p&gt;
&lt;p&gt;Official&lt;/p&gt;
&lt;p&gt;30.8 s&lt;/p&gt;
&lt;p&gt;Firenook&lt;/p&gt;
&lt;p&gt;0.59 s&lt;/p&gt;
&lt;h3&gt;orderBy, limit 20&lt;/h3&gt;
&lt;p&gt;8× faster&lt;/p&gt;
&lt;p&gt;Official&lt;/p&gt;
&lt;p&gt;96.3 ms&lt;/p&gt;
&lt;p&gt;Firenook&lt;/p&gt;
&lt;p&gt;12.0 ms&lt;/p&gt;
&lt;h3&gt;CPU over two hours&lt;/h3&gt;
&lt;p&gt;61% less&lt;/p&gt;
&lt;p&gt;Official&lt;/p&gt;
&lt;p&gt;1,586 s&lt;/p&gt;
&lt;p&gt;Firenook&lt;/p&gt;
&lt;p&gt;616 s&lt;/p&gt;
&lt;p&gt;The app holds 211,205 Firestore documents and 6.7 GB in Storage; both emulators ran on one server. Firenook answered 25 of 26 query shapes faster and tied on the last. &lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/benchmarks&quot;&gt;How it was measured&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Your data stays where you left it&lt;/h2&gt;
&lt;p&gt;Add &lt;code&gt;--keep-data&lt;/code&gt; and Firestore, Auth and Storage come back with all your data in about half a second, even with millions of documents. No export at every stop, no import at every start.&lt;/p&gt;
&lt;p&gt;A crash loses at most the last second of writes, where the official emulator loses everything since its last export. A stop always closes the data cleanly.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;npx firenook emulators:start --keep-data&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Official emulator&lt;/p&gt;
&lt;p&gt;Stop: export, 50–57 s Start: import, 21.6–23.6 s&lt;/p&gt;
&lt;p&gt;Firenook&lt;/p&gt;
&lt;p&gt;Stop, 0.04–0.30 s Start, 0.54–0.57 s&lt;/p&gt;
&lt;p&gt;Stopping with the data saved, then starting again with it, on one time scale. The dim blocks are the spread between the fastest and the slowest runs.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;code-snippet&quot; data-language=&quot;Shell&quot;&gt;&lt;span class=&quot;syntax-source syntax-shell syntax-bash&quot;&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-shell&quot;&gt;&lt;span class=&quot;syntax-variable syntax-function syntax-shell&quot;&gt;$&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-arguments syntax-shell&quot;&gt; npx firenook emulators:exec &lt;span class=&quot;syntax-string syntax-quoted syntax-double syntax-shell&quot;&gt;&lt;span class=&quot;syntax-punctuation syntax-definition syntax-string syntax-begin syntax-shell&quot;&gt;&amp;quot;&lt;/span&gt;node --test checkout.test.mjs&lt;span class=&quot;syntax-punctuation syntax-definition syntax-string syntax-end syntax-shell&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;syntax-meta syntax-function-call syntax-shell&quot;&gt;&lt;span class=&quot;syntax-variable syntax-function syntax-shell&quot;&gt;firenook:&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-arguments syntax-shell&quot;&gt; Starting emulators: auth, functions, firestore, pubsub, storagefirenook functions: Loaded functions definitions from source: checkout, sendReceipt, stripeWebhook, nightlyReport.All emulators ready✔ checkout takes an order (173.227708ms&lt;/span&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-shell&quot;&gt;&lt;/span&gt;&lt;span class=&quot;syntax-meta syntax-post-cmd syntax-shell&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-shell&quot;&gt;&lt;span class=&quot;syntax-variable syntax-function syntax-shell&quot;&gt;ℹ&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;syntax-meta syntax-function-call syntax-arguments syntax-shell&quot;&gt; pass 1ℹ fail 0firenook suite stopped cleanly&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;exit 0 &lt;strong&gt;1.39 s&lt;/strong&gt; from start to stop, the test included&lt;/p&gt;
&lt;p&gt;A run of the demo project’s test through firenook emulators:exec on firenook 0.2.0, with some lines left out.&lt;/p&gt;
&lt;h2&gt;Run your tests against it&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;emulators:exec&lt;/code&gt; starts the suite, runs your command once everything is ready, with the emulator variables set, then stops and passes on the exit code.&lt;/p&gt;
&lt;p&gt;CI gets plain lines, the same ones the official emulator prints, and there is no Java to set up first. Firenook needs only Node 24.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;npx firenook emulators:exec &amp;quot;npm test&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;The console the Firebase emulators should have had&lt;/h2&gt;
&lt;p&gt;Google’s Emulator UI has no page for your Functions, Pub/Sub, Cloud Tasks or Eventarc, only a log. Firenook’s console covers every service it runs, live, on the Emulator UI’s port.&lt;/p&gt;
&lt;p&gt;Every call, with what triggered it, its outcome, its duration and its logs.&lt;/p&gt;
&lt;p&gt;&lt;picture class=&quot;article-picture article-picture-fallback&quot; style=&quot;--image-ratio:16 / 9&quot;&gt;&lt;img src=&quot;https://firenook.dev/_astro/invocations-dark.CWGnqWbs_jxCnL.webp&quot; alt=&quot;The console’s function calls: every call with its time, function, trigger, summary, outcome and duration, one of them a 500&quot; loading=&quot;eager&quot; decoding=&quot;async&quot; fetchpriority=&quot;high&quot; referrerpolicy=&quot;no-referrer&quot; class=&quot;progressive-image&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;p&gt;Light and dark, works offline, sends nothing anywhere. Bookmarks to the official UI’s pages open the matching console page. &lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/console&quot;&gt;Every page of the console&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Give your agent the emulator, not production&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;firenook mcp&lt;/code&gt; gives a coding agent 54 tools over the running suite. It reads the log and each function call with its error, asks the Security Rules why a request is denied, and works with your data. Nothing leaves your machine.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;npx firenook mcp add&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Sets it up for Claude Code, Cursor and VS Code in the project’s own files. Other agents run &lt;code&gt;npx firenook mcp&lt;/code&gt;. &lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;https://firenook.dev/mcp&quot;&gt;How agents use it&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;You&lt;/p&gt;
&lt;p&gt;The Stripe webhook answers 500 on my machine. Why?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;functions_list_calls&lt;/strong&gt; outcome: &amp;quot;failed&amp;quot;&lt;/p&gt;
&lt;p&gt;failed&lt;/p&gt;
&lt;p&gt;500 stripeWebhook http POST /, 1.15 ms at 13:06:19&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;functions_get_call&lt;/strong&gt; id: &amp;quot;e72ca3-25&amp;quot;&lt;/p&gt;
&lt;p&gt;error&lt;/p&gt;
&lt;p&gt;Error: No signatures found matching the expected signature for payload&lt;/p&gt;
&lt;p&gt;at&lt;/p&gt;
&lt;p&gt;functions/index.js:24:11&lt;/p&gt;
&lt;p&gt;headers&lt;/p&gt;
&lt;p&gt;host, connection, content-type, accept, accept-language, sec-fetch-mode, user-agent, accept-encoding, content-length&lt;/p&gt;
&lt;p&gt;body&lt;/p&gt;
&lt;p&gt;{&amp;quot;type&amp;quot;:&amp;quot;checkout.session.completed&amp;quot;}&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;rules_evaluate&lt;/strong&gt; service: &amp;quot;storage&amp;quot;, method: &amp;quot;create&amp;quot;, path: &amp;quot;products/mug.svg&amp;quot;&lt;/p&gt;
&lt;p&gt;verdict&lt;/p&gt;
&lt;p&gt;deny as unauthenticated&lt;/p&gt;
&lt;p&gt;line 9&lt;/p&gt;
&lt;p&gt;allow read, write: if false;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The question is an example. The tool calls and their answers are from a run of the demo project on firenook 0.2.0, as Firenook gave them.&lt;/p&gt;
&lt;p&gt;Firestore&lt;/p&gt;
&lt;p&gt;Read, query, count, write and delete documents&lt;/p&gt;
&lt;p&gt;Authentication&lt;/p&gt;
&lt;p&gt;Manage users, read sign-in codes, mint ID tokens, set claims&lt;/p&gt;
&lt;p&gt;Storage&lt;/p&gt;
&lt;p&gt;List, read, upload, copy, move and delete files&lt;/p&gt;
&lt;p&gt;Functions and logs&lt;/p&gt;
&lt;p&gt;Invoke a function, read each call and the log, replay a call after a fix&lt;/p&gt;
&lt;p&gt;Security Rules&lt;/p&gt;
&lt;p&gt;Ask why a request is denied, test a draft, list denials&lt;/p&gt;
&lt;p&gt;Pub/Sub, Tasks, Eventarc&lt;/p&gt;
&lt;p&gt;Publish, peek, run tasks and schedules now, replay events&lt;/p&gt;
&lt;p&gt;Do I still need firebase-tools?&lt;/p&gt;
&lt;p&gt;Yes, for deploying and everything else the Firebase CLI does. Firenook replaces only the emulators: install it next to firebase-tools and run your emulators with it.&lt;/p&gt;
&lt;p&gt;Does Firenook need Java?&lt;/p&gt;
&lt;p&gt;No. Its services are native code in one npm package, with an engine for macOS, Linux and Windows, and nothing else is downloaded at install or start. Node 22, 24 or 26 runs your Functions, as it does in production.&lt;/p&gt;
&lt;p&gt;Can I go back to the official emulator?&lt;/p&gt;
&lt;p&gt;Yes. Firenook imports and exports the official format. While Firenook runs, export with npx firenook emulators:export ./export, then start the official emulator with --import ./export.&lt;/p&gt;
&lt;p&gt;Which services does it emulate?&lt;/p&gt;
&lt;p&gt;Firestore, Authentication, Cloud Storage, Cloud Functions, Extensions, Pub/Sub, Cloud Tasks and Eventarc. Realtime Database, Hosting, App Hosting and Data Connect are not emulated; a firebase.json that configures them still starts, with a warning.&lt;/p&gt;
&lt;p&gt;Is it ready for my team?&lt;/p&gt;
&lt;p&gt;0.2.0 is the first release for public use. Every release passes conformance replays against the official emulator and packed installs on all five platforms, and Firenook passed a two-hour benchmark against the official emulator on a real application. Commit your lockfile and upgrade on purpose.&lt;/p&gt;
&lt;p&gt;Is it free?&lt;/p&gt;
&lt;p&gt;Yes. Firenook is open source under the Apache License 2.0.&lt;/p&gt;
&lt;p&gt;Is Firenook made by Google?&lt;/p&gt;
&lt;p&gt;No. Firenook is an independent open-source project, not affiliated with or endorsed by Google. Firebase is a trademark of Google LLC.&lt;/p&gt;
&lt;h2&gt;Switch in three steps&lt;/h2&gt;
&lt;p&gt;One package, nothing else to install: Node 22, 24 or 26 on macOS, Linux with glibc 2.28 or newer, or Windows x64. Starting a new project instead? &lt;code&gt;npx firenook init&lt;/code&gt; sets one up.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h3&gt;Install it next to firebase-tools&lt;/h3&gt;
&lt;p&gt;Keep firebase-tools for deploying: Firenook has no deploy or login command.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;npm install --save-dev firenook&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h3&gt;Check your project&lt;/h3&gt;
&lt;p&gt;This reads firebase.json the way the Firebase CLI does, and changes nothing.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;npx firenook init --adopt --dry-run&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h3&gt;Swap the command&lt;/h3&gt;
&lt;p&gt;Same flags and ports, so your app connects as before and your data imports as it is.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;npx firenook emulators:start&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
</content>
  </entry>
</feed>
