Sarwesh Shah

View Original

I co-created a Chrome Extension using ChatGPT

Its been a long time since I had written code by myself. My Instagram page muteartcollective has not seen any activity in the past one year and I was feeling recently that I am loosing touch of an important skill. I must confess that programming and the knowledge of systems has only helped me develop and realize my ideas in the past but have also helped me organize my thoughts in a better manner and thus made me a better designer.

Meanwhile, I have been researching about and working on AI-enabled applications for the last ~2 years. I have particularly been interest in completing long complex tasks with the help of AI rather than simple uses like proofreading, or generating a plan to throw a birthday party! 😀 This works perfectly when it comes to enterprise data and workflows where use-cases are formalized and actions are more well defined. While researching about this use-cases I went through a lot of product demos on YouTube and wanted to collect some snapshots from the video I watched. Normally, I used the Screenshot app on Mac and followed these steps:

  1. Expand the video to a full-screen mode so that there were no distracting elements on the screen and the image size would be as large and clear as possible.

  2. Press Ctrl + Shift + 3 to take a screenshot of the entire screen.

  3. Rename the file to match the video title and time elapsed.

This method was turning out to be a pain considering that these demos videos could go as long as 1 hr and there were 100 images I had to capture in the process. So, I decided to create a Chrome extension for the same. But the trouble was I had never developed one and I did not know who to begin. If only someone who had an expertise in this could help me... In came ChatGPT! It turned out to be a very educating exercise as now ChatGPT not only wrote the code based on my requirements but also taught be what and how it was doing what it was doing.

The final result was a Chrome extension that I published on Chrome store.
You can find the ongoing Github repository for the extension here.