Note
This repository is no longer maintained. It holds Umamin's source as of v7.29.0, under GPL-3.0. Umamin is now developed privately, so issues and pull requests are closed here. Umamin itself lives at www.umamin.app.
This monorepo hosts two open-source apps for anonymous communication:
- Umamin — www.umamin.app — the main social platform: a profile-based inbox for sending and receiving encrypted anonymous messages. Built with TanStack Start and Hono on Cloudflare Workers, with Drizzle ORM and Turso/libSQL.
- Umamin Chat — ephemeral, anonymous 1:1 chat: get matched with a stranger who shares your interests. No sign-up, no history, nothing saved. Part of
apps/webat/chat, running on Durable Objects.
This repository no longer accepts issues or pull requests. The steps below still work if you want to run this snapshot yourself.
Apps
| App | Description |
|---|---|
apps/web |
Umamin — anonymous messaging platform & landing page (TanStack Start + Hono, Cloudflare Workers) |
apps/org |
Umamin for Organizations: invite-only anonymous messaging (Next.js on Vercel) |
apps/webis the app that serves www.umamin.app. It replaced the original Next.js build in v7.0.0, which has since been removed — see thelegacy/www-finaltag for its final state. Umamin Chat's original Vite + Convex app (apps/chat) was folded intoapps/webthe same way; its final state is thelegacy/chat-finaltag.
Packages
| Package | Description |
|---|---|
@umamin/db |
Database schema & migrations using Drizzle ORM + Turso/libSQL |
@umamin/org-db |
Database schema & migrations for apps/org |
@umamin/encryption |
AES-GCM encryption/decryption utilities (uses AES_256_GCM_KEY) |
@umamin/ui |
Shared UI components and styling (used by every app) |
Turso CLI— local libSQL server for webNode.js>= 24 ornvmpnpm12, the version pinned inpackage.json(corepack enableinstalls it)
Umamin (web) runs on Cloudflare Workers via
wrangler, which is already a dev dependency — no global install and no Cloudflare account are needed for local development. Workers KV and the rate-limit bindings are emulated locally by Miniflare.
If you're using nvm, you can easily switch to the required Node.js version.
$ nvm use 24 # ignore if you're already on Node.js >= 24
$ pnpm installapps/web splits configuration on one axis: public config is committed, one
file per environment; secrets are never in a .env.* file.
apps/web/.env.development/.env.staging/.env.production— publicVITE_*values, in git. Vite embeds them in the browser bundle, so none is a secret, and Workers Builds builds from a clean clone — the committed file is what the deploy ships.apps/web/.dev.vars— Worker secrets for local dev, gitignored. Copy.dev.vars.example.apps/web/.secrets.staging/.secrets.production— gitignored mirrors of what Cloudflare should hold. Push withpnpm --filter=web secrets:<env>.
# apps/web/.dev.vars — Worker-side (secret)
TURSO_CONNECTION_URL=http://127.0.0.1:8080
TURSO_AUTH_TOKEN= # can be empty for local
AES_256_GCM_KEY=REPLACE_WITH_BASE64_KEY
# Google OAuth (optional)
GOOGLE_CLIENT_ID=YOUR_CLIENT_ID
GOOGLE_CLIENT_SECRET=YOUR_CLIENT_SECRET
GOOGLE_REDIRECT_URI=http://localhost:5173/auth/google/callback# packages/db/.env (for the drizzle-kit CLI)
TURSO_CONNECTION_URL=http://127.0.0.1:8080
TURSO_AUTH_TOKEN= # can be empty for localNon-secret Worker vars and the KV / rate-limit / cron bindings live in
apps/web/wrangler.jsonc, split per environment. Full map, including the
build-only source-map credentials and how to audit what a deploy holds:
apps/web/ENVIRONMENT.md.
We are committed to fostering a welcoming, respectful community. Please read and follow our Code of Conduct when participating in this project.
If you believe you have found a security vulnerability in Umamin, please do not open a public issue on this repository. Opening a public issue could expose sensitive information before it's addressed. Please read our Security Policy for details on how to report a vulnerability.
Umamin is licensed under GPL-3.0.
