Skip to content
Work

Real-time application

Live

Koguko

A text-first random chat application with FIFO matchmaking, typed WebSocket messages, resilient connections, and no ordinary chat-history retention.

Role

Creator · Full-stack engineering

Status

Live

Stack

Next.js
Bun
WebSockets
SQLite
AWS

Links

231

Backend tests

None

Ordinary history retained

AES-GCM

Moderation context encryption

Data boundary

Normal conversations stay in memory

Koguko matches people through a FIFO queue and does not retain ordinary chat history. Normal conversations are ephemeral; reports and severe safety flags retain only bounded moderation context.

Realtime system

Connection state is explicit

The Bun HTTP/WebSocket server uses typed discriminated-union messages, heartbeat and PONG checks, reconnect handling, and graceful drain behavior.

Moderation and operations

The smaller persistent plane is encrypted and bounded

Persisted moderation context uses AES-GCM encryption, hashed-IP bans, and retention sweeps. The deployment runs on AWS behind Caddy and systemd, with WAL-checkpointed SQLite backups and 231 backend tests.

Next project

Lentra AI

Production fintech systems across document processing, ingestion, dashboards, and frontend infrastructure.