I built a self-hosted backend that works with the official Firebase SDKs
说明与用途
Aruma 让你在自己的 VPS 上使用 PostgreSQL 托管后端,同时保持 Firebase SDK 不变。
问题
Developers want to keep using Firebase SDKs but host data on their own server to avoid vendor lock‑in and unpredictable billing.
结果
Aruma allows existing Firebase‑SDK‑based apps to run on a self‑hosted server with PostgreSQL, preserving authentication, Realtime Database, Security Rules, Cloud Storage, and a release‑candidate Firestore implementation.
工作流
- 1. Clone the Aruma repo and build the dashboard and dev server.
- 2. Run the server; it outputs a one‑time setup code.
- 3. Open localhost:8080, enter the code, create an account and a project.
- 4. Download the generated config file and replace the Firebase config in the client app.
- 5. The app now talks to Aruma while using the same Firebase SDKs.
- 6. Verify functionality with official Firebase test suites and real Firebase for parity.
证据
I didn't want emulator mode for this. Emulator mode means adding connect-to-emulator calls to your code, which is exactly the kind of change I was trying to avoid.
The code in your app doesn't change: // Plain Firebase JS SDK. Nothing Aruma-specific here.
Authentication, Realtime Database, Security Rules, Cloud Storage, Firestore (release candidate, more on that below)
If you've thought about leaving Firebase, which service would be the one that blocks you?
- 记录日期: 2026-11-02T07:28:44.839Z