fine886
V2EX  ›  Blogger

如何搭建个人博客

  •  
  •   fine886 · Apr 2, 2024 · 15808 views
    This topic created in 955 days ago, the information mentioned may be changed or developed.

    大家有搭建个人博客比较详细的教程吗 类似于这种 https://luolei.org/?category=lifestyle&page=1

    90 replies  •  2025-03-05 13:48:11 +08:00
    QUC062IzY3M1Y6dg
    QUC062IzY3M1Y6dg
    Apr 2, 2024❤️1
    1
    这个是基于 vitepress 的,源码 https://github.com/foru17/luoleiorg
    直接 fork 改内容即可
    hnliuzesen
    hnliuzesen
    Apr 2, 2024❤️1
    2
    可以直接看 [hexo]( https://hexo.io/zh-cn/) 的文档,有中文,也挺详细
    XuHuan1025
    XuHuan1025
    Apr 2, 2024❤️1
    3
    github 找个喜欢的主题项目 fork 就行,用 netlify 自动部署
    4s4IYOLfT1s3InRR
    4s4IYOLfT1s3InRR
    Apr 2, 2024
    4
    hexo
    root71370
    root71370
    Apr 2, 2024❤️1
    5
    使用 halo https://halo.run
    root71370
    root71370
    Apr 2, 2024❤️1
    6
    基于 halo 搭建的 https://blog.focc.cc
    totoro625
    totoro625
    Apr 2, 2024❤️1
    7
    从零开始建议使用 WordPress
    前期可以先学习使用,可以在 https://wordpress.com/ 直接注册个账户试试发点内容
    熟悉了之后再尝试自建
    CHTuring
    CHTuring
    Apr 2, 2024
    8
    1 、打开: https://astro.build/themes/
    2 、选择你喜欢的模版
    3 、点击右侧的 Deploy to Vercel

    好了,你就拥有了一个 Astro 博客
    bhwa233
    bhwa233
    Apr 2, 2024
    9
    notionnext 一键部署
    huolong
    huolong
    Apr 2, 2024❤️1
    10
    我写的从购买服务器到 WordPress 博客网站上线的教程,你可以参考一下: https://vwo50.club/archives/1052.html 希望能帮助到你
    rb6221
    rb6221
    Apr 2, 2024
    11
    什么条件都没有吗
    你会编程方面的哪些知识?到什么程度?
    你愿意付钱吗?你可以进行海外付款吗?
    你会写代码和一些人工部署的活吗?
    你对网站打开速度有要求吗?
    你需要评论和回复功能吗?
    leonfong
    leonfong
    Apr 2, 2024❤️1
    12
    博客效果: https://cali.so/
    博客源码: https://github.com/CaliCastle/cali.so
    视频教程:Cali 手把手教你快速部署个人博客网站 https://www.bilibili.com/video/BV1kH4y157xg
    SenLief
    SenLief
    Apr 2, 2024❤️1
    13
    当你问出这个问题的时候,v2 推荐的大多数都不适合你了,直接花点钱吧。
    1874w
    1874w
    Apr 2, 2024❤️4
    14
    云平台写作 + Elog 同步 + Hexo/Vitepress/Halo 博客部署

    [开箱即用] Notion + Hexo + GitHub Actions + Vercel 博客解决方案
    网站: https://notion-hexo.vercel.app/
    Github: https://github.com/elog-x/notion-hexo

    [开箱即用] 语雀 + VitePress + GitHub Actions + Vercel 文档站点解决方案
    网站: https://yuque-vitepress.vercel.app/
    Github: https://github.com/elog-x/yuque-vitepress

    [开箱即用] FlowUs + Elog + Halo + GitHub Actions 博客解决方案
    Github: https://github.com/elog-x/flowus-halo

    [开箱即用] Notion + Elog + Halo + GitHub Actions 博客解决方案
    Github: https://github.com/elog-x/notion-halo
    ben666
    ben666
    Apr 2, 2024
    15
    自己手写了一个:
    - github 上建个仓库
    - 文章用 markdown 写
    - 手写了一个 HTTP 页面,用 js 把 markdown 转成 html
    - cloudflare 会自动部署, 运行一个脚本做一些初始化

    效果: https://dperf.org/
    JingXiao
    JingXiao
    Apr 2, 2024
    16
    直接 notion 写 然后分享出去就完事了
    cheungkintong
    cheungkintong
    Apr 2, 2024❤️1
    17
    这是我写的小学生博客,能否给我个 start ,这辈子没见过
    https://github.com/kintong3000/kintong3000.me

    这是我的博客
    kintong3000-me.vercel.app
    justingates
    justingates
    Apr 2, 2024
    18
    @XuHuan1025 大佬 有没有具体的操作流程
    visionsmile
    visionsmile
    Apr 2, 2024
    19
    hexo 或者 Hugo 都行
    seekafter
    seekafter
    Apr 2, 2024
    20
    基于 halo 的,[筱筱动力](www.xxdl.xyz)
    基于 wordpress 的[ezrpa](www.ezrpa.cn)
    QSFV6GhF5QyErDs2
    QSFV6GhF5QyErDs2
    Apr 2, 2024
    21
    基于 halo 搭建的 https://www.51fire.xyz/
    cheungkintong
    cheungkintong
    Apr 2, 2024
    22
    @justingates 还是要看项目类型,比如 cali 的博客就可以这样做

    这里引用 12 楼
    > 博客效果: https://cali.so/
    > 博客源码: https://github.com/CaliCastle/cali.so
    > 视频教程:Cali 手把手教你快速部署个人博客网站 https://www.bilibili.com/video/BV1kH4y157xg
    cheungkintong
    cheungkintong
    Apr 2, 2024
    23
    @cheungkintong 这个项目功能不是很完善,是我自己拿来练手的,后期可能会完善一下
    admol
    admol
    Apr 2, 2024❤️1
    24
    https://vercel.com/templates/astro/astro-paper

    用这个直接部署,白嫖 vercel + github + cloudflare
    效果:
    - https://astro-paper.pages.dev
    - https://jingling.im
    virgilchiou
    virgilchiou
    Apr 2, 2024
    25
    https://virgilchiou.com 基于 Typecho 搭建
    biumall
    biumall
    Apr 2, 2024
    26
    https://www.91es.com/ 基于 wordpresss 简单 买个主题 随便折腾
    aahao
    aahao
    Apr 2, 2024
    27
    @cheungkintong #17 有一个 star 了
    vicacheung
    vicacheung
    Apr 2, 2024
    28
    NotionNext 自动部署
    https://www.v2cu.com/
    biechuli
    biechuli
    Apr 2, 2024❤️1
    29
    可以参考我的博客搭建过程: https://blog.zshnb.com/2023-10-10-build-blog-guide.html
    persimmon
    persimmon
    Apr 2, 2024❤️1
    30
    wszzh
    wszzh
    Apr 2, 2024❤️1
    31
    自己写的一个教程: https://wszzf.top/2022/12/19/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/

    用的是 Hexo 、GitHub Pages OP 可以参考一下
    guqing
    guqing
    Apr 2, 2024
    32
    基于 halo 搭建: https://guqing.io 👨‍💻
    szdev
    szdev
    Apr 2, 2024
    33
    看侧重哪方面,如果从商用价值和盈利方面 wordpress 绝对是王者,最方便 seo 和介入谷歌广告了
    fxxkbioinfo
    fxxkbioinfo
    Apr 2, 2024
    34
    用的 docusaurus+vercel 部署,魔改了部分样式

    https://www.wjwei.blog/
    XuHuan1025
    XuHuan1025
    Apr 2, 2024
    35
    @justingates https://docs.astro.build/zh-cn/ 文档全中文,东西很全,项目也比较新
    XuHuan1025
    XuHuan1025
    Apr 2, 2024
    36
    @XuHuan1025 #35 https://astro.build/themes/ 这个里面找个爱的主题,点进去时 git 项目 fork 下来就能启动,用上面的一些自动化部署都是免费的,十分钟搞定,类 js,改起来也简单
    Cineray
    Cineray
    Apr 2, 2024❤️1
    37
    好像没有人用 Publii + OSS 的方案,优点是成本 1 个月不到一毛钱,稳定访问,写博客有专门多平台 UI 客户端。

    缺点是主题相对较少,但是可以自己 DIY ,开源免费。

    贴一个教程吧: https://blog.cineray.net/blog-init.html

    大概 30 分钟内就能从 0 部署上线还挺快的。
    gvdlmjwje
    gvdlmjwje
    Apr 2, 2024
    38
    随便找个 vps 有 wordpress 的模板的 下一步下一步就完了
    crushark
    crushark
    Apr 2, 2024❤️1
    39
    动态的一般就 WordPress ,静态选择比较多,Hexo 、Hugo 都行;
    你要看上哪个主题的话一般拉到页面底部都会写 Powered By xxx 之类的可以看到
    MENGKE
    MENGKE
    Apr 2, 2024❤️1
    40
    我的: https://mencre.me

    源码: https://github.com/mk965/mengke.me

    next.js + tailwindcss 开发的,vercel + cloudflare 部署,Umami 、Google Analytics 、Microsoft Clarity 统计📉。


    xiquwugou
    xiquwugou
    Apr 2, 2024
    41
    notion + github action 上面这些都可以很容易切换。
    nagisaushio
    nagisaushio
    Apr 2, 2024 via Android
    42
    https://i.hsfzxjy.site 在 github pages 上

    自己改的一个 hexo 主题 https://github.com/hsfzxjy/byak-hexo
    xiaoxiyiha
    xiaoxiyiha
    Apr 2, 2024
    43
    @cheungkintong #17 请问一下,你这数据库是用的哪家的,也是免费的吗
    liudon
    liudon
    Apr 2, 2024
    44
    cheungkintong
    cheungkintong
    Apr 2, 2024
    45
    @xiaoxiyiha mysql
    小白项目,做着玩的
    cheungkintong
    cheungkintong
    Apr 2, 2024
    46
    这个帖子见到了很多好看的博客😊
    cheungkintong
    cheungkintong
    Apr 2, 2024
    47
    @aahao 第一个是我自己点的,哈哈,后面来了几个大佬帮我点了下,谢谢大家
    chauncychan
    chauncychan
    Apr 2, 2024
    48
    @virgilchiou 好骚,有开源吗哥
    foxkiller
    foxkiller
    Apr 2, 2024
    49
    站长有个 Planet 啊
    基于 IPFS ,可以买个.eth 域名套上
    相当于*.eth.limo 获得一个个人博客。十分地方便。
    markyun
    markyun
    Apr 2, 2024❤️2
    50
    我的模板: https://markyun.github.io/
    这里放出我搜集和对比过的部分技术选型(+A 表示实践体验还不错,其他感觉中规中矩,亦或是不符合我的使用场景)。 看看大家还有没有更好的技术选型推荐。

    ○ Docusaurus (基于 React 生态系统)
    ○ Docsify
    ○ Vitepress ( A ,主题自定义,菜单全自动生成插件)
    ○ Gitbooks (限制多)
    ○ MkDocs ( A ,搭配 Material for MkDocs 主题)
    ○ hugo ( A )
    ○ Jekyll (纯文档库用)
    ○ Astro (纯文档库用)
    ○ Hexo (纯文档库用)
    ○ Pagic (小众、静态站点生成,适合个人文档站点)

    https://markyun.github.io/weekly/
    est
    est
    Apr 2, 2024
    51
    lynan
    lynan
    Apr 2, 2024❤️2
    52
    对新手来说带数据库的博客都不推荐,哪天 VPS 被黑了就 gg 。
    所以我还是比较推荐基于 Markdown 的博客,比如 Hexo 、Hugo ,直接托管到 GitHub ,部署的话可以用 GitHub Pages / CloudFlare Pages / Vercel Pages 的免费服务
    fine886
    fine886
    OP
    Apr 2, 2024
    53
    确实,在这个帖子看到了很多好看的博客,每个博客都有自己的风格和特点,很喜欢大家的分享,也很感谢大家。
    iorilu
    iorilu
    Apr 2, 2024
    54
    太多了, 选择困难症阿
    charlie21
    charlie21
    Apr 2, 2024 via Android
    55
    QQ 空间不好吗
    impdx
    impdx
    Apr 2, 2024
    56
    hexo ,www.impdx.vip
    hexo+github cicd+又拍云+备案
    fuyun
    fuyun
    Apr 2, 2024
    57
    自己开发了一个,特点是自由、灵活。至于教程,网站上总结发布过几篇,可以搜索下(支持全文搜索)。
    源码: https://github.com/ifuyun/ifuyun.com
    主页: https://www.ifuyun.com
    iprime
    iprime
    Apr 2, 2024
    59
    歪个楼。

    这个罗磊是推特蛮活跃,阳光的博主。

    没想到老婆得了肺癌......命运无常啊!
    AsyncX
    AsyncX
    Apr 2, 2024
    60
    Falcon1
    Falcon1
    Apr 2, 2024
    61
    wordpress 一把梭
    jinwyp
    jinwyp
    Apr 2, 2024
    62
    看了一圈 2024 年了 没有一个好用的博客系统
    要求很简单
    1 不要静态生成那种,不知道什么时候出现这种风气。我要的是一个正常的带管理后台的可以正常写文章的界面,如果写 Markdown 代码我为什么不直接编程写。
    2 功能简单但必要功能必须有例如评论系统,很难吗,博客不带评论是 blog 吗?
    3 后端渲染的模板 方便 SEO
    4 需要带后台管理 和 前端页面分开 可以不需要主题管理,但一定要管理后台,可以方便查询文章

    2024 年了 有吗? 感觉世界技术倒退了很多。自从出了 React 后 到现在还没有出现以前的类似 PHP wordpress 的博客系统。

    wordpress 太慢了,经常有漏洞。就没有 GO 开发的简单 blog 吗?
    YaD2x
    YaD2x
    Apr 2, 2024❤️3
    63
    @jinwyp 爱用不用,毛病真多。写几篇文章了?
    zbowen66
    zbowen66
    Apr 2, 2024
    64
    用 Astro 搭建的,我也记录了一下,仅供参考 https://blog.bowen.cool/zh/posts/how-do-i-build-my-blog
    netabare
    netabare
    Apr 2, 2024 via Android❤️1
    65
    果然变成了网站分享贴
    0xGnaixEuy
    0xGnaixEuy
    Apr 3, 2024 via iPhone
    66
    blog.gnaixeuy.cn 欢迎友链
    sNullp
    sNullp
    Apr 3, 2024
    67
    我搞了个博客站:write.c7.io
    pain2w
    pain2w
    Apr 3, 2024
    68
    @jinwyp 你要求可真多啊。

    1 不要静态生成那种?你后面嫌弃 wordpress 漏洞多,又想不静态生成这不是自我矛盾吗?静态页面可以杜绝你绝大多数的安全问题。顺带可以把你 3 方便 SEO 的也解决了。
    2. 谁 tmd 规定 blog 必须要带评论的?你自己开个 email list 不更简单直接?
    4.需要带后台管理?又 tmd 回到漏洞的问题上来了,你要后台管理就等着被黑吧。

    人家开源的博客系统很多人是写起来给自己玩的,你需求这么多自己写不久成了?用得着在那说技术倒退?有能耐自己用 golang 仿一个 wordpress ,再说了 wordpress 大而全的玩意真的算好用?既嫌弃 wordpress 的慢和漏洞多,又嫌弃静态 blog 的功能少,你这是什么?精神分裂?
    Semantic
    Semantic
    Apr 3, 2024
    69
    我选择 Astro + 白嫖 vercel
    xiaoxiyiha
    xiaoxiyiha
    Apr 3, 2024
    70
    @cheungkintong #45 我知道你用的 MySQL ,我是说,你既然用的 vercel 免费空间,也用的 vercel 的 database 吗,还是有什么可以白嫖的
    Meekdai
    Meekdai
    Apr 3, 2024
    72
    我的个人博客 All in github ,搭建很简单,全开源,有兴趣可以看一下:

    https://github.com/Meekdai/Gmeek

    https://blog.meekdai.com/
    ben1024
    ben1024
    Apr 3, 2024
    73
    WordPress
    MENGKE
    MENGKE
    Apr 3, 2024
    75
    @MENGKE 网址写错了,重发一遍

    我的: https://mengke.me

    源码: https://github.com/mk965/mengke.me

    next.js + tailwindcss 开发的,vercel + cloudflare 部署,Umami 、Google Analytics 、Microsoft Clarity 统计📉。
    nekoneko
    nekoneko
    Apr 3, 2024
    76
    简单点的, memos 直接拿来当博客用
    Clash
    Clash
    Apr 3, 2024
    77
    tiddlywiki ,找个看得顺眼的直接保存下来。可以说是完全不需要任何技术基础,纯小白都能用。服务器只要会传文件就行了,不设计什么后台什么搭建什么配置,服务器的内容不用管了,备份也简单了。

    除了外观选择性不太多,没法评论,其他的都挺适合技术小白使用的。绝对比上面推荐的要简单得多。
    szdev
    szdev
    Apr 3, 2024
    78
    @MENGKE 这种就挺好的,next 对 seo 比较友好, 至少在 google 能搜到
    joeyzhou
    joeyzhou
    Apr 3, 2024
    79
    https://t7t.xyz/6nlk
    我自己记录的小白从零搭建博客的过程。
    cheungkintong
    cheungkintong
    Apr 3, 2024
    80
    @xiaoxiyiha 没有用 vercel 的 database ,想白嫖看这个大佬,基本全是白嫖服务。
    https://cali.so/blog/guide-for-cloning-my-site
    cheungkintong
    cheungkintong
    Apr 3, 2024❤️1
    81
    @xiaoxiyiha 我只是前端页面用的 vercel ,主要是用他的 isr ,还有域名(刚毕业还没找到工作,反正没人访问,先白嫖),数据是发送请求到后端(springboot)获得的
    geeliyu
    geeliyu
    Apr 3, 2024
    82
    跟着大佬们学习点干货!
    Lightbraves
    Lightbraves
    Apr 3, 2024
    83
    @leonfong 我使用了这个博客,改吧改吧就拿 vercel 上发布了,顺带了又学习了 nextjs
    biumall
    biumall
    Apr 3, 2024
    84
    @pain2w 哈哈哈 怼得好 个人觉得 wordpress 还可以,写个博客,还担心啥漏洞
    pain2w
    pain2w
    Apr 3, 2024
    85
    @daohanghao 他的需求我其实是不反感的,每个人有每个人的不同。但是语气是实在是让人厌恶,就好像自己什么都不做,一副指点别人这个不行那个不行的样子,太下头了。
    ediron
    ediron
    Apr 3, 2024
    86
    @virgilchiou 好酷!
    Cineray
    Cineray
    Apr 4, 2024
    87
    @virgilchiou #25 帅啊,有没有想法开源
    DD0a48YwCzYUCQ8y
    DD0a48YwCzYUCQ8y
    Apr 7, 2024
    88
    只需掏个域名钱,其他全白嫖,https://blog.zsan.xyz/about/
    LaughingZhu
    LaughingZhu
    Aug 16, 2024
    89
    这段时间开源的 DevNow ,基本个功能都迭代完了。欢迎来体验:

    https://www.laughingzhu.cn/

    目前支持:
    ✅ 适配移动端
    ✅ SEO & OpenGraph
    ✅ 支持 Markdown & MDX
    ✅ 语法高亮
    ✅ 图片压缩
    ✅ 主题色
    ✅ 代码复制
    ✅ 支持 Sitemap
    ✅ 支持 RSS Feed 订阅
    ✅ 草稿模式
    ✅ 🔍文章搜索
    ✅ 支持 Comments (Giscus)
    ✅ 支持分页
    ✅ 支持 Tina CMS
    awanganddong
    awanganddong
    Mar 5, 2025
    90
    这个我的博客,就两个页面。直接 html 扒下来就可以用了。打开速度超级快。
    https://www.vev3.com
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2171 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 207ms · UTC 13:27 · PVG 21:27 · LAX 05:27 · JFK 08:27
    ♥ Do have faith in what you're doing.