// the find
rgommezz/react-native-chatgpt
A React Native wrapper around ChatGPT to seamlessly integrate it with your applications. It handles authentication, streamed responses, and keeping track of conversations. 100% client-side :robot:
A React Native library that wraps the ChatGPT web interface — not the API — by embedding a WebView to handle authentication and scraping responses. It targets mobile developers who wanted ChatGPT integration before the official API was widely available or affordable.
- Streaming response support via SSE parsing is well-implemented for a scraping approach, with both callback and promise-based APIs
- Conversation tracking (conversationId + messageId chaining) works correctly and matches how the ChatGPT web backend actually maintains context
- Expo-compatible out of the box with no ejection required, which reduces friction for the target audience
- Last pushed January 2023 — this predates the stable ChatGPT API and the entire approach is now obsolete; OpenAI has official SDKs and this library almost certainly breaks against current ChatGPT auth flows
- Fundamentally depends on scraping an undocumented internal API, meaning any ChatGPT backend change silently breaks it with no upgrade path
- 100% client-side is marketed as a feature but it means your users' ChatGPT credentials are handled inside a WebView in your app — a significant trust and security problem
- No tests beyond a placeholder test file; the one test in src/__tests__/index.test.tsx is unlikely to catch auth flow regressions