Aruma
Aruma is an open-source, clean-room, self-hosted backend that speaks the same protocols as Firebase, so apps can keep using the official Firebase SDKs (JS, Android, iOS, Flutter, Admin) pointed at your own server. It currently supports Authentication, Realtime Database, Cloud Storage, and Cloud Firestore, ships as a single Go binary on PostgreSQL, and is early/not production-ready yet.