A chat application built with Next.js, Clerk, and the Vercel AI SDK.
- Authentication with Clerk
- AI Chat powered by Vercel AI SDK
- Modern UI with Tailwind CSS and Radix UI components
- TypeScript support
Create a .env
file in the root directory with the following variables:
# Clerk Authentication
CLERK_SECRET_KEY=your_clerk_secret_key
CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
# OpenAI (or your chosen AI provider)
OPENAI_API_KEY=your_openai_api_key
# Optional: Analytics, etc
- Clone the repository
git clone https://github.com/yourusername/tunatalk.git
cd tunatalk
- Install dependencies
npm install
- Set up environment variables
cp .env.example .env
# Edit .env with your values
- Start the development server
npm run dev
Your app should now be running on localhost:3000.
npm run dev
- Start development servernpm run build
- Build for productionnpm run start
- Start production servernpm run lint
- Run linting
MIT