Project 01 · 2026
TENJI
A messaging app for one real community, built so that the server stores conversations it cannot read.
Today
Ada
Build is up. Try sending the file again.
23:04
23:05
TENJI is a chat application for a small, closed community: one shared room, direct messages, photos, voice notes, short clips and file attachments. I wrote the client, the relay, the security rules and the release tooling, and I have shipped it as three Android APKs and a Windows build from one Flutter codebase.
The constraint that shaped it was privacy. Every conversation has its own symmetric key, wrapped separately for each member's device, so a message is sealed before it reaches Firestore and only the devices in that room can open it. When a member is added, the key is rolled forward rather than shared again.
Attachments needed a different road. A Cloudflare Worker reads a request body into memory, which puts a hard ceiling on anything proxied through it, so the relay checks membership and then mints a signed upload URL; the client streams the file from disk straight to storage. The message row carries only the object's path, its size and the name the sender chose, and the rules pin that shape so a hand-written client cannot point a row at somebody else's object.
The unglamorous half was making it stay working. Push notifications, an in-app update path that verifies a hash before handing the download to the system installer, and a relay that forgets a device token once Firebase reports it retired — each of those came from a failure someone actually hit.
- Role
- Sole developer
- Platforms
- Android 7+, Windows 10+
- Client
- Flutter, Dart
- Services
- Firebase Auth, Cloud Firestore, Cloudflare Workers, Supabase Storage, FCM
- Encryption
- Per-conversation keys, wrapped per device
- Release
- One command: three APKs, Windows build, installer, hashes