ChatJS is a web app first. When you scaffold a new project, the browser experience is the default runtime: local development, production deployments, authentication, model access, and all core product features work on the web without any extra platform wrapper.Documentation Index
Fetch the complete documentation index at: https://chatjs.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
What you get by default
The generated app is a standard Next.js application with the ChatJS product stack already wired in:- App Router-based UI and routes
- Authentication with Better Auth
- Streaming chat, tools, attachments, and projects
- Model gateways and provider configuration
- Production deployment support for Vercel, Docker, and self-hosted environments
Development
The normal development flow is:http://localhost:3000.
For the full setup flow, environment variables, and first-run checklist, see Quickstart.
Production deployment
You can deploy the web app to any environment that supports Next.js. ChatJS documents three common paths:- Vercel for the recommended hosted setup
- Docker for containerized deployment
- Self-hosted for general Node.js platforms
appUrl in chat.config.ts, and that value is also reused by other platform integrations like the desktop app.