Dan Shipper 📧 Profile picture
Mar 18, 2023 28 tweets 8 min read Read on X
Let's see if GPT-4 can build ChatGPT in 10 prompts or less:
Note: I'm going to do this live, I have no idea if this is going to work. Wish me luck 🫡
PROMPT 1:

We're asking it to build a React component for a chatbot: Image
Here's the response, it looks pretty good! ImageImage
PROMPT 2:

Now we'll ask it to write the HTML file that includes the React component, and style it. I asked it for dark mode–let's see how it does 😅 Image
Here's the response: ImageImage
As you can see, it's asking me to include an index.js file...but it hasn't yet told me what that is. Let's use a prompt on that!
Here's its response: ImageImage
It's recommending I use the create-react-app to start the project, which makes me a bit nervous but we'll give it a shot! Image
I'm creating the React app now: Image
AND WE HAVE A CHATBOT!

It's client-side only for now, but you can send messages and everything :) Image
PROMPT 3:

Okay now we're cooking! We need a Flask server to handle the chat requests from the client. When it gets a chat request it should send it to GPT-4 for a completion. I'm literally going to paste in the GPT-4 API docs for reference.

Let's see what it can do! Image
Here's the response. Looks good!

I'm going to implement this (with a few minor modifications) and see what happens... Image
Our server is up and running!!! Image
Okay, we ran into a minor problem. Our server and client are hosted at different addresses—so when I make POST requests I get a Cross Origin error: Image
PROMPT 4:

Let's ask GPT-4 to fix the CORS error! Image
Here's the response. Seems reasonable! I'll report back... Image
Okay I went back and forth a bit on the CORS issue until it finally found the right modification for my app.py file. Not counting that as a prompt...it's sort of a side quest conversation. But...it fixed it!
Now, when I type a message it hits my chat server! Image
But there's a problem...when I send the request to GPT-4 it returns an error.

It looks like for some reason we're not actually sending the chat transcript to GPT-4. Not sure why...I'm going to step through the code Image
Okay so it looks like for some reason the client side isn't actually sending the chat transcript to the server.

I wonder why that is... Image
OMFG IT WORKS Image
For some reason it works on the second message, but not the first.

Going to have to ask GPT-4 why that is, and see if it can fix it...
PROMPT 5:

I asked it why the first message doesn't arrive and it figured it out! Image
It worked! It worked! It worked! Image
This was shockingly, crazily, incredibly easy. Image
I actually also learned something...I never would've used the create-react stuff on my own. I would've rolled it myself.

But it's quite good! Image
Now...let's see if I can get my ChatGPT clone to create another ChatGPT clone in 10 prompts or less... 👿 Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Dan Shipper 📧

Dan Shipper 📧 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @danshipper

Mar 11
BREAKING:

Proof—a new product from @every

It’s a live collaborative document editor where humans and AI agents work together in the same doc. It's fast, free, and open source—available now at proofeditor.ai.

It’s built from the ground up for the kinds of documents agents are increasingly writing: bug reports, PRDs, implementation plans, research briefs, copy audits, strategy docs, memos, and proposals.

Why Proof?
When everyone on your team is working with agents, there's suddenly a ton of AI-generated text flying around—planning docs, strategy memos, session recaps. But the current process for collaborating and iterating on agent-generated writing is…weirdly primitive.

It mostly takes place in Markdown files on your laptop, which makes it reminiscent of document editing in 1999.

Proof lets you leave .md files behind.

What makes Proof different?

- Proof is agent-native: Anything you can do in Proof, your agent can do just as easily.

- Proof tracks provenance: A colored rail on the left side of every document tracks who wrote what. Green means human, Purple means AI.

- Proof is login-free and open source: This is because we want Proof to be your agent's favorite document editor.

Check it out now, for free—no login required:

proofeditor.ai
Proof is the most collaborative product we’ve ever built @every. It has commits from 5 team members, both technical and non: @bran_don_gell, @kieranklaassen, @naveennaidu_m, @bigwilliestyle, @lucas__crespo.

It is such an immense pleasure to work with this team, and it makes me so excited to make this product open source.

Let’s work together to make Proof as good as it can be:

github.com/EveryInc/proof…
@every want to try proof?

give your agent this doc and it'll write a doc with everything it knows about how to work with you well:

proofeditor.ai/d/5hl0bj6a?tok…
Read 4 tweets
Jan 5
I just showed the team our 2026 roadmap. I got so psyched that I wanted to share it with you too.

Here's our full 2026 strategy.
Every is built around three things:

Ideas. Apps. Training.

Everything connects to that mission. And this year, everything we build will connect to each other. Image
We run on a loop:

- Live in the future together.
- Write what we see.
- Build what's missing.
- Teach what works.

Writing is the engine. Force yourself to articulate what you're seeing, and you make that future visible to everyone else. Once you've named it, it's obvious what to build next.Image
Read 11 tweets
Apr 16, 2025
o3 is out and it is absolutely amazing!!

i've been playing with it for a week or so and it's already my go-to model. it's fast, agentic, extremely smart, and has great vibes.

some of my top use cases:

- it flagged every single time I sidestepped conflict in my meeting transcripts
- it spun up a bite‑size ML course that it pings me about every morning
- it found a stroller brand from one blurry photo
- it coded a new custom AI benchmark in record time
- X‑rayed an Annie Dillard classic and found writing tricks I’d never noticed before
- it even analyzed @every’s org chart to tell me what we’ll be good at shipping, and what our weaknesses are

my full review is on @every now!Image
Read 9 tweets
Apr 10, 2025
ChatGPT just got an INSANE new memory update.

It remembers things about you between chats, in a sophisticated and intelligent way. Best prompt to try?

“Tell me some unexpected things you remember about me” Image
Image
Image
Read 8 tweets
Mar 6, 2025
Now that computers can do squishy, intuitive thinking we’re moving beyond our obsession with rationalism.

It’s why everyone in AI talks about vibes and big model smell—we need something else to describe the level of complexity computers can handle now.
The predominant metaphor for business and technology in the 2010s was science. That’s why we used words like hypothesis, theory, and feedback loops.

Now that we’re using words like vibes, the metaphor is shifting to art.
The shift from science to art implies something else;

In the 2010s startups needed to solve a well-defined problem, to find the “truth” about a customer or a market. This is all very science-y.

If the new metaphor for startups is art…then startups should pursue beauty, not truth.
Read 5 tweets
Jan 26, 2024
HOLY SHIT they built it Image
I wrote about this as an idea in December. Can't believe it happened so soon! Image
Also wrote about something like this in November: Image
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(