Private & Proprietary Repository
Pragya.AI is an intelligent mental wellness companion designed to help users express themselves freely, feel heard, and receive comforting, thoughtful responses powered by advanced AI models.
This repository contains the internal source code for the Pragya.AI Web Client — built with Next.js, TypeScript, React, and OpenAI APIs.
This project is NOT open-source.
All code, design, assets, and logic are confidential, owned exclusively by Sayan Chakraborty, and may not be copied, redistributed, or modified without explicit permission.
| Area | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| UI | Custom CSS |
| State | React Hooks |
| AI Backend | OpenAI API |
| Storage | Browser LocalStorage |
| Deployment | Vercel |
- Smooth AI conversations
- “Thinking...” bot placeholder
- Fast, responsive UI
- Gentle mental-wellness tone
- Dynamic suggestion cards
- Clean transitions into chat
- Automatic chat saving
- Load & continue past chats
- Delete individual chats
- “Clear All Chats” button with animated confirmation modal
- Automatic theme persistence
- Smooth transitions
- Custom modal for clearing chats
- Frosted glass + blur sidebar
- Polished button interactions
- Mobile-friendly layout
- Node.js 18+
- npm (or pnpm)
- Git
npm installInside root folder:
.env.local
Add:
OPENAI_API_KEY=your_key_here
npm run devRuns at:
http://localhost:3000
- Push code to private GitHub repo
- Go to vercel.com › New Project
- Import this repo
- Add the environment variable:
OPENAI_API_KEY
- Deploy instantly
- Share the production URL
app/
api/chat/ → Serverless OpenAI route
components/ → UI components
page.tsx → Core chat UI logic
globals.css → Stylesheet
public/ → Icons/assets
© 2025 Sayan Chakraborty
All Rights Reserved.
This repository contains proprietary and confidential material.
Unauthorized copying, distribution, or modification is strictly prohibited.
- Repo must stay private
- Never commit real API keys
- Track upcoming improvements via GitHub Issues
- Tag major releases (v1.0.0, v1.1.0, etc.)
- Voice input
- Mood analytics
- Weekly insights
- User accounts & cloud sync
- Native mobile app
- Premium subscription tier