{"id":50752384,"url":"https://github.com/anantgarg/chatbot-builder","last_synced_at":"2026-06-11T02:05:28.079Z","repository":{"id":275734738,"uuid":"927018461","full_name":"anantgarg/chatbot-builder","owner":"anantgarg","description":"Chatbot Builder","archived":false,"fork":false,"pushed_at":"2025-05-15T13:50:08.000Z","size":266,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T14:45:26.310Z","etag":null,"topics":["ai","chatbot","chatgpt","openai"],"latest_commit_sha":null,"homepage":"https://chatbot-builder-test.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/anantgarg.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-02-04T09:08:59.000Z","updated_at":"2025-05-15T13:50:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e0644fa-5024-4977-bbc6-78069befebe9","html_url":"https://github.com/anantgarg/chatbot-builder","commit_stats":null,"previous_names":["anantgarg/chatbot-builder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anantgarg/chatbot-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anantgarg%2Fchatbot-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anantgarg%2Fchatbot-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anantgarg%2Fchatbot-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anantgarg%2Fchatbot-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anantgarg","download_url":"https://codeload.github.com/anantgarg/chatbot-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anantgarg%2Fchatbot-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34178825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["ai","chatbot","chatgpt","openai"],"created_at":"2026-06-11T02:05:26.869Z","updated_at":"2026-06-11T02:05:28.073Z","avatar_url":"https://github.com/anantgarg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chatbot Builder\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Next.js-15.1.3-black\" alt=\"Next.js\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/OpenAI-API-412991\" alt=\"OpenAI API\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Vercel-Deployment-000000\" alt=\"Vercel\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PostgreSQL-Database-336791\" alt=\"PostgreSQL\" /\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\nA modern platform for creating and managing AI-powered chatbots with OpenAI integration. Build custom chatbots with file-based knowledge and optional CometChat integration for real-time communication.\n\n## ✨ Features\n\n- 🤖 Create and manage multiple AI-powered chatbots\n- 📚 Upload files to enhance your bot's knowledge base\n- 🔍 Vector search for accurate and contextual responses\n- 💬 Optional CometChat integration for real-time chat capabilities\n- 🔒 Secure user authentication system\n- 🔑 User-specific OpenAI API keys for privacy and billing control\n\n## 🚀 Deployment on Vercel\n\n### Prerequisites\n\n- [Vercel account](https://vercel.com/signup)\n- [GitHub account](https://github.com/signup)\n- [Neon PostgreSQL database](https://neon.tech) (or any PostgreSQL provider)\n\n### One-Click Deploy\n\nDeploy directly to Vercel with one click:\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fyour-username%2Fchatbot-builder)\n\n### Manual Deployment Steps\n\n1. **Fork the repository**\n   \n   Fork this repository to your GitHub account.\n\n2. **Set up Neon PostgreSQL database**\n\n   - Sign up for a [Neon account](https://neon.tech)\n   - Create a new project\n   - Create a new database (e.g., \"chatbotdb\")\n   - Go to the \"Connection Details\" tab\n   - Copy the connection string (it should look like `postgres://user:password@endpoint/neondb`)\n\n3. **Create a new Vercel project**\n   \n   - Go to [Vercel Dashboard](https://vercel.com/dashboard)\n   - Click \"Add New\" → \"Project\"\n   - Import your forked repository\n   \n4. **Configure environment variables**\n   \n   Add the following environment variables in the Vercel project settings:\n   \n   - `DATABASE_URL`: Your Neon PostgreSQL connection string (from step 2)\n   - `JWT_SECRET`: A secure random string for JWT token signing (generate with `openssl rand -hex 32`)\n\n5. **Deploy**\n   \n   Click \"Deploy\" and wait for the build to complete.\n\n6. **Set up the database schema**\n\n   After deployment, go to your Vercel project dashboard:\n   - Navigate to \"Settings\" → \"Environment Variables\"\n   - Verify that your `DATABASE_URL` is correctly set\n   - Go back to \"Deployments\" and trigger a new deployment to ensure the database schema is applied\n\n## 💻 Local Development\n\n### Prerequisites\n\n- Node.js 18+ installed\n- npm or yarn package manager\n- Git installed\n- PostgreSQL database (local or Neon)\n\n### Setup Instructions\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd chatbot-builder\n   ```\n\n2. **Install dependencies**\n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n\n3. **Set up environment variables**\n   ```bash\n   # Copy the example environment file\n   cp .env.example .env\n   ```\n\n   Update the `.env` file with your values:\n   - `DATABASE_URL`: Your PostgreSQL connection string\n   - `JWT_SECRET`: A secure random string for JWT token signing\n\n4. **Initialize the database**\n   ```bash\n   # Run Prisma migrations\n   npx prisma migrate deploy\n   ```\n\n5. **Create a test user** (optional)\n   ```bash\n   # This will create a user with email: test@test.com and password: test\n   npm run create-test-user\n   ```\n\n6. **Start the development server**\n   ```bash\n   npm run dev\n   ```\n\n7. **Access the application**\n   - Open your browser and navigate to `http://localhost:3000`\n   - Log in with your credentials (or use test@test.com if you created the test user)\n   - Go to the Settings page to add your OpenAI API key\n\n## 🔑 API Key Management\n\nThis application uses user-specific OpenAI API keys:\n\n- Each user must provide their own OpenAI API key in the settings page\n- API keys are securely stored in the database\n- No global API key is required for deployment\n- Users can update or change their API keys at any time\n\n## 📦 Project Structure\n\n```\nchatbot-builder/\n├── app/                  # Next.js app directory\n│   ├── api/              # API routes\n│   ├── bots/             # Bot management pages\n│   ├── files/            # File management pages\n│   └── settings/         # User settings page\n├── components/           # React components\n├── lib/                  # Utility functions\n├── prisma/               # Database schema and migrations\n└── public/               # Static assets\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanantgarg%2Fchatbot-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanantgarg%2Fchatbot-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanantgarg%2Fchatbot-builder/lists"}