{"id":25200716,"url":"https://github.com/aayank13/gpt_chatbot","last_synced_at":"2026-05-10T16:12:37.509Z","repository":{"id":269296010,"uuid":"906976019","full_name":"aayank13/gpt_chatbot","owner":"aayank13","description":"AI chatbot application built with Next.js, leveraging the Vercel AI SDK and OpenAI's GPT model. It provides a modern, responsive interface for users to interact with an AI assistant.","archived":false,"fork":false,"pushed_at":"2024-12-31T17:26:52.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T04:33:37.497Z","etag":null,"topics":["ai","chatbot","nextjs","openai-api","opensource","sdk"],"latest_commit_sha":null,"homepage":"https://gpt-chatbot-aayan.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aayank13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-12-22T13:22:35.000Z","updated_at":"2024-12-31T17:26:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"3823dedd-8a62-44a8-aac4-ae42cf96fc10","html_url":"https://github.com/aayank13/gpt_chatbot","commit_stats":null,"previous_names":["aayank13/gpt_chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayank13%2Fgpt_chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayank13%2Fgpt_chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayank13%2Fgpt_chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayank13%2Fgpt_chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aayank13","download_url":"https://codeload.github.com/aayank13/gpt_chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247238790,"owners_count":20906510,"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":["ai","chatbot","nextjs","openai-api","opensource","sdk"],"created_at":"2025-02-10T04:33:39.467Z","updated_at":"2026-05-10T16:12:32.479Z","avatar_url":"https://github.com/aayank13.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Chatbot\n\n## Description\n\nThis project is an AI chatbot application built with Next.js, leveraging the Vercel AI SDK and OpenAI's GPT model. It provides a modern, responsive interface for users to interact with an AI assistant.\n\n## Features\n\n- Real-time chat interface with streaming responses\n- Integration with OpenAI's GPT model via Vercel AI SDK\n- Responsive design with dark mode support\n- Error handling with modal dialogs\n- Auto-resizing text area for input\n- Modern UI components from shadcn/ui\n\n## Technologies Used\n\n- Next.js 14\n- React 18\n- Vercel AI SDK\n- OpenAI API\n- Tailwind CSS\n- Radix UI components (via shadcn/ui)\n- TypeScript\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n- Node.js (v18 or later)\n- npm or yarn\n\nYou will also need an OpenAI API key.\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/aayank13/gpt_chatbot.git\n    cd gpt_chatbot\n    ```\n\n2. Install dependencies:\n    ```sh\n    npm install\n    # or\n    yarn install\n    ```\n\n3. Create a `.env.local` file and add your OpenAI API key:\n    ```sh\n    OPENAI_API_KEY=your-api-key\n    ```\n\n4. Run the development server:\n    ```sh\n    npm run dev\n    # or\n    yarn dev\n    ```\n\n5. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Usage Guide\n\n- Navigate to the home page to access the chatbot interface.\n- Type your queries into the input field and press Enter or click the send button.\n- View the AI's responses in real-time, with smooth streaming text updates.\n- Use the dark mode toggle to switch between light and dark themes.\n\n## Deployment Information\n\nTo deploy the application, you can use Vercel:\n\n1. Push your code to a GitHub repository.\n2. Link the repository to your Vercel account.\n3. Set up the necessary environment variables in the Vercel dashboard.\n4. Deploy the project with a single click.\n\nAlternatively, you can use another hosting provider that supports Next.js.\n\n## Contribution Guidelines\n\nContributions are welcome! To contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix:\n    ```sh\n    git checkout -b feature-name\n    ```\n3. Commit your changes with clear messages:\n    ```sh\n    git commit -m \"Add feature-name\"\n    ```\n4. Push the branch to your forked repository:\n    ```sh\n    git push origin feature-name\n    ```\n5. Create a pull request to the main repository.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- [Vercel AI SDK](https://sdk.vercel.ai/) for providing easy integration with OpenAI.\n- [shadcn/ui](https://ui.shadcn.com/) for modern and accessible UI components.\n- [OpenAI](https://platform.openai.com/) for the GPT model API.\n- All contributors who helped build and improve this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faayank13%2Fgpt_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faayank13%2Fgpt_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faayank13%2Fgpt_chatbot/lists"}