Video tutorial · The Metaverse Guy
How I Built a Full-Stack Portfolio Site with GLM 5.2
A step-by-step guide to building a portfolio website with a chatbot and newsletter backend using the KiloCode plugin in VS Code.
- Published
- 23 June 2026
- Length
- 9 min
- Views
- 3,745 views
In this article, I walk through building a functional portfolio website entirely with GLM 5.2 and the KiloCode extension in VS Code. I used guided prompts to generate the frontend, integrate a chatbot, and set up a newsletter backend without hand-coding every line. The tutorial shows how to maintain control over the AI-generated output and get a working site.
Setting Up the Environment
I started by installing the KiloCode extension in VS Code. KiloCode connects directly to GLM 5.2, allowing me to prompt the model from within the editor. Once installed, I configured the plugin to use the GLM 5.2 model so I could start generating code immediately.
Generating the Portfolio Frontend
I prompted GLM 5.2 to create a responsive portfolio layout. By providing specific requirements, such as sections for projects, about, and contact, I got a solid foundation in a few iterations. The model handled the CSS and structure, and I only needed to tweak the content.
Integrating a Chatbot
Next, I added a chatbot component. I described the chatbot’s appearance and basic functionality, and GLM 5.2 generated the frontend code. This involved creating a chat window and input field that could later connect to a backend service.
Building the Newsletter Backend
For the newsletter feature, I guided the model to set up a backend endpoint. I specified the data flow—collecting email addresses and storing them—and GLM 5.2 produced the necessary logic. KiloCode helped me scaffold the API routes without writing the boilerplate from scratch.
Controlling and Refining AI Output
Throughout the process, I emphasised the importance of guiding the AI. Instead of accepting all generated code blindly, I reviewed each suggestion, requested changes, and gave targeted prompts. This kept the output aligned with the project’s needs and taught me how to work effectively with AI coding assistants.
Tools used in this video
- GLM 5.2
- KiloCode
- VS Code
Questions
- What is GLM 5.2?
- GLM 5.2 is an open-weights large language model from Z.AI, designed for strong coding and reasoning performance. I used it through the KiloCode plugin in VS Code.
- Do I need to be an expert coder to follow this tutorial?
- Basic familiarity with VS Code and web development helps, but the tutorial shows how prompts can generate most of the code. You’ll learn to guide the AI even if you’re not writing everything from scratch.
- Can I use this method for other website types?
- Yes, the same approach—breaking the project into guided prompts—works for any site. The key is learning how to structure your requests to the model.
- What is the KiloCode plugin?
- KiloCode is a VS Code extension that lets you interact with various language models, including GLM 5.2, directly from your editor. It simplifies sending prompts and receiving code suggestions.
Video description and links
This article was written from the video's description with the help of AI. Watch the video for the full walkthrough.



