How to Build a ChatGPT Chrome Extension

  Рет қаралды 2,940

codewithbrandon

codewithbrandon

Күн бұрын

ChatGPT is taking the world by storm, and developers who master it are cashing in BIG TIME! Want to join the club? You're in the right place!
In today's video, I'm going to walk you through building a ChatGPT-powered Chrome extension from the ground up. We'll be using cutting-edge tools like ChatGPT, React, and TailwindCSS to create a sleek and functional extension.
But wait, there's more! We're not just building any ordinary app. We're creating a Chrome extension that has the potential to become a profitable micro-SaaS.
📝 Our extension is designed to help job seekers effortlessly craft compelling cover letters as they apply for jobs. With just a few clicks, users can generate personalized and professional cover letters that are sure to impress potential employers.
Here's what you'll learn in this tutorial:
- How to set up a ChatGPT-based Chrome extension
- Building the user interface with React and TailwindCSS
- Leveraging ChatGPT to generate custom cover letters
- Turning your extension into a potential micro-SaaS business
Ready to start making that magical internet money? Let's get started! 👩‍💻👨‍💻
Resources:
- Source Code: brandonhancock.io/chatgpt_chr...
- Detailed Overview of ChatGPT API: • ChatGPT API Javascript...
- ChatGPT API documentation: openai.com/blog/introducing-c...
- Chrome Extension Documentation: developer.chrome.com/docs/ext...
- Icons8: icons8.com/icons/set/linkedin-ai
- Favicon Generator: realfavicongenerator.net/
- React Icons: react-icons.github.io/react-i...
Timestamps:
00:00 Introduction
00:37 Project Overview
01:28 Code Overview
04:30 Create React Project
06:18 Code UI Components - Generator
11:30 Code UI Components - Profile
14:48 Routing
18:44 Profile Page Logic
22:11 Local Storage Helper
27:20 Chrome Extension Setup - Manifest
29:32 Create Icon For You Chrome Extension
30:52 Background.js
36:01 Deploy Chrome Extension
36:45 How to Debug Chrome Extensions
38:59 Fetch Job Description on Frontend
42:33 Generate Cover Letter with ChatGPT
48:03 Create OpenAI Developer Key
49:17 Final Touches
51:22 Error Handling
53:10 Final Results
54:10 Recap
👍 If you find this video helpful, please give it a thumbs up and subscribe to the channel for more awesome tutorials!
#ChatGPT #ChromeExtension #React #TailwindCSS #CoverLetter #MicroSaaS #PassiveIncome #JobSeekers #Tutorial #Coding #Developer

Пікірлер: 14
@tanguyvansnick3954
@tanguyvansnick3954 11 ай бұрын
Hey Brandon, loved the tutorial. I am trying to build a Chrome extension that would integrate chatGPT and your video was a huge help.
@sergiofitch4378
@sergiofitch4378 20 күн бұрын
This is almost exactly what I was looking for. If I'm trying to not have the user use their own API key, what would be the best course of action given chrome's policies? I'm thinking connecting to a database (firebase?), storing my API key there, running the prompts on the back end and then returning just the text to the client side. Does this sound like an efficient course of action?
@user-kr1wg8qf2u
@user-kr1wg8qf2u Ай бұрын
loved this tutorial, thank you for sharing!
@enflure2792
@enflure2792 7 ай бұрын
Great tutorial ! I subscrribed to your newsletter !
@tantowi2222
@tantowi2222 2 ай бұрын
Thanks, good tutorial.🥰
@user-no5wj3wo8v
@user-no5wj3wo8v Жыл бұрын
Hey Brandon, great tutorial. Thank you very much for explaining it so thoroughly. I'm just getting started in building Chrome extensions and this helped me tremendously! What app are you using for mapping out the app (Code overview part)?
@bhancock_ai
@bhancock_ai Жыл бұрын
Hey! I'm glad the video helped you out. If you need any help with your Chrome Extension, feel free to shoot me a DM on twitter (twitter.com/bhancock_io). I'd be more than happy to help point you in the right direction1 Also, excalidraw.com/ is the website I used for mapping out the code. They have a free tier so I definitely recommend trying it out for yourself to see if you like it!
@user-lv7ki2er4p
@user-lv7ki2er4p 4 ай бұрын
Hi Brandon, thanks for video, this is exactly what I needed. had a question in regards to the API key, say I allow the users to enter their own api key, how to I make sure this is secure? is what you have done enough to secure the users information ?
@bhancock_ai
@bhancock_ai 4 ай бұрын
Hey! So the quick and simple answer is to use local storage. However, malicious scripts could end up scraping your user's OpenAI keys. So, if you need to securely store the keys locally, I'd recommend encrypting the keys before storing them. Please check out this article for more steps: javascript.plainenglish.io/secure-client-side-storage-data-using-with-web-crypto-react-js-typescript-f43944fad7b3 Also, this is a great question so I've added it to my video queue to make a video about this as soon as I wrap up the current videos I'm working on.
@user-lv7ki2er4p
@user-lv7ki2er4p 4 ай бұрын
@@bhancock_ai wow didn't expect such quick response, thank you so much! this channel is one of the best in the space, cannot wait to see what you doing next.
@andreweck6235
@andreweck6235 11 ай бұрын
Awesome!
@BHancock9598
@BHancock9598 11 ай бұрын
I’m slowly going to try to convert you to a developer 😂
@loveforfood8243
@loveforfood8243 8 ай бұрын
where can I find source code of this. its not on your github
@bhancock_ai
@bhancock_ai 8 ай бұрын
Hey! If you head over to my website, brandonhancock.io/, you will see how to access all of my github projects. Please let me know if you need any other help!
How to Chat with YouTubers | LangChain, ChatGPT, & Pinecone
15:53
codewithbrandon
Рет қаралды 943
7 ways to deal with CSS
6:23
Fireship
Рет қаралды 1,1 МЛН
Ну Лилит))) прода в онк: завидные котики
00:51
GPT4o + CrewAI: Twice as fast? Half the Cost?
13:30
codewithbrandon
Рет қаралды 12 М.
Is ChatGPT actually useful for coding?
21:40
Web Dev Cody
Рет қаралды 342 М.
7 better ways to create a React app
7:08
Fireship
Рет қаралды 516 М.
Create a Chrome Extension (Manifest V3) for ChatGPT
1:09:55
Alejandro AO - Software & Ai
Рет қаралды 8 М.
5 AI SaaS Ideas You Can Build in 2024
10:00
codewithbrandon
Рет қаралды 6 М.
CrewAI Tutorial: Complete Crash Course for Beginners
1:05:43
codewithbrandon
Рет қаралды 135 М.
Build a Chrome Extension - Course for Beginners
1:06:25
freeCodeCamp.org
Рет қаралды 538 М.
CI CD наглядные примеры
22:08
Ulbi TV
Рет қаралды 267 М.
Power up all cell phones.
0:17
JL FUNNY SHORTS
Рет қаралды 50 МЛН
iphone fold ? #spongebob #spongebobsquarepants
0:15
Si pamer 😏
Рет қаралды 593 М.
Apple watch hidden camera
0:34
_vector_
Рет қаралды 54 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11