Type-safe Convex framework with a tRPC-style server API, Drizzle-style ORM, and TanStack Query client integration.
Note:
better-convexhas been renamed tokitcn.
- cRPC procedure builder (
kitcn/server) - Drizzle-style ORM for Convex (
kitcn/orm) - React + TanStack Query integration with real-time updates (
kitcn/react) - Next.js server helpers for RSC/auth (
kitcn/auth/nextjs,kitcn/rsc) - Better Auth adapter utilities (
kitcn/auth,kitcn/auth/client,kitcn/auth/config,kitcn/auth/http) - CLI metadata/codegen/runtime analysis helpers (
kitcnbin)
bun add convex kitcn zod @tanstack/react-queryThen follow:
bun install
bun typecheck
bun run test
bun run lintThe canonical reference app lives in:
It demonstrates current best-practice usage across auth, cRPC, ORM, HTTP routes, and TanStack Query.