[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-92663":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":16,"starSnapshotCount":16,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},92663,"login-with-chatgpt","opencoredev\u002Flogin-with-chatgpt","opencoredev","A simple SDK that lets your users log in with their ChatGPT account.","https:\u002F\u002Flogin-with-chatgpt-iota.vercel.app",null,"TypeScript",254,39,67,1,0,109,54.81,"MIT License",false,"main",[],"2026-07-22 04:02:06","\u003Ch1 align=\"center\">&lt;LoginWithChatGPT \u002F&gt;\u003C\u002Fh1>\n\n\u003Cp align=\"center\">A simple SDK that lets your users log in with their ChatGPT account.\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@opencoredev\u002Floginwithchatgpt-core\">\u003Cimg alt=\"npm version\" src=\"https:\u002F\u002Fshieldcn.dev\u002Fnpm\u002F@opencoredev\u002Floginwithchatgpt-core.svg?variant=secondary&mode=dark\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fopencoredev\u002Flogin-with-chatgpt\u002Fstargazers\">\u003Cimg alt=\"GitHub stars\" src=\"https:\u002F\u002Fshieldcn.dev\u002Fgithub\u002Fopencoredev\u002Flogin-with-chatgpt\u002Fstars.svg?variant=branded&mode=dark\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fx.com\u002Fleodev\">\u003Cimg alt=\"Follow @leodev on X\" src=\"https:\u002F\u002Fshieldcn.dev\u002Fx\u002Ffollow\u002Fleodev.svg?variant=branded&mode=dark\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n- Users bring their own ChatGPT subscription\n- Tokens never touch the browser: HttpOnly cookie only\n- Works with the Vercel AI SDK: `streamText()` straight from the client\n- Open source, MIT licensed\n\nThe handler keeps tokens behind the proxy path by default. The browser gets a session cookie, asks your backend which models the account has, and streams from there.\n\n## Install\n\n```bash\nbun add @opencoredev\u002Floginwithchatgpt-server @opencoredev\u002Floginwithchatgpt-react @opencoredev\u002Floginwithchatgpt-ai\n```\n\nnpm and pnpm work too. Everything ships as ESM with types for Node 18+.\n\n## Packages\n\n| Package | Does |\n| --- | --- |\n| `@opencoredev\u002Floginwithchatgpt-core` | OAuth, token refresh, model discovery |\n| `@opencoredev\u002Floginwithchatgpt-server` | Backend handler: login, session, logout, models, responses proxy |\n| `@opencoredev\u002Floginwithchatgpt-react` | The `\u003CLoginWithChatGPT \u002F>` button and hook |\n| `@opencoredev\u002Floginwithchatgpt-ai` | Vercel AI SDK providers |\n\n## Docs\n\nStart with the [quickstart](.\u002Fdocs\u002Fcontent\u002Fdocs\u002Fquickstart.mdx). The [security model](.\u002Fdocs\u002Fcontent\u002Fdocs\u002Fconcepts\u002Fsecurity.mdx) explains how tokens stay on your server, and the [production checklist](.\u002Fdocs\u002Fcontent\u002Fdocs\u002Fguides\u002Fproduction.mdx) is there for when you deploy.\n\n## Agent skill\n\nUsing Claude Code, Cursor, or Codex? Install the [agent skill](.\u002Fskills\u002Flogin-with-chatgpt\u002FSKILL.md) so your agent wires the SDK correctly: no invented API keys, and no assuming one model slug works for every account.\n\n```bash\nnpx skills add opencoredev\u002Flogin-with-chatgpt\n```\n\nThen just ask your agent to \"add Login with ChatGPT\" and it will mount the handler, render the button, and stream through the proxy the right way. Also on [skills.sh](https:\u002F\u002Fskills.sh\u002Fopencoredev\u002Flogin-with-chatgpt).\n\n## Star history\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fopencoredev\u002Flogin-with-chatgpt\u002Fstargazers\">\u003Cimg alt=\"Star history\" src=\"https:\u002F\u002Fshieldcn.dev\u002Fchart\u002Fgithub\u002Fstars\u002Fopencoredev\u002Flogin-with-chatgpt.svg?mode=dark\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Csub>\u003Ca href=\".\u002FLICENSE\">MIT License\u003C\u002Fa> · Built by \u003Ca href=\"https:\u002F\u002Fx.com\u002Fleodev\">@leodev\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n","这是一个允许用户使用其ChatGPT账号登录第三方应用的开源SDK。它基于OAuth流程实现安全授权，核心特点是令牌全程保留在服务端（通过HttpOnly Cookie管理），浏览器仅持有会话标识；支持与Vercel AI SDK无缝集成，可直接在客户端调用streamText()流式调用模型。项目采用TypeScript开发，提供服务端处理、React组件、AI适配器等模块化包，适用于需接入ChatGPT身份认证并保障Token安全的AI应用或SaaS平台。",2,"2026-07-10 02:30:06","CREATED_QUERY"]