Code in a new way with a GPT

Code in a new way with a GPT

On this anniversary, a year since chatGPT was released, it's probably time to build something exciting. I like reasoning out code with chatGPT, but I dislike that it forgets what I'm working on, so I tried something new.

I built a simple API that can list the contents of folders, read files, and return a tree of the folder structure. Then, I connected the API to a project I'm working on. And finally, I connected the API to a GPT. Voila! Now I have a bot that knows my code without forgetting it, that keeps up with changes in the project. It actually turned out quite well.

Imagine being able to create code with commands like:

In the blueprint for auth login there is a submit button that I want to style so that it looks similar to other buttons in the project.

Or why not something like:

Looks great, can you add a button for password recovery and the necessary endpoints? Use the files in the API and give me the changes that need to be done.

And the spooky thing is that it seems to work extremely well.


That’s… a great use actually. Who knows, maybe it can reas git repos eventually.

回复

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

Anders Bjarby的更多文章

社区洞察

其他会员也浏览了