Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Submit ChatGPT prompts on a web page to mutate the same web page (chatpage.herokuapp.com)
7 points by derwiki on May 8, 2023 | hide | past | favorite | 6 comments



I had it change to dark mode, then when I asked it to add a tasteful picture of a chicken to the center of the screen and it reverted back to white (sans chicken). Maybe someday I will get my text-to-dark-mode-tasteful-chicken-picture-landing-page generator, but it seems that day is not today.


Caveats:

- if you ask for too large of changes, it will hit the token limit and crash

- ephemeral storage; once the Heroku dynos restart, your page is gone

Example prompts:

- "make it look like geocities"

- "add a vertically centered red square", "make the red square spin clockwise every 5 seconds", "when I click on the red box change it to a random color"

- "add a 100px tall skull and crossbones unicode"

http://github.com/derwiki/chatpage


This is a really cool project. Feels like a really neat tool that could be integrated into something like Wordpress to improve the customization of the sites.


This is a very interesting concept. this is a very interesting concept. It is like putting the idea of GPT creating websites on steroids.


Amazing experience. Can't wait to see when this hits 1.0. What are the ways to avoid hitting the token limit?


Fun! Got a rickroll and red background, but anything more complex didn't happen. Then Heroku crashed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: