Skip to content

Repository files navigation

Claudius

I'm building my own Claude-based chatbot, powered by MongoDB.

A personal Claude-style chat app for authorized users with a capped public guest tier. Built as a learning project and the subject of a published article series. Not commercial. Hosted at askclaudius.dev.

Stack

Next.js 16 App Router with Turbopack (TypeScript strict), Auth.js v5, MongoDB Atlas (app data, LangGraph checkpoints, Vector Search), LangGraph JS, AWS Bedrock (Claude via cross-region inference), Vercel AI SDK, Voyage AI embeddings, Tavily web search, Vercel Blob, deployed on Vercel alongside a Railway worker.

Development

Requires Node 22 or newer.

npm install
cp .env.example .env.local   # fill in the required values
npm run dev

Open http://localhost:3000.

Scripts

  • npm run dev — start the Next.js app in development mode
  • npm run build — production build
  • npm run check — typecheck + lint + tests + production build across all workspaces; the gate that must pass before any work is called done
  • npm run test — Vitest run
  • npm run typecheck — TypeScript check across workspaces
  • npm run lint — ESLint across workspaces

Repo layout

packages/
  app/         Next.js App Router (the deployed web app)
  shared/      Shared library (db client, schemas, env validation, tiers)
specs/         Phase specs — read-only scope contracts

Phases

The build is staged across five phase specs in specs/. Each phase's scope is locked by its spec; conventions and invariants live in CLAUDE.md. Current phase: Phase 0 — Foundations.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages