from Hacker News

Show HN: A Chrome Extension I built with ChatGPT in an hour

by hbroadbent on 2/28/24, 8:37 PM with 0 comments

Hey HN, just wanted to show of something I built with ChatGPT over the weekend.

I'd never built a Chrome extension before, but ChatGPT was able to help me:

- write the entire manifest.json file

- write 90% of the javascript, including hooking into the chrome apis

- navigate around Chrome extensions blocking CDNs by just downloading the entire script I was trying to load (TailwindCSS in this case)

- correctly tweak the behaviour of the extension as prompted

This is the first time I've ever built a Chrome extension and I was surprised at how helpful GPT4 was. I use GPT4 a lot day-to-day at work, but it felt a lot more effective working on this tiny extension. but I guess the small scope of the Chrome extension let it keep almost all of it within its context and it basically nailed everything I asked.

The Chrome extension itself lets you create sharable Amazon cart links, and GPT4 was able to grok the API easily.