AI-powered chat workspace featuring some integrated tools like web search, PDF generation, and more. Built for speed and flexibility.
- Framework: Next.js 14+, TypeScript
- Styling: Tailwind CSS, Framer Motion, Shadcn UI
- AI: Vercel AI SDK (Google, Mistral, Cohere, OpenAI)
- Backend & Auth: Supabase
- Tools: Tavily (Search), Cloudinary (Images)
Before you begin, ensure you have the following installed on your machine:
- Node.js: Version 20.x or later recommended (LTS). Download Node.js
- Git: To clone the repository. Download Git
- npm (comes with Node.js) or yarn / pnpm package managers.
Follow these steps to get a local copy up and running.
Open your terminal and run the following command to clone the repo:
git clone https://github.com/bikash1376/dawn.git
cd dawnNote: Replace the URL with the specific repository URL if different.
Install the project dependencies using npm:
npm install
# or
yarn install
# or
pnpm installCreate a copy of the environment file to set up your keys.
- Create a file named
.envin the root directory. - Add the following variables (you will need API keys from the respective providers):
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# AI Model Providers
GOOGLE_GENERATIVE_AI_API_KEY=your_gemini_key
MISTRAL_API_KEY=your_mistral_key
COHERE_API_KEY=your_cohere_key
OPENAI_API_KEY=your_openai_key
# External Tools
TAVILY_API_KEY=your_tavily_key
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_key
CLOUDINARY_API_SECRET=your_cloudinary_secretStart the local development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
We welcome contributions! usage guide:
- Fork the Project: Click the 'Fork' button at the top right of the repository page.
- Create your Feature Branch:
git checkout -b feature/AmazingFeature
- Commit your Changes:
git commit -m 'Add some AmazingFeature' - Push to the Branch:
git push origin feature/AmazingFeature
- Open a Pull Request: Go to the original repository and click "New Pull Request".
Distributed under the MIT License. See LICENSE for more information.