{"id":48281257,"url":"https://github.com/ankitk26/baychat","last_synced_at":"2026-04-04T22:47:04.374Z","repository":{"id":298187415,"uuid":"998165258","full_name":"ankitk26/baychat","owner":"ankitk26","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-04T21:58:19.000Z","size":1822,"stargazers_count":3,"open_issues_count":15,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T22:40:18.794Z","etag":null,"topics":["ai-sdk-v5","better-auth","convex","shadcn-ui","tanstack-query","tanstack-start","ultracite","vercel-ai-sdk","zustand"],"latest_commit_sha":null,"homepage":"https://baychat.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/ankitk26.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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-06-08T02:16:23.000Z","updated_at":"2026-04-04T20:40:27.000Z","dependencies_parsed_at":"2025-06-09T21:42:58.623Z","dependency_job_id":"bb218701-1150-42a7-9721-5cc43596d94c","html_url":"https://github.com/ankitk26/baychat","commit_stats":null,"previous_names":["ankitk26/os.chat","ankitk26/os-chat","ankitk26/baychat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ankitk26/baychat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2Fbaychat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2Fbaychat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2Fbaychat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2Fbaychat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankitk26","download_url":"https://codeload.github.com/ankitk26/baychat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitk26%2Fbaychat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31418270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-sdk-v5","better-auth","convex","shadcn-ui","tanstack-query","tanstack-start","ultracite","vercel-ai-sdk","zustand"],"created_at":"2026-04-04T22:47:03.854Z","updated_at":"2026-04-04T22:47:04.366Z","avatar_url":"https://github.com/ankitk26.png","language":"TypeScript","readme":"# baychat\n\nbaychat is an open-source AI chatbot application built with TanStack Start, Convex, and the Vercel AI SDK.  \nIt supports multiple AI providers, real-time messaging, and chat organization.\n\n## Features\n\n### AI Model Support\n\n- Google Gemini\n- OpenAI\n- Anthropic\n- OpenRouter\n- BYOK (Bring your own API keys)\n\n### Chat Management\n\n- Real-time streaming responses\n- Organize chats with folders\n- Pin or branch conversations\n- Share chats with others\n- Edit or regenerate messages\n\n### UI\n\n- Light and dark themes\n- Code syntax highlighting (Shiki)\n- Math rendering (KaTeX)\n- Markdown support\n\n### Image Generation\n\n- Generate images from text prompts\n- Support for multiple image generation models\n- Download and share generated images\n\n### Authentication\n\n- GitHub and Google OAuth (via Better Auth)\n\n## Tech Stack\n\n**Frontend**\n\n- TanStack Start (full-stack React framework)\n- TanStack Query (server state management)\n- ShadCN (UI components)\n- Zustand (client state management)\n\n**Backend**\n\n- Convex (real-time database and backend)\n- Better Auth (authentication library)\n- Vercel AI SDK (AI model integration)\n- Zod (schema validation)\n\n**AI Providers**\n\n- OpenAI (GPT models)\n- Anthropic (Claude models)\n- Google (Gemini models)\n- xAI (Grok models)\n- OpenRouter (unified AI API)\n- BYOK support for all above providers\n\n**Development**\n\n- Oxlint for linting and Oxfmt for formatting\n\n## Installation\n\n### Prerequisites\n\n- Node.js 18+\n- Any package manager (bun used here)\n- Git\n\n### Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/ankitk26/baychat.git\n   cd baychat\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   bun install\n   ```\n\n3. Set up Convex:\n\n   ```bash\n   npx convex dev\n   ```\n\n   Follow the prompts to create a new Convex project and get your deployment URL.\n\n4. Create a `.env.local` file in the root directory:\n\n   ```env\n   # Convex (Required)\n   CONVEX_DEPLOYMENT=dev:your_project_name\n   VITE_CONVEX_URL=https://your_project_url.convex.cloud\n   VITE_CONVEX_SITE_URL=https://your_project_url.convex.site\n\n   # Site URL (Required)\n   VITE_SITE_URL=http://localhost:3000\n\n   # BetterAuth (Required for authentication)\n   BETTER_AUTH_SECRET=your_better_auth_secret\n\n   # GitHub OAuth (Required for authentication)\n   GITHUB_CLIENT_ID=your_github_client_id\n   GITHUB_CLIENT_SECRET=your_github_client_secret\n\n   # Google OAuth (Required for authentication)\n   GOOGLE_CLIENT_ID=your_google_client_id\n   GOOGLE_CLIENT_SECRET=your_google_client_secret\n\n   # Optional: API keys for AI providers\n   GOOGLE_GENERATIVE_AI_API_KEY=your_google_api_key\n   ANTHROPIC_API_KEY=your_anthropic_api_key\n   ```\n\n5. Run the development server:\n\n   ```bash\n   bun run dev\n   ```\n\n6. Open your browser and navigate to `http://localhost:3000`\n\n## Usage\n\n1. Sign in with your GitHub or Google account\n2. Configure API keys in settings (optional - you can use OpenRouter for all models)\n3. Start chatting with any available AI model\n4. Organize chats by creating folders and pinning important conversations\n\n## Support\n\n- Issues: [GitHub Issues](https://github.com/ankitk26/baychat/issues)\n- Discussions: [GitHub Discussions](https://github.com/ankitk26/baychat/discussions)\n- Documentation: Check the code comments and type definitions\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitk26%2Fbaychat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankitk26%2Fbaychat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitk26%2Fbaychat/lists"}