Switch from Firebase

Bring your Firebase app, keep your users’ passwords.

One command moves Firestore documents (subcollections included), Auth users with their Firebase password hashes, and Storage files, and turns your security rules into a report of Sovaria equivalents.

What moves

Firestore documents

Every document keeps its path: users/{id}/orders/{id} stays a subcollection of that user.

Users and passwords

Accounts move with your project’s scrypt parameters, so people sign in with the password they already have.

Storage files

Files copied bucket by bucket with their paths.

Security rules, translated

A report maps each rule to public, signed-in, owner-only or a custom policy. Nothing is applied without you.

Three commands

  1. 1

    Export your users

    With the Firebase CLI, plus the password hash parameters from the Firebase console.

    firebase auth:export users.json --format=json --project YOUR_PROJECT
  2. 2

    Check everything, write nothing

    A dry run lists what would move and anything that needs a look.

    sov import firebase --service-account sa.json \
      --auth-export users.json --hash-config hash.json --rules firestore.rules --dry-run
  3. 3

    Import

    Then prove access with a simulation run before you point the app at Sovaria.

    sov import firebase --service-account sa.json \
      --auth-export users.json --hash-config hash.json --rules firestore.rules
    sov sim run --fail-on critical

Everything has a place

FirebaseSovaria
Cloud FirestoreCollections, with the Firestore-style API and live listeners
Firebase AuthAuth: email, magic links, social, phone, MFA, passkeys
Security RulesCollection rules and row-level security, checked by simulation
Cloud StorageStorage buckets with per-folder rules and signed URLs
Cloud FunctionsFunctions in Python, JavaScript, TypeScript or Go
Cloud MessagingPush notifications (FCM and APNs) with templates and audiences
App CheckApp attestation: Play Integrity, App Attest, DeviceCheck
CrashlyticsCrash reporting, grouped into issues
Remote ConfigNot built in yet: use a table with a rule and a live listener
SQLPostgres in the same project, joinable with your documents

Questions

Do my users need to reset their passwords?

No. Sovaria checks Firebase’s modified scrypt hashes with your project’s parameters, so existing passwords keep working.

Are my security rules applied automatically?

No. You get a report with the Sovaria equivalent of each rule; you add them yourself and check them with simulation.

Can I keep my Firestore code?

The SDK has a Firestore-style API for collections, documents and listeners, so most data code changes only its import and initialisation.

Start building on Sovaria

A free project takes a minute. Your data stays behind rules from the first request.