Security rules and Cloud Functions for Fireplace. The server stores public keys and ciphertext. Message text stays on the devices.
functions/lib/spam-policy.js is not the deployed policy. It queues every report for a person. Operator tools are not included.
Node 22 or newer, Java 21, and the Firebase CLI:
npm ci --prefix firebase
npm ci --prefix functions && npm test --prefix functions
firebase emulators:exec --only firestore,auth --project demo-fireplace "cd firebase && npm test"Some countries restrict importing, keeping, using, or sending encryption software to another country. Check the law that applies to you before you use or share this code.
CONTRIBUTING.md. The AI policy and Contributor License Agreement apply.