{"id":13455112,"url":"https://github.com/dabit3/nextjs-chatgpt-plugin-starter","last_synced_at":"2025-11-17T15:18:38.397Z","repository":{"id":152584808,"uuid":"626426089","full_name":"dabit3/nextjs-chatgpt-plugin-starter","owner":"dabit3","description":"ChatGPT plugin starter project using Next.js","archived":false,"fork":false,"pushed_at":"2023-04-25T06:18:18.000Z","size":97,"stargazers_count":208,"open_issues_count":0,"forks_count":26,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-09T03:16:23.023Z","etag":null,"topics":["chatgpt","chatgpt-plugin","chatgpt-plugins","gpt","openai"],"latest_commit_sha":null,"homepage":"","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/dabit3.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}},"created_at":"2023-04-11T12:54:35.000Z","updated_at":"2025-04-29T02:43:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd5eb1ad-d940-417b-9dce-45cab2dc0055","html_url":"https://github.com/dabit3/nextjs-chatgpt-plugin-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fnextjs-chatgpt-plugin-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fnextjs-chatgpt-plugin-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fnextjs-chatgpt-plugin-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fnextjs-chatgpt-plugin-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dabit3","download_url":"https://codeload.github.com/dabit3/nextjs-chatgpt-plugin-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253181442,"owners_count":21866995,"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":["chatgpt","chatgpt-plugin","chatgpt-plugins","gpt","openai"],"created_at":"2024-07-31T08:01:01.399Z","updated_at":"2025-11-17T15:18:33.361Z","avatar_url":"https://github.com/dabit3.png","language":"TypeScript","funding_links":[],"categories":["Browser-extensions","TypeScript"],"sub_categories":[],"readme":"## Next.js Boilerplate for a simple ChatGPT Plugin\n\nThis is essentially the JavaScript version of the Python app documented in the OpenAI Chat GPT docs.\n\nI originally had trouble getting the headers and cors working properly so I figured I'd document how to do this here.\n\n### Prerequisites\n\nThis app has no user interface, instead it's meant to use with GhatGPT's UI so therefore you must have access to ChatGPT plugins, which at the moment are still in beta.\n\n### Project setup\n\n1. Clone the repo, install depdendencies:\n\n```sh\ngit clone git@github.com:dabit3/nextjs-chatgpt-starter.git\n\ncd nextjs-chatgpt-starter\n\nyarn # or npm install, pnpm\n```\n\n2. Run the server\n\n```sh\nnpm run build\n\nnpm start\n\n# If you run this in dev mode, the memory may not persist well as the server will randomly restart sometimes\n```\n\n3. Set up your GPT Plugin in the ChatGPT Plugin UI.\n\nWhen prompted for your website domain, type in 'http://localhost:3000'\n\n### Usage\n\nAsk for your list of todos:\n\n```sh\nwhat are my todos?\n# or anything like that\n```\n\nAdd a todo:\n\n```sh\nadd book flight to my todos\n```\n\nSummarize todos:\n\n```\nHow many todos do I have left?\n```\n\nOr any other questions you might have.\n\n### Configuration\n\nTo add more routes:\n\n1. Create new route in `pages/api` directory.\n\n2. Update `openapi.yaml` with new path\n\n3. Update `openapi.yaml` with schema for any data model coming back or being passed in.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Fnextjs-chatgpt-plugin-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdabit3%2Fnextjs-chatgpt-plugin-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Fnextjs-chatgpt-plugin-starter/lists"}