Skip to content

githubcatw/gpt-5-coding-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a last-minute leak (though I guess this will be more of a teaser then) of GPT-5's coding capabilities from OpenAI. I tried to fix the site, but it's still a bit broken.

To view a demo, open the frame in a new tab and add gpt-5-coding-examples/ after githubcatw.github.io/.

As I'm writing this GPT-5 will be officially announced in around 8 minutes.

GPT-5 Coding Examples

This repository contains a curated collection of demo applications generated entirely in a single GPT-5 prompt, without writing any code by hand.

These demos were selected to showcase the model’s strengths in coding — especially quickly scaffolding websites, front-end applications, games, and interactive UIs from natural-language descriptions. They’re intended as inspiration for you to build your own ideas.

Explore Examples

You can explore the demos directly here:

Browse the examples

From there, you can view any example, see the zero-shot prompt that created the code, and remix it for your own ideas.

Build with GPT-5

If you want to experiment with similar prompts, you can try GPT-5 in your preferred coding environment:

  • Codex CLI – A lightweight coding agent that runs in your terminal.
  • Your favorite IDE or coding tool – Use GPT-5 within your existing workflow to generate and refine code.
  • ChatGPT – Open ChatGPT and choose GPT-5 to generate and preview code in the browser.

Choose an example, copy its prompt for inspiration, and adapt it to your own needs.
Let GPT-5 build your idea, then iterate on the prompt or code to explore variations.

For Developers: Codex CLI

We recommend using the Codex CLI with GPT-5 for a seamless coding experience.

The Codex CLI runs in your terminal: given a prompt, it will generate code, execute it in a sandbox, and even preview the results live.

Example:

codex --model gpt-5 --full-auto "Build a simple photobooth application with camera access in a single HTML file"

GPT-5 will scaffold the app, write files, install dependencies as needed, and show a live preview. This is the go-to solution for developers who want to bootstrap apps or add features quickly.

You can also use GPT-5 with any other AI coding tool that supports the model.

For Non-Developers: ChatGPT

If you don’t have a coding environment, you can use ChatGPT (with GPT-5) to build and preview apps entirely in the browser:

  1. Copy an example’s prompt for inspiration and customize it to make it your own.
  2. Let GPT-5 generate the code (HTML/CSS/JavaScript).
  3. Open it in Canvas preview to see it run live.
  4. Download or copy the output HTML for real-world use.

With this method, anyone can create a working single-page app — no local setup required.

Note

We are not accepting contributions at this time.
This repo is for reference and inspiration only. If you’d like to build on these ideas, please fork the repo for your own experiments.

About

GPT-5 coding examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 97.6%
  • Other 2.4%