I am an ACCA AFFILIATE and I created my first AI Chrome Extension with help of ChatGPT

I am an ACCA AFFILIATE and I created my first AI Chrome Extension with help of ChatGPT

I am an ACCA affiliate, and with the assistance of ChatGPT, I have successfully created my first Chrome extension,This is my Story.


I wanted an extension that utilizes the OpenAI API to provide answers to my questions directly within the browser's textbox. However, the extension came with a price tag of approximately $50 or around 4000 rupees.


I also came across someone who managed to create a similar extension with the help of ChatGPT, which inspired me to give it a try myself.


Previously, I attempted to learn extension creation by watching YouTube videos, but I found it quite boring. This time, I decided to take a hands-on approach and learn by doing.


?The First Failure


Initially, I attempted to prompt ChatGPT to generate code for creating an extension that met my requirements. However, the code it provided did not work properly. I am currently using the free version of ChatGPT, and it generated a manifest v2 Chrome extension, which is no longer supported .


?Started to Click?


So I decided to search for extensions on GitHub to find inspiration. I searched on Google for Chrome extensions and, since I have some coding knowledge, I was able to understand parts of the code. However, there were still some lines of code that I couldn't comprehend fully.


?The Benefit of ChatGPT?


The biggest benefit I found with ChatGPT was its ability to explain the code that I couldn't understand initially and assist me in making modifications.


?The First Step?


The first challenge I encountered was obtaining input from the textbox. I tried different methods. Finally, I stumbled upon a Medium article and I modified the code, and I successfully managed to console log all the input from textbox.


?The Second Step?


The next step was to send the input to OpenAI and receive a response. For this task, I referred to an open-source extension that had a similar requirement. I extracted the code responsible for sending the input and waiting for the response from OpenAI.


?The Third Step?


The third step involved changing the value of the input box to the response received from OpenAI, which was a fairly simple task.


?Success?


Finally, I was able to develop the extension according to my requirements, and I felt elated.


As an accountant with a basic understanding of coding, I successfully created my first extension without taking any formal courses. With the assistance of ChatGPT, I was able to comprehend and modify the code that was difficult to understand initially. I drew inspiration from various sources and brought my extension to life.


This era is truly incredible! It's a time when anyone can create their own tools with the help of ChatGPT and a little bit of effort.

Vivek P Vinoj

Experiened Senior at PwC UK || Ex-EY.

1 年

Way to go man !! Fuhad Abdulla

要查看或添加评论,请登录

Fuhad Abdulla的更多文章

社区洞察