{"id":30821034,"url":"https://github.com/prathamx595/openchat","last_synced_at":"2026-05-16T18:08:34.778Z","repository":{"id":312919749,"uuid":"1018563804","full_name":"PrathamX595/OpenChat","owner":"PrathamX595","description":"don't mind me just trying out open router","archived":false,"fork":false,"pushed_at":"2025-09-02T19:20:48.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-02T21:17:14.385Z","etag":null,"topics":["ai","chatbot","nextjs","openrouter","shardcn"],"latest_commit_sha":null,"homepage":"https://open-chat-tau.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/PrathamX595.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":null,"dco":null,"cla":null}},"created_at":"2025-07-12T14:31:30.000Z","updated_at":"2025-09-02T19:20:51.000Z","dependencies_parsed_at":"2025-09-02T21:17:52.178Z","dependency_job_id":"ed5be96d-15bc-4827-a313-c5ada9ac741b","html_url":"https://github.com/PrathamX595/OpenChat","commit_stats":null,"previous_names":["prathamx595/openchat"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/PrathamX595/OpenChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrathamX595%2FOpenChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrathamX595%2FOpenChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrathamX595%2FOpenChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrathamX595%2FOpenChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrathamX595","download_url":"https://codeload.github.com/PrathamX595/OpenChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrathamX595%2FOpenChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273888141,"owners_count":25185817,"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-09-06T02:00:13.247Z","response_time":2576,"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","nextjs","openrouter","shardcn"],"created_at":"2025-09-06T10:07:29.279Z","updated_at":"2026-05-16T18:08:34.760Z","avatar_url":"https://github.com/PrathamX595.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI ChatBot - OpenChat\n\nA modern, responsive AI chatbot built with Next.js 15, React 19, and TypeScript. Chat with multiple AI models from OpenRouter with a beautiful, intuitive interface featuring markdown support, etc.\n\n![AI ChatBot Demo](https://img.shields.io/badge/Status-Live-brightgreen) ![Next.js](https://img.shields.io/badge/Next.js-15.3.5-black) ![React](https://img.shields.io/badge/React-19.0.0-blue) ![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue)\n\n## Features\n\n- **Multiple AI Models**: Choose from 8 powerful AI models including Mistral, Gemma, DeepSeek, and Llama\n- **Real-time Chat**: Instant responses with loading indicators and smooth animations\n- **Markdown Support**: Full markdown rendering with syntax highlighting for code blocks\n- **Mobile Friendly**: Optimized for all device sizes\n- **Auto-scroll**: Smart scrolling that follows the conversation\n- **Interactive Actions**: Copy messages, thumbs up/down feedback\n- **Fast Performance**: Built with Next.js 15 and React 19\n- **Secure**: Server-side API calls to protect your OpenRouter API key\n\n## Available AI Models\n\n- **Dolphin Mistral 24B** - Advanced reasoning and coding\n- **Gemma 3N E2B/E4B** - Google's efficient language models\n- **Mistral Small 3.2 24B** - Balanced performance and speed\n- **DeepSeek R1 Qwen3 8B** - Specialized for complex reasoning\n- **Microsoft MAI DS R1** - Microsoft's research model\n- **Llama 4 Maverick** - Meta's latest Llama variant\n- **Llama 3.1 Nemotron Ultra 253B** - NVIDIA's ultra-large model\n\n## Tech Stack\n\n- **Framework**: [Next.js 15](https://nextjs.org/) with App Router\n- **Frontend**: [React 19](https://react.dev/) with TypeScript\n- **Styling**: [Tailwind CSS 4](https://tailwindcss.com/)\n- **AI Provider**: [OpenRouter](https://openrouter.ai/)\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js 18+\n- npm, yarn, pnpm, or bun\n- OpenRouter API key (get one at [openrouter.ai](https://openrouter.ai/))\n\n### Installation\n\n1. **Clone the repository**\n\n   ```bash\n   git clone https://github.com/PrathamX595/OpenChat.git\n   cd OpenChat\n   ```\n\n2. **Install dependencies**\n\n   ```bash\n   npm install\n   # or\n   yarn install\n   # or\n   pnpm install\n   # or\n   bun install\n   ```\n\n3. **Set up environment variables**\n\n   Create a `.env.local` file in the root directory:\n\n   ```env\n   OPENROUTER_API_KEY=your_openrouter_api_key_here\n   YOUR_SITE_URL=http://localhost:3000\n   ```\n\n4. **Run the development server**\n\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   # or\n   pnpm dev\n   # or\n   bun dev\n   ```\n\n5. **Open your browser**\n\n   Navigate to [http://localhost:3000](http://localhost:3000) to see the app in action\n\n##  Project Structure\n\n```\nsrc/\n├── app/\n│   ├── api/chat/route.ts      # OpenRouter API integration\n│   ├── layout.tsx             # Root layout\n│   ├── page.tsx              # Main chat interface\n│   └── globals.css           # Global styles\n├── components/ui/\n│   ├── chat/                 # Chat-specific components\n│   │   ├── chat-bubble.tsx\n│   │   ├── chat-input.tsx\n│   │   ├── chat-message-list.tsx\n│   │   ├── message-loading.tsx\n│   │   └── hooks/\n│   │       └── useAutoScroll.tsx\n│   ├── avatar.tsx            # Avatar component\n│   ├── button.tsx            # Button component\n│   ├── select.tsx            # Select dropdown\n│   └── textarea.tsx          # Textarea component\n└── lib/\n    └── utils.ts              # Utility functions\n```\n\n##  Configuration\n\n### Environment Variables\n\n| Variable             | Description                    | Required |\n| -------------------- | ------------------------------ | -------- |\n| `OPENROUTER_API_KEY` | Your OpenRouter API key        | ✅       |\n| `YOUR_SITE_URL`      | Your site URL for API referrer | ✅       |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamx595%2Fopenchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprathamx595%2Fopenchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamx595%2Fopenchat/lists"}