Skip to content
Arnab0xPublic

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Getting Started

Fork the repository (For first time)

git clone https://github.com/ArnabBCA/ChatGPT.git

Install dependencies:

npm install

Create a new .env.local file in the root folder Add add the following:

GEMINI_API_KEY=(YOUR KEY)

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=(YOUR KEY)
CLERK_SECRET_KEY=(YOUR KEY)

MONGODB_URI=(YOUR KEY)

UPLOADCARE_SECRET_KEY=(YOUR KEY)
NEXT_PUBLIC_UPLOADCARE_PUB_KEY=(YOUR KEY)

MEM0_API_KEY=(YOUR KEY)

NEXT_PUBLIC_MAX_TOKEN_CONTEXT_WINDOW=10000 #ANY VALUE DEFAULT is 10000

NEXT_PUBLIC_ENABLE_MAX_TOKEN_CONTEXT_WINDOW=false #DEFAULT is false

Run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

🌟 Features

✅ Integrated Vercel AI SDK:
✅ Gemini AI
✅ Added memory using mem0.ai
✅ Max Token Contex Window Handling
✅ MongoDB for message Storage
✅ Supports file and image uploads to the AI
✅ Message History and Message persistence
✅ Clerk Authentication
✅ Uploadcare for file uploading and storage
✅ Edit Messages and Regeneration
✅ ChatGPT like UI and Animations
✅ Delete Chat

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages