{"id":29719471,"url":"https://github.com/phlearning/nextjs-chatbot","last_synced_at":"2026-05-17T00:08:30.428Z","repository":{"id":282404275,"uuid":"948463135","full_name":"phlearning/nextjs-chatbot","owner":"phlearning","description":"A modern, responsive AI chatbot built with Next.js, featuring real-time responses and conversation history management.","archived":false,"fork":false,"pushed_at":"2025-03-14T12:16:22.000Z","size":4152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-24T14:03:08.128Z","etag":null,"topics":["chatbot","gemini","nextjs"],"latest_commit_sha":null,"homepage":"https://nextjs-chatbot-phi-three.vercel.app/","language":"TypeScript","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/phlearning.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,"zenodo":null}},"created_at":"2025-03-14T11:36:01.000Z","updated_at":"2025-03-28T16:18:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"6be09c04-e681-4d03-a1c9-12e163a2296d","html_url":"https://github.com/phlearning/nextjs-chatbot","commit_stats":null,"previous_names":["phlearning/nextjs-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phlearning/nextjs-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlearning%2Fnextjs-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlearning%2Fnextjs-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlearning%2Fnextjs-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlearning%2Fnextjs-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phlearning","download_url":"https://codeload.github.com/phlearning/nextjs-chatbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlearning%2Fnextjs-chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001983,"owners_count":26083243,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chatbot","gemini","nextjs"],"created_at":"2025-07-24T11:44:12.308Z","updated_at":"2025-10-09T19:05:09.912Z","avatar_url":"https://github.com/phlearning.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js AI Chatbot\n\nA modern, responsive AI chatbot built with Next.js, featuring real-time responses and conversation history management.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"public/example_chatbot.png\" alt=\"Example Chatbot\" width=\"80%\" style=\"max-width: 800px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);\" /\u003e\n\u003c/div\u003e\n\n## Features\n\n- 💬 Real-time AI chat interface\n- 📱 Responsive design with collapsible sidebar\n- 📝 Chat history management\n- 🔄 Loading states and error handling\n- 🎨 Sleek UI using Tailwind CSS and Shadcn UI components\n\n## Demo\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"public/demo_chatbot.gif\" alt=\"Chatbot Demo\" width=\"80%\" style=\"max-width: 800px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);\" /\u003e\n\u003c/div\u003e\n\n## Technologies Used\n\n- **Frontend**: Next.js, React, TypeScript\n- **Styling**: Tailwind CSS, Shadcn UI\n- **State Management**: Custom hooks with React useState\n- **Icons**: Lucide React\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18 or later\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/phlearning/nextjs-chatbot.git\ncd nextjs-chatbot\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n# or\nyarn install\n```\n\n3. Create a `.env` file in the project root and add your API key (or modify the .env.example into .env and adjust with your key):\n\n```env\nGEMINI_API_KEY=your_gemini_api_key_here\n```\n\n### Running the Application\n\nTo start the development server, run:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nOpen your browser and navigate to `http://localhost:3000` to see the application in action.\n\n### Building for Production\n\nTo build the application for production, run:\n\n```bash\nnpm run build\n# or\nyarn build\n```\n\nThis will create an optimized production build in the `.next` directory.\n\nTo start the production server, run:\n\n```bash\nnpm start\n# or\nyarn start\n```\n\nMake sure to set the necessary environment variables in your hosting environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlearning%2Fnextjs-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphlearning%2Fnextjs-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlearning%2Fnextjs-chatbot/lists"}