# thecontentmind | Achal Bajpai

- Page: https://achal.works/projects/thecontentmind
- Markdown: https://achal.works/projects/thecontentmind.md

Open-source AI social-media content studio that reached 200+ users. Pick a platform, set tone, audience, and goal, hit generate, and watch three caption variants stream in token-by-token.

## Facts

- Status: live
- Hosted service: on-request
- Built: 2025
- Last shipped: 2025-09-15
- Stack: TanStack Start, TypeScript, PostgreSQL, Drizzle ORM, Better Auth, Nebius AI (Qwen3), OpenAI SDK, Vite, Docker, Tailwind CSS
- Source: https://github.com/achalbajpai/thecontentmind

## What it does

An open-source AI social-media content studio that reached 200+ users. Pick a platform, set tone, audience, and goal, hit generate, and watch three caption variants stream in live, token-by-token. Save the ones you like to a library and "more like this" from there.

Three variants stream in parallel but cost a single quota unit per generate action; quotas are computed from actual rows, not a mutable counter. The AI stream filters out the model's <think> reasoning blocks so the first real token stays sub-second.

Underwent a full framework cutover from Next.js App Router to TanStack Start in stages: database, then auth, then a framework-agnostic service layer, then the framework swap, staying shippable at every step. Runs fully locally: Postgres in Docker, email/password auth, no cloud accounts required.