explaingit

deerspotter/chatgpt-webview

Analysis updated 2026-05-18

3SwiftAudience · developerComplexity · 2/5LicenseSetup · moderate

TLDR

An iOS app that wraps ChatGPT's website in a native shell with local conversation saving, PDF export, and speech-to-text support.

Mindmap

mindmap
  root((ChatGPT WebView))
    What it does
      Wraps ChatGPT website
      Saves conversations locally
      PDF and Markdown export
    ChatGPT tab
      Mic speech input
      Dark mode
      Save Context button
    Memory tab
      Saved chat list
      PDF and Markdown view
      Start new chat
    Tech stack
      Swift
      WKWebView
      iOS 16
    Setup
      Xcode 14 plus
      No cloud services needed
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Use ChatGPT on iOS 16 as a native-feeling app with mic input and dark mode.

USE CASE 2

Save ChatGPT conversations locally as PDF and Markdown files for offline reading.

USE CASE 3

Resume past ChatGPT conversations by loading a saved memory as starting context.

What is it built with?

SwiftWKWebViewiOS

How does it compare?

deerspotter/chatgpt-webviewaydahnizzy/calendar-drag-interactiondizzpy/boo
Stars344
LanguageSwiftSwiftSwift
Setup difficultymoderateeasyeasy
Complexity2/52/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Xcode 14+ and an iOS 15-16 device or simulator.

MIT license, use freely for any purpose, including commercial, as long as you keep the copyright notice.

In plain English

This is a lightweight iOS app that wraps the ChatGPT website in a native shell. Instead of opening a browser, you get an app with ChatGPT loaded inside it, built in Swift using Apple's WKWebView component for iOS 16. The app has two tabs. The first is a ChatGPT tab showing the full ChatGPT web interface, with extra controls added below it, including a microphone button for speech-to-text input, dark mode support, stop and refresh controls, and a Save Context button. The second tab is called Memory, and it shows a list of saved conversations. The Save Context feature is the main addition on top of the raw website. Tap the button and the app pulls the current ChatGPT conversation out of the loaded page, converts it to both a PDF and a Markdown file, and stores both locally on your device. Later you can open the Memory tab, tap a saved chat name, read it as a PDF or Markdown document, or start a fresh ChatGPT conversation using that saved content as context. The app also spoofs its user-agent to present itself as Safari 16, which helps the ChatGPT website behave correctly. It is compatible with TrollStore, a tool for installing apps on iOS without the App Store, and can also be built and run directly from Xcode. The README notes this is a fork being converted into a trusted, source-controlled build path, and advises treating any pre-built IPA from the original upstream as untrusted unless separately inspected. All memory storage is local, with no external cloud services needed for the two-tab flow. Building requires Xcode 14 or later, a target of iOS 15 to 16, and Swift 5. The project is MIT licensed.

Copy-paste prompts

Prompt 1
I have the ChatGPT-WebView iOS source code. Walk me through building it in Xcode 14 targeting iOS 16.
Prompt 2
Show me how the Save Context button extracts a ChatGPT conversation from WKWebView and writes it to a PDF.
Prompt 3
How does this app spoof the Safari 16 user-agent in WKWebView so ChatGPT works correctly?
Prompt 4
I want to add a third tab to this app alongside ChatGPT and Memory. Where in the project do I start?

Frequently asked questions

What is chatgpt-webview?

An iOS app that wraps ChatGPT's website in a native shell with local conversation saving, PDF export, and speech-to-text support.

What language is chatgpt-webview written in?

Mainly Swift. The stack also includes Swift, WKWebView, iOS.

What license does chatgpt-webview use?

MIT license, use freely for any purpose, including commercial, as long as you keep the copyright notice.

How hard is chatgpt-webview to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is chatgpt-webview for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub deerspotter on gitmyhub

Verify against the repo before relying on details.