
I know the practice is frown upon, but I did some vibe coding recently for the first time.
I don’t know how to code. I understand some basics, like the “if this do that, else do something else” or the concept of using a database to store and retrieve data, but when it comes to write code, I don’t know how to do it.
Even with this limitation, over the years I have done a few things PHP. It often involves many attempts and using existing code as base, but it has been enough to create basic WordPress themes (like the one I’m currently using here) and add small features. I have a page that allows me to upload files when I want to share them online. And I’ve also been using bash scripts and crons to do tasks ranging from backups to other maintenance tasks.
With the exception of the WordPress themes, nothing is exposed to the internet and I’m also the only person using these tools, so I don’t have to worry about the code not being super secure or have to account for every edge case. That’s why I’m confident enough to do this.
Recently, I was looking at my upload page and I wasn’t happy with it. It didn’t have a dark theme, the code could handle name collisions, but not in a smart way, and file name sanitisation worked, but wasn’t perfect (e.g.: if a file name had two spaces, it would add two “_” or remove characters like “à” instead of converting them to “a”). It would be nice if I could improve it and since people have been using “AI”/LLMs to code, I decided to give it a try and learn more about it in the process.


