Client-side only: this playground runs in your browser. Firebase keys stay in sessionStorage on this tab — we never send or store them on our servers.

Your Firebase, in this tab

The playground instantiates new Refirebase() locally so you can run Auth, Firestore, Realtime, and Storage snippets against your project.

lib/refirebase.ts
import { Refirebase } from 'refirebase';

const { db, auth } = new Refirebase({
  apiKey: '...',
  authDomain: '...',
  projectId: '...',
  storageBucket: '...',
  messagingSenderId: '...',
  appId: '...',
});