{"id":25773110,"url":"https://github.com/ellipog/chat","last_synced_at":"2026-06-10T06:42:00.826Z","repository":{"id":278442126,"uuid":"935506756","full_name":"Ellipog/chat","owner":"Ellipog","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T19:09:22.000Z","size":126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T20:23:17.381Z","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/Ellipog.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}},"created_at":"2025-02-19T14:59:32.000Z","updated_at":"2025-02-19T19:09:25.000Z","dependencies_parsed_at":"2025-02-19T20:33:23.386Z","dependency_job_id":null,"html_url":"https://github.com/Ellipog/chat","commit_stats":null,"previous_names":["ellipog/chat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipog%2Fchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipog%2Fchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipog%2Fchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipog%2Fchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ellipog","download_url":"https://codeload.github.com/Ellipog/chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240979242,"owners_count":19888037,"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":"2025-02-27T04:33:06.568Z","updated_at":"2026-06-10T06:41:55.791Z","avatar_url":"https://github.com/Ellipog.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat\n\n[![Next.js](https://img.shields.io/badge/Next.js-15.1.7-black?style=flat-square\u0026logo=next.js)](https://nextjs.org/)\n[![React](https://img.shields.io/badge/React-19.0.0-blue?style=flat-square\u0026logo=react)](https://reactjs.org/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.7.3-blue?style=flat-square\u0026logo=typescript)](https://www.typescriptlang.org/)\n[![TailwindCSS](https://img.shields.io/badge/TailwindCSS-3.4.17-38B2AC?style=flat-square\u0026logo=tailwind-css)](https://tailwindcss.com/)\n[![MongoDB](https://img.shields.io/badge/MongoDB-6.13.0-green?style=flat-square\u0026logo=mongodb)](https://www.mongodb.com/)\n\nA modern chat application built with Next.js, featuring real-time communication, user authentication, and AI-powered interactions.\n\n## ✨ Features\n\n- 🔐 Secure user authentication with JWT and bcrypt\n- 💬 Real-time chat functionality\n- 🤖 AI integration with OpenAI\n- 🎨 Modern UI with Tailwind CSS and Framer Motion\n- 📱 Fully responsive design\n- 🔍 Syntax highlighting for code snippets\n- 🌐 MongoDB database integration\n\n## 🛠️ Tech Stack\n\n- **Frontend**: Next.js, React, TypeScript\n- **Styling**: TailwindCSS, Framer Motion\n- **Backend**: Next.js API Routes\n- **Database**: MongoDB with Mongoose\n- **Authentication**: JWT, bcryptjs\n- **AI Integration**: OpenAI API\n- **Package Manager**: npm/bun\n\n## 🚀 Getting Started\n\n1. **Clone the repository**\n\n   ```bash\n   git clone https://github.com/Ellipog/chat.git\n   cd chat\n   ```\n\n2. **Install dependencies**\n\n   ```bash\n   bun i\n   ```\n\n3. **Set up environment variables**\n   Create a `.env` file in the root directory with the following variables:\n\n   ```env\n   MONGODB_URI=your_mongodb_uri\n   JWT_SECRET=your_jwt_secret\n   OPENAI_API_KEY=your_openai_api_key\n   OPENAI_MODEL=openai_model_name (e.g. gpt-4o-mini)\n   ```\n\n4. **Run the development server**\n\n   ```bash\n   bun dev\n   ```\n\n   Open [http://localhost:3000](http://localhost:3000) in your browser to see the application.\n\n## 📁 Project Structure\n\n```\n├── app/                # Next.js app directory\n│   ├── api/           # API routes\n│   ├── layout.tsx     # Root layout\n│   └── page.tsx       # Home page\n├── components/        # Reusable React components\n├── context/          # React context providers\n├── lib/             # Utility functions and configurations\n├── models/          # MongoDB models\n├── public/          # Static assets\n└── types/           # TypeScript type definitions\n```\n\n---\n\n\u003cdiv align=\"center\"\u003e\nby Elliot\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellipog%2Fchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fellipog%2Fchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellipog%2Fchat/lists"}