@glinr/create-theauth-app
v0.2.0
Published
Scaffold a TheAuth-powered app in seconds
Maintainers
Readme
@glinr/create-theauth-app
Scaffold a TheAuth app in one command.
npm create theauth-app@latest
# or
pnpm create theauth-app
# or
yarn create theauth-app
# or
bunx @glinr/create-theauth-appYou'll be asked for a project directory, a template, and a database driver. The CLI then writes the project, installs deps, and prints the next commands to run.
Templates
| Template | Status | Stack |
| --- | --- | --- |
| next-saas | available | Next.js App Router · Drizzle · TheAuth auth |
| hono-mcp | available | Hono server · MCP OAuth 2.1 |
| expo-mobile | coming soon | Expo Router · React Native |
Database drivers
better-sqlite3(default): local SQLite, zero setuppg: Postgres (you provide the connection string)
What you get
A working Next.js app with:
createKavachalready wired inlib/auth.ts- Drizzle schema and migrations for the auth tables
- Sign-in / sign-up routes using the prebuilt React components
.env.examplewith the secrets you need to fill in
Next steps
cd my-theauth-app
pnpm install
cp .env.example .env # then set THEAUTH_SECRET
pnpm db:push
pnpm devLinks
- TheAuth repo: https://github.com/glincker/theauth
- Docs: https://docs.theauth.com
License
MIT
