Live

Anonysea

Anonymous chat where you get a new random identity in every thread, with private 1:1 chats, automatic image location-data stripping and moderation.

Visit the site

The Anonysea landing page in Hebrew: “Speak freely. Stay no one.”

The problem

Anonymous communities tend to fail in one of two ways. Either a stable username lets readers connect every post back to one person, so nobody is really anonymous, or there is no identity and no moderation at all, and the place turns toxic.

What I built

Anonysea is a mobile-first anonymous chat app with one twist: you get a different random pseudonym in every thread you post in. Public threads ("Waves") and private one-to-one chats ("Bubbles") both work this way, so nobody can link your posts across threads.

  • Per-thread pseudonyms, stable inside a thread so conversations stay readable.
  • Clean images. Photos are re-encoded to WebP in the browser before upload, which strips EXIF data such as the camera's GPS location.
  • Private media stays private. Images in private chats live in storage that only the two participants can read, served through short-lived signed URLs.
  • Moderation, not anarchy. A reports center, bans, thread locks and an appeal path, with every admin action written to an audit log.
  • Bilingual from day one (Hebrew and English); an admin can add languages without a code change.

Architecture

  1. Landing page: a bilingual Next.js 16 app at the root domain
  2. Chat app: a second Next.js 16 app at the app subdomain, with threads, private chats, notifications and admin
  3. Supabase: PostgreSQL with row-level security, Auth, Storage and Realtime
  4. Realtime through Broadcast: database triggers send hand-picked payloads, so subscribers never see who wrote a message
  5. Coolify: self-hosted deployment with separate production and development environments

The security model

The interesting engineering is in the database. Sensitive tables have row-level security with no direct read access: clients read through safe views and security definer functions that return only what the caller may see. Realtime uses Broadcast instead of row-change subscriptions, because row subscriptions would leak the author's ID to anyone allowed to see the message. Pseudonyms are assigned by a database function that only ever resolves the caller's own name.

A repeatable security review checklist (row-level security, grants, security definer functions) is re-run after every new table, policy or function.

The AI part

Anonysea has no AI features for its users, on purpose. The AI is in how it was built: Claude Code worked from an AGENTS.md that documents the architecture, the security model and the conventions for humans and agents alike, and every database migration goes through the security checklist.

Stack

Next.js 16, TypeScript, Supabase (PostgreSQL, Auth, Realtime, Storage), next-intl, pnpm and Turborepo, Coolify.

My role

Everything: product, design system, database and security model, code and deployment.

Results so far

Live at anonysea.com, with separate production and development environments.

What I'd do differently

Ban evasion is the open problem: a banned user can come back with a new account. I researched device attestation for mobile but have not built it yet. Next time I would design for it from the first version.