Hacker News new | ask | show | jobs
by padolsey 1143 days ago
I usually ask it to write me a nextjs app and deploy it to vercel. It gives me a few commands and files to plop in the right directories. E.g. `npx create-next-app foo; cd foo; ...; vercel --prod;`. Often I only make a couple changes then 5 mins later it can be deployed for free on vercel. Eg, it took me a couple mins to create a lil app to enable a user to drag/drop words of your sentence. I asked chatgpt (gpt-4) the following: "Write me a nextjs app (and deploy to vercel) that shows the sentence 'Anyone have any good examples or tutorials of specifically how to use ChatGPT for greenfield code development ?' but each word is draggable and re-arrangeable such that a user can drag any word to anywhere in the sentence. Add a randomize button too."

See the result here : ) https://dndexamplehn.vercel.app/

It's incredibly empowering to be able to easily spin up little proofs-of-concepts or bootstrapping larger projects. I think all the naysayers have not experienced its power yet.

1 comments

I've thought it would be cool to see something like this:

1. Go on Twitter and find a famous account (for visibility). Maybe they say something like, "The data shows..."

2. Pop into ChatGPT and create a data viz.

3. Deploy to Vercel.

4. Go back to Twitter, post the link, enhance the convo, naturally gain followers in exchange for providing that value.