{"id":13410223,"url":"https://github.com/polyfact/polyfire-chat-next-ts-boilerplate","last_synced_at":"2026-01-28T10:16:31.091Z","repository":{"id":192023965,"uuid":"685900613","full_name":"polyfact/polyfire-chat-next-ts-boilerplate","owner":"polyfact","description":"Customizable chatbot template powered by Polyfact SDK. Craft a unique Assistant experience, tailored and relevant like never before.","archived":false,"fork":false,"pushed_at":"2023-11-21T11:10:56.000Z","size":584,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-15T07:18:11.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/polyfact.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}},"created_at":"2023-09-01T09:11:35.000Z","updated_at":"2024-07-15T07:18:11.746Z","dependencies_parsed_at":"2023-11-21T11:32:38.073Z","dependency_job_id":null,"html_url":"https://github.com/polyfact/polyfire-chat-next-ts-boilerplate","commit_stats":null,"previous_names":["kevin-btc/polyfact-chat-nextjs-boilerplate","polyfact/polyfact-chat-nextjs-boilerplate","polyfire-ai/polyfact-chat-nextjs-boilerplate","polyfire-ai/polyfire-chat-next-ts-boilerplate","polyfact/polyfire-chat-next-ts-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polyfact%2Fpolyfire-chat-next-ts-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polyfact%2Fpolyfire-chat-next-ts-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polyfact%2Fpolyfire-chat-next-ts-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polyfact%2Fpolyfire-chat-next-ts-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polyfact","download_url":"https://codeload.github.com/polyfact/polyfire-chat-next-ts-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243600703,"owners_count":20317320,"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":[],"created_at":"2024-07-30T20:01:05.615Z","updated_at":"2026-01-28T10:16:31.024Z","avatar_url":"https://github.com/polyfact.png","language":"TypeScript","funding_links":[],"categories":["Boilerplates"],"sub_categories":[],"readme":"# 🤖 polyfire-chat-nextjs-boilerplate\n\nJumpstart your chat experience with the Polyfire SDK, elegantly integrated into a Next.js project and beautifully styled using styled-components! Enjoy the robustness of TypeScript in your Next.js development.\n\n## 📌 Table of Contents\n\n- [🌟 Features](#-features)\n- [🔧 Prerequisites](#-prerequisites)\n- [🚀 Installation](#-installation)\n- [🖥 Usage](#-usage)\n- [🎨 Color Picker for Development](#-color-picker-for-development)\n- [💬 Using polyfire-cli](#-using-polyfire-cli)\n- [🔑 Scripts](#-scripts)\n- [📚 Dependencies](#-dependencies)\n- [🥞 Stack](#-stack)\n- [✨ Contributing](#-contributing)\n- [📜 License](#-license)\n\n## 🌟 Features\n\n- Seamless integration with the Polyfire SDK to empower chat functionalities.\n- Pre-defined themes for chat, header, and footer, easily adjustable.\n- Built with the flexible and efficient Next.js framework.\n\n## 🔧 Prerequisites\n\n- Node.js\n- npm/yarn\n\n## 🚀 Installation\n\n1️⃣. Clone the repository:\n\n```bash\ngit clone https://github.com/kevin-btc/polyfire-chat-nextjs-boilerplate.git\n```\n\n2️⃣. Navigate to the project directory:\n\n```bash\ncd polyfire-chat-nextjs-boilerplate\n```\n\n3️⃣. Install dependencies:\n\n```bash\nnpm install\n```\n\n## 🖥 Usage\n\n1️⃣. Start the development server:\n\n```bash\nnpm run dev\n```\n\n2️⃣. Open `http://localhost:3000` to interact with your chatbot!\n\n## 🎨 Color Picker for Development\n\nIn the development environment, a color picker tool is available to customize the chat UI's color scheme. This intuitive tool allows developers to experiment with different colors in real-time. Once you have chosen the desired colors, simply click the \"Copy Config Color\" button. This will copy the configuration to your clipboard. Then, replace the default color configuration in `src/app/page.tsx` with your new color scheme.\n\n## 💬 Using polyfire-cli\n\nFor a guided setup, use the `polyfire-cli`:\n\n1️⃣. Launch the CLI:\n\n```bash\nnpx polyfire-js\n```\n\n2️⃣. Choose \"chat\".\n3️⃣. Follow the prompts for an easy setup.\n\n## 🔑 Scripts\n\n- `npm run dev`: Start a local development server.\n- `npm run build`: Prepare your project for production.\n- `npm run preview`: View the production build.\n\n## 📚 Dependencies\n\n- Core: `next`, `react`, `react-dom`\n- Chat: `@polyfire/chat`, `polyfire`\n- Icons: `phosphor-react`\n- Dialog: `@radix-ui/react-dialog`\n- Types: `typescript`\n\n## 🥞 Stack\n\n- Next.js\n- TypeScript\n\n## ✨ Contributing\n\nGot ideas? 🤔 Found a bug? 🐞 Join our community! Visit [issues](https://github.com/polyfire-ai/polyfire-chat-nextjs-boilerplate/issues) to get started.\n\n## 📜 License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n---\n\nEnjoy using polyfire-chat-nextjs-boilerplate? Give us a ⭐ on GitHub!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyfact%2Fpolyfire-chat-next-ts-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolyfact%2Fpolyfire-chat-next-ts-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyfact%2Fpolyfire-chat-next-ts-boilerplate/lists"}