CopyPasteChat
A room between your screens
Connecting
approx 0.0 MB / 1000 MB
Guest
Connecting to Firebase...
Local preview - Firebase is not configured This page is viewable, but messages will not sync and sending is disabled. Add your Firebase web app values in the marked FIREBASE_CONFIG block in this file, then publish it.
# global
Messages shared across your devices
Connecting...0 / 2000
Help, storage limits & setup

Storage meter: It sums the character lengths of message data this page has observed, so it is approximate, not a full database inventory. The Firebase console shows the exact usage. Initial chat reads are capped at the latest 250 messages. Since rules allow up to 1,300,000 data characters per record, 250 observed records can show at most about 325 MB; without a server-side aggregate, this page cannot reliably detect total database usage above 500 MB or guarantee emergency cleanup before the 1 GB cap.

Important limits: Database rules cap each message, but cannot cap total database size on Firebase Spark. Firebase throttles writes to about 64 MB/minute; this slows an attacker but does not make filling the 1 GB database impossible. Keeping the link private is the real defense. Do not treat this app as abuse-proof.

Pause: The page toggle is a convenience, not real security; anyone with the link can flip it back. To truly freeze writes, temporarily publish rules with ".write": false and no nested write grants; a parent deny cannot override nested allow rules.

Setup: Create a Firebase project and Realtime Database, copy the web app config into the marked block, then paste and publish the rules printed in the module script. Configure the database URL for your database's region. Test mode expires after 30 days; republishing these rules is the one maintenance step.

Media: Images are resized to at most 1024 px and JPEG-compressed; oversized images and files are rejected. All messages and attachments are public to anyone who can access the database.