Alternative from Firebase?

Is there any firebase alternative that I can use offline? Just like having your own SQL Server on your pc

Hey there,

can you tell us more about your specific needs?
Which parts of Firebase do you need locally?

You can setup many databases (Postgres, MySQL, MongoDB etc.) locally and connect to them.

Not sure what you are looking for, but ObjectBox might be a solution for offline storage: https://objectbox.io/ and synchronization