Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save 0xdevalias/4ac297ee3f794c17d0997b4673a2f160 to your computer and use it in GitHub Desktop.
Save 0xdevalias/4ac297ee3f794c17d0997b4673a2f160 to your computer and use it in GitHub Desktop.
Notes on reverse engineering ChatGPT's frontend web app + deep dive explorations of the code

Reverse engineering ChatGPT's frontend web app + deep dive explorations of the code

Figured it would make sense to create a single gist collating my previous deep dive explorations and notes.. so here it is!

Table of Contents

My Deep Dives (and others past feature leaks)

Jun 14th, 2023 (and all future updates)

You'll find my latest deep dives and continuing research within the following repo:

For the equivalent ongoing content that used to be included on this Gist, you probably want to look at the CHANGELOG.md:

You can also check out the announcement posts on Twitter, Reddit, and HackerNews:

Jun 13th, 2023

I haven't looked at the ChatGPT source for a while, so I don't have my own personal discoveries for this one, but documenting the leaked features found by others here:

May 16th, 2023

https://twitter.com/_devalias/status/1658104103090651140

Another day, another ChatGPT unreleased 'INTERNAL ONLY' feature: Share Chat

https://chat.openai.com/_next/static/chunks/pages/_app-ab949dad0ea9d6e3.js

createShareLink: POST /share/create
updateShareLink: PATCH /share/:share_id
deleteShareLink: DELETE /share/:share_id

https://chat.openai.com/_next/static/chunks/734-d34f3efd388e555d.js

Cross-posted to HackerNews: https://news.ycombinator.com/item?id=35948098

March 25th, 2023

https://twitter.com/_devalias/status/1639377155347083264

Given yesterday's announcement of ChatGPT plugin support in waitlisted beta; I figured it might be a good time to look at the frontend source again and see what I can turn up..

You can find my previous explorations here:
- 2: https://twitter.com/_devalias/status/1623962204252033026
- 1: https://twitter.com/_devalias/status/1622102312994099200

February 10th, 2023

https://twitter.com/_devalias/status/1623962204252033026

So I figured I would have a little look into the minified ChatGPT frontend source again today and see what I stumbled upon..

You can see my last exploration in the attached thread from the other day.

February 5th, 2023

https://twitter.com/_devalias/status/1622102312994099200

What's that? ChatGPT [private alpha - confidential]? But i'm not even part of ChatGPT Plus.. Is it still confidential if I am just reading publicly available minified source code?🤔

I wouldn't mind using a 'Web search' or 'Calculator' though..

January 19th, 2023

https://gist.github.com/0xdevalias/4e54bb28a02db5357ea4fa3a872fc5fc

Exploring ChatGPT API's for exporting all history as markdown, etc.

January 1st, 2023

The following wasn't found by me, but adding here as a historical archive:

Everything-ChatGPT

I also recently shared a number of these references in a GitHub issue to the 'everything-chatgpt' project, which seems to be similarly exploring the features and capabilities of the ChatGPT frontend app + API's:

As well as noting a few other bits of information that seemed outdated/missing:

See Also

My Other Related Deepdive Gist's and Projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment