AI 分析
痛点:Firestore 官方模拟器依赖 Java 21、启动约 0.74 秒、常驻内存约 95MiB,成为本地与 CI 测试中最慢最重的一环。
目标用户:使用 Firebase/Firestore 的 Web、Flutter、Node 开发者及其 CI 流水线负责人(团队规模小、对测试速度和 Java 依赖敏感)。
证据:"the Firestore emulator had become the slowest, heaviest part of my test runs, and firebase-tools 15 made Java 21 a requirement for it" / "hidane ... starts in about 5.5 ms and idles at 7.4 MiB (the official one: 0.74 s and 95 MiB)" / "It's free and open source (MIT OR Apache-2.0), a side project by one person."
变现:开源核心(MIT/Apache)+ 商业增值:托管版 CI 模拟器/一键 GitHub Action(按并发或 CI 分钟计费)、团队版共享测试快照与性能报表、企业支持与私有化部署;亦可作为引流工具销售相邻的 Firestore 测试工具链。
MVP:两周内做「hidane 云 CI 加速」:封装 Docker 镜像 + GitHub Action 模板,一键把现有 firebase emulators:start 替换为 hidane exec,附带启动/内存对照报表和兼容性回归结果页,免费额度 500 分钟/月,超出按量付费。
竞品:Firebase 官方 Firestore Emulator(免费,随 firebase-tools 分发)、gcloud beta emulators / firebase-tools 内置模拟器、@firebase/rules-unit-testing、Docker 化社区镜像(如 firebase-emulator 相关镜像)
摘要:一位独立开发者发布 hidane:用单个 Rust 二进制重写 Firestore 模拟器,启动约 5.5ms、常驻 7.4MiB,对比官方的 0.74s 与 95MiB,并回放 20,224 条官方模拟器请求做兼容性验证,支持 gRPC/REST/WebChannel、安全规则与 Cloud Functions 触发。项目免费开源(MIT OR Apache-2.0),本身尚无付费证据,但其验证的痛点(CI 测试慢、强依赖 Java 21)对 Firebase 团队普遍存在,存在做托管/CI 加速增值的机会。