# fomou

> A social proof platform for e-commerce. Verified purchases become real-time onsite notifications for merchants and visitors.

Social proof works. When someone lands on a store and sees that real people are buying right now, hesitation drops and conversion tends to go up. The hard part is doing it well: verified events, fast delivery, privacy-safe copy, and a script that does not wreck the merchant's theme.

Most global tools are built for Western commerce stacks and payment rails. Fomou is what I'm building for Latin America. Brazil is the primary market today, with the product shaped to expand across the region.

## What it does

Fomou turns real purchase activity into live onsite notifications. Think something like "Maria S. from São Paulo just bought via PIX" on a landing page or checkout, plus a merchant dashboard to configure widgets, watch analytics, and moderate what goes out.

Three parts, one pipeline:

- **Pixel** (`fomou.js`). A lightweight browser script visitors see. Live purchase popups on the merchant's site.
- **Platform.** A Next.js dashboard where merchants configure widgets, manage multiple sites, and monitor performance.
- **Backend.** A Go API that ingests webhooks from connected commerce platforms, verifies them, and normalizes everything into one domain model. Background workers handle the heavy lifting: classification, persistence, retries, and projecting data into analytics, live feeds, and widget payloads the pixel can serve fast.

## What I'm trying to get right

A few things matter a lot:

- **Verified, not fake.** Notifications come from real transactions, not copy someone typed into a form.
- **Fast.** A sale should show up on a visitor's screen in seconds, not minutes. The pixel uses an edge bootstrap proxy so delivery stays low-latency.
- **Private by default.** Buyer names and locations get masked before they ever hit a public widget. LGPD-friendly defaults, not an afterthought.
- **Embeddable without breakage.** Widgets run in Shadow DOM so host CSS cannot break layout or skin. Multiple widgets on one page are orchestrated with their own lifecycle instead of fighting each other.

## How it's built

Fomou is a private project, still pre-launch. It's a monorepo with strict boundaries between surfaces:

- **Backend:** Go (Fiber), PostgreSQL, sqlc, background workers for webhook ingestion, normalization, retries, and projections
- **Web:** pnpm + Turborepo, Next.js platform and marketing site, React 19, TanStack Query, Tailwind v4
- **Pixel and edge:** vanilla TypeScript client, Cloudflare Worker bootstrap proxy
- **Embedded admin apps:** Vite SPAs hosted inside commerce platform admin iframes

Same backend, different clients, each with the constraints of where it runs. The Go API owns auth, tokens, and platform orchestration. Embedded surfaces do not call platform APIs directly from the browser.

The north star is simple: help merchants lift conversion with social proof they can trust, at the speed and privacy bar a LATAM launch actually needs.
