How to start a personal blog site in 2025



--2025了如何搭建一个个人博客
我每年都写一篇类似的文章,关于如何搭建一个个人博客的。
I write about this topic every year :: how to start a personal blog site.
从古老的PHP + MySQL搭建WordPress到GitHub Pages,再到NextJS + Sanity。
From ancient WordPress site via PHP + MySQL to GitHub Pages, and to the most recent NextJS + Sanity solution.
2025了,有没有其他更简单的方法呢?毕竟在这个时间就是金钱的时代,搭建一个博客的难度和时间会把绝大多数人的写作热情浇灭。
Now it's 2025, do we have any other easier ways? Most people couldn't even start thinking about it due to the complexity setting up a personal blog site.
现在有了Firebase Studio(帮你写代码的),再加上Github(帮你保存代码的),搭建一个个人博客只需要10分钟。
With Firebase Studio who writes code for you and GitHub who helps you host code, setting up your personal blog site can be done in 10 mins.
第一步,登陆Firebase Studio并让它帮你写一个个人博客站,大概耗时2-5分钟,基于你对UI的要求。同步写好的代码到你的GitHub新repo。
Step 1, go to Firebase Studio and ask it to code a personal blog site for you. It would take 2-5 mins base on your UI requirements. Synchronize the generated code to your GitHub account with a new repo.
a nextjs blog site which allows admin user to manage posts and write back files to github repo
第二步,着开发者设置里新建一个GitHub OAuth Apps并记录id和secret,把这些记录到你的GitHub新repo的env里
Step 2, create a new GitHub OAuth Apps under developer settings and note its id/secret. Update these info into the env file of your SYNCed repo.
第三步,确保配置正确后发布你的博客站到Google或者到Vercel,记得把发布好的地址添加到GitHub OAuth Apps的Homepage URL和Authorization callback URL里,完成了
Step 3, publish your site to Google or if you prefer Vercel. Just remember to update the Homepage URL and Authorization callback URL in your GitHub OAuth Apps to the correct published url.
没有第四步了,这就完成了!你有没有发现我们一行代码都没写就完成了所有?更神奇的是这些都能在浏览器完成,也就是说只要有一部能上网的手机,或者平板,普通人都能短时间做到这一切!
There's no Step 4! Did you realize that we just finished everything without writing a single line of code? And what's more, everything was done with just a browser? Which means anyone with a cellphone or pad can do this in a very short time!
我用Vercel把博客部署在了自己的二级域名下面。Check my deployed test blog here:https://firebase-blog.jacklearn.tech/
它有基本的通过GitHub登录的功能以及直接添加新博客的功能。It has basic functions like login by GitHub (only me as admin now) and write new blog posts.
最后是一些截图,我是如何用iPhone 12 mini完成这一切的。Check my original article in LinkedIn for more screenshots:
https://www.linkedin.com/pulse/how-start-personal-blog-site-2025-jack-bu-o8zac/