Introduction
Recently, I set out to build a website to help grow my personal brand as a full-stack developer. Little did I know, the AI-powered GPT-4 language model would play a significant role in guiding me through the process. In this post, I’ll share my experience of creating my website with ChatGPT’s assistance, from planning to execution.
Building My Website with ChatGPT Guidance
Exploring Free Options for Personal Website Creation
During the process of creating my personal website, I asked ChatGPT about various platforms where I could build and host my website for free. ChatGPT provided a list of popular options:
Click to reveal the ChatGPT answer
I asked ChatGPT several questions to compare the platforms and ultimately decided on Cloudflare Pages as the best fit for my needs. When choosing a platform, consider factors such as ease of use, customization options, and available features. As a web developer, you may prefer a platform that allows you to showcase your coding skills, like GitHub Pages, Netlify, Vercel, or Cloudflare Pages. However, if you want a more user-friendly option with a drag-and-drop editor, Wix, Weebly, or WordPress.com might be a better fit. Keep in mind that using a custom domain and removing platform branding usually requires upgrading to a paid plan.
Building a Personal Website on Cloudflare Pages with Hugo framework
I asked ChatGPT if it could generate all the necessary files (HTML, CSS, JavaScript, etc.) and provide step-by-step instructions to build my website on Cloudflare Pages.
ChatGPT provided a detailed guide on creating a personal website with a blog using Cloudflare Pages and the Hugo static site generator. Here are the steps:
To create a personal website with a blog using Cloudflare Pages, we’ll use a static site generator called Hugo. Hugo is fast, easy to use, and supports themes and templates to quickly build a professional-looking site. Follow the installation instructions on the official Hugo website (https://gohugo.io/getting-started/installing/). Open a terminal or command prompt, navigate to the folder where you want to create your site, and run: Browse the Hugo themes gallery (https://themes.gohugo.io/) and choose a theme for your site. For this example, we’ll use the “Stack” theme Navigate to your site’s folder (alexkhram), then run: Edit your config.toml file in the root of your project and add the following line: Create a new post in the content/posts folder: Edit the my-first-post.md file and add your content in Markdown format. Set draft: false in the front matter to publish the post. Edit the config.toml file to add your personal information and site settings. Replace the [params] section with your information: Run hugo server and open http://localhost:1313 in your browser to preview your site. Create a new Git repository on GitHub, GitLab, or Bitbucket. Then, commit your site’s files and push them to the repository: Replace https://github.com/your-username/alexkhram.git with the URL of your Git repository. Now your personal website with a blog is live on Cloudflare Pages and accessible at your custom domain, alexkhram.com.Click to reveal the ChatGPT answer
Step 1: Install Hugo
Step 2: Create a new Hugo site
1
hugo new site alexkhram
Step 3: Choose a theme
Step 4: Install the theme
1
2
git init
git submodule add https://github.com/CaiJimmy/hugo-theme-stack.git themes/stack
1
theme = "stack"
Step 5: Add content
1
hugo new posts/my-first-post.md
Step 6: Customize your site
1
2
3
4
5
6
[params]
author = "Alex Khramenkov"
description = "Full-stack Web Developer | Symfony and Ibexa Expert"
githubUsername = "alexkhram"
linkedinUsername = "alexkhram"
email = "[email protected]"
Step 7: Test your site locally
Step 8: Push your site to a Git repository
1
2
3
4
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/your-username/alexkhram.git
git push -u origin master
Step 9: Deploy your site on Cloudflare Pages
By following these steps and regularly maintaining your website, you’ll have a professional online presence to showcase your expertise and connect with others in your industry. If you don’t understand some steps, just ask ChatGPT to describe the steps more in detail. Don’t hesitate to experiment with different features and configurations to create a website.
Customizing the Website
ChatGPT also helped me customize the website to make it unique and engaging. For instance, the AI suggested ways to make my favicon more circular and transparent, and how to replace an emoji with a custom PNG image in the sidebar. Additionally, ChatGPT guided me through the process of creating a Contact page with a functional form, allowing visitors to easily get in touch with me.
To further enhance my website’s visual appeal, I used another AI tool called Midjourney to generate captivating images. This combination of AI-powered tools enabled me to create a personalized and aesthetically pleasing online presence.
The Final Result
By following ChatGPT’s guidance and putting in some effort, I successfully built and launched my personal website (https://alexkhram.com/), which allows me to grow my personal brand. The website now features my blog, information about my expertise, and a way for visitors to get in touch with me.
And it’s amazing. Now even people without web development knowledge can create a website simply by adhering to ChatGPT’s step-by-step guidance. If you’re looking to build your own website, don’t hesitate to give ChatGPT a try.
I’ve been using AI (specifically, GitHub Copilot) for more than a year for my work, but ChatGPT is an absolutely new experience. The AI proved to be a valuable resource in helping me navigate the process, troubleshoot issues, and customize my site.
While AI can’t replace web developers yet, web developers who use AI will have a significant advantage compared to those who don’t.