
router
TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
It provides a secure, token-free browser experience via HttpOnly cookies and integrates seamlessly with the Vercel AI SDK, while allowing users to bring their own ChatGPT subscription.
<LoginWithChatGPT />
A simple SDK that lets your users log in with their ChatGPT account.
streamText() straight from the clientThe 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.
bun add @opencoredev/loginwithchatgpt-server @opencoredev/loginwithchatgpt-react @opencoredev/loginwithchatgpt-ai
npm and pnpm work too. Everything ships as ESM with types for Node 18+.
| Package | Does |
|---|---|
@opencoredev/loginwithchatgpt-core | OAuth, token refresh, model discovery |
@opencoredev/loginwithchatgpt-server | Backend handler: login, session, logout, models, responses proxy |
@opencoredev/loginwithchatgpt-react | The `` button and hook |
@opencoredev/loginwithchatgpt-ai | Vercel AI SDK providers |
Start with the quickstart. The security model explains how tokens stay on your server, and the production checklist is there for when you deploy.
Using Claude Code, Cursor, or Codex? Install the agent skill so your agent wires the SDK correctly: no invented API keys, and no assuming one model slug works for every account.
npx skills add opencoredev/login-with-chatgpt
Then 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.
MIT License · Built by @leodev
A simple SDK that lets your users log in with their ChatGPT account.
Similar projects matched by category, topics, and programming language.

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.
A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.