{"id":23028642,"url":"https://github.com/shubham9528/chat.ai","last_synced_at":"2026-04-08T16:31:05.125Z","repository":{"id":264331847,"uuid":"892661075","full_name":"Shubham9528/Chat.ai","owner":"Shubham9528","description":"Ai powered chat bot for daily use","archived":false,"fork":false,"pushed_at":"2025-01-02T14:25:14.000Z","size":105,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T10:46:07.931Z","etag":null,"topics":["express-js","nodejs","reactjs","rest-api"],"latest_commit_sha":null,"homepage":"https://chat-ai-za82.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shubham9528.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-22T14:33:25.000Z","updated_at":"2025-01-02T14:25:17.000Z","dependencies_parsed_at":"2025-01-02T08:24:46.710Z","dependency_job_id":"d968edbd-f722-4f41-abee-426a51996027","html_url":"https://github.com/Shubham9528/Chat.ai","commit_stats":null,"previous_names":["shubham9528/chat.ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham9528%2FChat.ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham9528%2FChat.ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham9528%2FChat.ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubham9528%2FChat.ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shubham9528","download_url":"https://codeload.github.com/Shubham9528/Chat.ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246885195,"owners_count":20849638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express-js","nodejs","reactjs","rest-api"],"created_at":"2024-12-15T14:11:56.226Z","updated_at":"2026-04-08T16:31:05.118Z","avatar_url":"https://github.com/Shubham9528.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 Chat.ai: Intelligent Conversational AI Chatbot 🚀\n\n## 📋 Project Overview\n\nChat.ai is a cutting-edge conversational AI chatbot powered by advanced language models, designed to provide intelligent and responsive interactions. This full-stack application leverages React for the frontend and Express for the backend, creating a seamless user experience.\n\n![image](https://github.com/user-attachments/assets/524f29bb-43ec-4b12-a2a8-98f56ed0422d)\n\n\n## ✨ Features\n\n- 💬 Real-time conversational interface\n- 🌈 Elegant, responsive UI with gradient backgrounds\n- 📨 Instant message sending and receiving\n- 🔄 Loading indicators for smooth user experience\n- 🛡️ Error handling and user feedback\n- 🤖 AI-powered responses using OpenAI's language models\n\n## 🛠️ Tech Stack\n\n### Frontend\n- React\n- Axios\n- Tailwind CSS\n- Lucide React Icons\n\n### Backend\n- Express.js\n- OpenAI API\n- Body-Parser\n- CORS\n- dotenv\n\n## 📦 Prerequisites\n\n- Node.js (v16+ recommended)\n- npm or Yarn\n- OpenAI API Key\n\n## 🚀 Installation \u0026 Setup\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/yourusername/chatbot-ai.git\ncd chatbot-ai\n```\n\n### 2. Setup Environment Variables\n\nCreate `.env` files in both frontend and backend directories:\n\n#### Backend `.env`\n```env\nOPENAI_API_KEY=your_openai_api_key\nMODEL=gpt-3.5-turbo\nBASE_URL=https://api.openai.com/v1\nBACKEND_PORT_NO=4000\n```\n\n#### Frontend `.env`\n```env\nVITE_BACKEND_URL=http://localhost:4000\n```\n\n### 3. Install Dependencies\n\n#### Backend\n```bash\ncd backend\nnpm install\n```\n\n#### Frontend\n```bash\ncd frontend\nnpm install\n```\n\n## 🏃‍♂️ Running the Application\n\n### Start Backend Server\n```bash\ncd backend\nnpm start\n```\n\n### Start Frontend Development Server\n```bash\ncd frontend\nnpm run dev\n```\n\n## 🔒 Configuration Options\n\n- Adjust `maxTokens` in backend to control response length\n- Modify `temperature` and `top_p` for different AI response behaviors\n- Customize UI in `ChatInterface.jsx`\n\n## 🔍 Key Components\n\n### Frontend (`ChatInterface.jsx`)\n- State management for messages\n- User input handling\n- API communication\n- Responsive UI design\n\n### Backend (`index.js`)\n- Express server setup\n- OpenAI API integration\n- Error handling\n- Environment configuration\n\n## 🛡️ Error Handling\n\n- Graceful error messages\n- Console logging for debugging\n- User-friendly error notifications\n\n## 📝 Potential Improvements\n\n- [ ] Add user authentication\n- [ ] Implement message history persistence\n- [ ] Support multiple AI model selections\n- [ ] Add voice input/output\n- [ ] Create conversation themes/personalities\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📄 License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## 📞 Contact\n\nYour Name - Shubham shinde\nEmail - shubham.shindecs25@gmail.com\nProject Link: https://chat-ai-za82.vercel.app/\n\n## 🙏 Acknowledgements\n\n- OpenAI\n- React\n- Express\n- Tailwind CSS\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham9528%2Fchat.ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubham9528%2Fchat.ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham9528%2Fchat.ai/lists"}