{"id":28304673,"url":"https://github.com/seizeddev/gpt-wrapper","last_synced_at":"2026-03-05T21:09:56.401Z","repository":{"id":294945297,"uuid":"986563415","full_name":"seizeddev/gpt-wrapper","owner":"seizeddev","description":"A minimal GPT-powered chat interface built with Next.js and TypeScript, showcasing OpenAI API integration.","archived":false,"fork":false,"pushed_at":"2025-06-09T17:57:53.000Z","size":161,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T18:46:36.562Z","etag":null,"topics":["ai","api","chatbot","chatgpt","chatgpt-api","gpt","nextjs","openai","tailwindcss","typescript","vercel"],"latest_commit_sha":null,"homepage":"https://gpt-wrapper-beta.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seizeddev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-19T19:52:24.000Z","updated_at":"2025-05-27T07:26:15.000Z","dependencies_parsed_at":"2025-06-09T18:29:33.507Z","dependency_job_id":null,"html_url":"https://github.com/seizeddev/gpt-wrapper","commit_stats":null,"previous_names":["seizeddev/gpt-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seizeddev/gpt-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seizeddev%2Fgpt-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seizeddev%2Fgpt-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seizeddev%2Fgpt-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seizeddev%2Fgpt-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seizeddev","download_url":"https://codeload.github.com/seizeddev/gpt-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seizeddev%2Fgpt-wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262545037,"owners_count":23326660,"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":["ai","api","chatbot","chatgpt","chatgpt-api","gpt","nextjs","openai","tailwindcss","typescript","vercel"],"created_at":"2025-05-24T01:11:22.822Z","updated_at":"2026-03-05T21:09:56.366Z","avatar_url":"https://github.com/seizeddev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPT Wrapper 🧠💬\n\nA simple yet powerful example of how to integrate the [OpenAI API](https://platform.openai.com/docs) into a **Next.js + TypeScript** application. This project serves as a lightweight wrapper for building GPT-based chat interfaces with modern web technologies.\n\n![Languages](https://img.shields.io/github/languages/top/seizeddev/gpt-wrapper?style=flat-square)  \n![Last Commit](https://img.shields.io/github/last-commit/seizeddev/gpt-wrapper?style=flat-square)  \n![License](https://img.shields.io/github/license/seizeddev/gpt-wrapper?style=flat-square)\n\n## ✨ Features\n\n- 🌐 Built with **Next.js** for server-side rendering  \n- 🛠️ Fully typed using **TypeScript**  \n- 🔌 Integrated with **OpenAI Chat API**\n- 🛡️ Login \u0026 Register functionality using **Supabase Auth**\n- 🎨 Styled using **TailwindCSS** and [shadcn/ui](https://ui.shadcn.com/)  \n- ⚙️ Clean project structure and best practices  \n- 💬 Minimalistic chat UI to demonstrate GPT integration  \n\n## 📂 Project Structure\n\n```bash\n├── app/                # Next.js app directory  \n├── public/             # Static assets  \n├── src/                # Source files including components and logic  \n├── components.json     # UI component config  \n├── tsconfig.json       # TypeScript config  \n├── next.config.ts      # Next.js configuration  \n├── package.json        # Project metadata and dependencies  \n└── ...\n``` \n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js (v18 or later)  \n- An OpenAI API key\n- A Supabase project with email/password auth enabled\n\n### Installation\n\n```cmd\ngit clone https://github.com/seizeddev/gpt-wrapper.git  \ncd gpt-wrapper  \nnpm install\n```\n\n### Environment Variables\n\nCreate a `.env.local` file in the root directory and add your OpenAI API key:\n\n```env\nOPENAI_API_KEY=your-openai-api-key\nNEXT_PUBLIC_SUPABASE_URL=your-supabase-url  \nNEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key \n```\n\n### Run the Dev Server\n\n```cmd\nnpm run dev  \n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser to view the app.\n\n## 🔐 Auth System\n\nThis project includes a **Login/Register page** backed by [Supabase](https://supabase.com/) authentication. Users can sign up, log in, and access the chat interface securely.\n\n## 🧠 How It Works\n\nThe app sends messages to the OpenAI API using the Chat Completion endpoint, displays the assistant's reply, and updates the conversation state dynamically using React components.\n\n## 📸 Screenshots\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://cdn.discordapp.com/attachments/1145337074443108425/1375192398375817357/image.png?ex=6830cb39\u0026is=682f79b9\u0026hm=1a2fa14aa461525fa30935a7b4f7ea38d6f32252d9df1674c3bb58264f4dc217\u0026\" width=\"80%\" alt=\"Chat UI Example\" /\u003e\n\u003c/div\u003e\n\n## 📦 Tech Stack\n\n- [Next.js](https://nextjs.org/)  \n- [TypeScript](https://www.typescriptlang.org/)  \n- [OpenAI API](https://platform.openai.com/docs/)\n- [Supabase](https://supabase.com/) \n- [Tailwind CSS](https://tailwindcss.com/)  \n- [shadcn/ui](https://ui.shadcn.com/)  \n\n## 🙌 Acknowledgments\n\n- [OpenAI](https://openai.com/) for the powerful API\n- [Supabase](https://supabase.com/) for effortless authentication  \n- [shadcn/ui](https://ui.shadcn.com/) for modern React components  \n\n## 📄 License\n\nMIT License. See `LICENSE` for more information.\n\n\n\u003e Practice project by [@seizeddev](https://github.com/seizeddev) – Happy Hacking!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseizeddev%2Fgpt-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseizeddev%2Fgpt-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseizeddev%2Fgpt-wrapper/lists"}