Code with ChatGPT: How AI can help when contributing to open source
In this video, I use an AI assistant called ChatGPT to help me fix an issue with capturing videos and iframes in a library/dependency called html-to-image.
I show you how ChatGPT guides me through the process of identifying and fixing the issue, and how it helps me write the pull request and provide a description for the changes I made.
ChatGPT provides valuable insights and suggestions that make it easier for me to understand the issue, come up with a solution, and write the pull request in a clear and concise manner.
0:00 Let's Contribute with ChatGPT!
0:35 Demo issue with html-to-image in daedalOS
3:50 Explain the issue
5:07 Help me fix the issue
6:50 Here's some code from it, does this help?
8:11 Let's refactor this
9:40 I don't want that, I want this
10:36 I need the result to be like this
11:33 Can I use this?
12:43 What if I want less than modern support?
14:28 Looks good, let's PR it
15:29 Help me fork it
18:49 Let's write the code
21:14 Let's fight with building
21:45 Was it cache, code or copy?
24:00 Will figure it out, moving to iframe...
26:35 Ah ha! I missed a spot
28:04 Let's branch, commit & push it
31:39 Let's make a pull request
32:00 Help me write a PR description
37:16 Is this good enough?
39:00 How'd we do? Thanks for watching!