id: af4a7f03c0304bff8a6d16acf0039fc7
parent_id: 
item_type: 1
item_id: b147966c82114b6cbfa6ed66e196c18b
item_updated_time: 1764365027917
title_diff: "[{\"diffs\":[[1,\"白嫖服务器-GitHub Pages\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":18}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>白嫖服务器-GitHub Pages</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"39326\\\"></a>\\\r\\\n<h1>白嫖服务器-GitHub Pages</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"\\\"><div style=\\\"max-width: 700px;\\\"><p></p><div style=\\\"--en-blockquote: true; box-sizing: border-box; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial;\\\"><div>原文链接: <a href=\\\"http://mp.weixin.qq.com/s?__biz=MjM5MzgyMTY3Nw==&amp;mid=2247484427&amp;idx=1&amp;sn=32ebd824a80b9f0c94bce04258da656e&amp;chksm=a75b4d05ce3cc6cba9ebe066105657c4ba2b87ccf3144a1504287c26e7c68cb5ca2a777c8294&amp;mpshare=1&amp;scene=1&amp;srcid=0405DEOR7wvokhoZuFRjBBMQ&amp;sharer_shareinfo=5e677cafa60b2aaaf29522a4264dd4f7&amp;sharer_shareinfo_first=5e677cafa60b2aaaf29522a4264dd4f7#rd\\\"><span>http://mp.weixin.qq.com/s?__biz=MjM5MzgyMTY3Nw==&amp;mid=2247484...</span></a></div></div><p></p><div style=\\\"\\\"><div><div><div><span style=\\\"\\\">原创</span><span> nukix </span><span><a style=\\\"\\\"> nukix的工具箱 </a></span><span><em></em></span></div><div style=\\\"\\\"><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); color: rgb(10,10,10); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\"><span></span></p><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); color: rgb(10, 10, 10); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; text-align: left;\\\"><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(63, 63, 63);\\\"><span><img src=\\\"白嫖服务器-GitHub Pages_files/640.jpg\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); display: block; vertical-align: middle; max-width: 100%; height: auto; text-align: left; border-radius: 4px; width: auto;\\\" width=\\\"auto\\\"/></span></div><h2 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: center; display: table; color: rgb(255,255,255); background: rgb(0,152,116);\\\"><span>介绍</span></h2><div style=\\\"--en-blockquote: true; box-sizing: border-box; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left: none; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; text-align: left; font-style: normal; border-radius: 8px; color: rgba(0, 0, 0, 0.5); background: rgb(247, 247, 247);\\\"><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; display: block; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>本篇章适合个人、微型企业、IT 爱好者、学生等喜欢白嫖服务器的用户，以前读书的时候觉得找免费的服务器很难找，但随着接触的内容多了，发现免费的服务器还是挺多的。但目前大部分都是国外的服务，不保证国内访问会稳定。</span></p></div><h2 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: center; display: table; color: rgb(255,255,255); background: rgb(0,152,116);\\\"><span>GitHub Pages</span></h2><div style=\\\"--en-blockquote: true; box-sizing: border-box; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left: none; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; text-align: left; font-style: normal; border-radius: 8px; color: rgba(0, 0, 0, 0.5); background: rgb(247, 247, 247);\\\"><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; display: block; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>GitHub Pages 是 GitHub 提供的一项免费服务，允许用户通过 GitHub 仓库托管静态网站。这意味着开发者可以将自己的 HTML、CSS、JavaScript 文件上传到一个 GitHub 仓库，并通过一个简洁的 URL 对外展示。这是一个理想的工具，用于创建个人博客、项目文档、作品集，甚至是完整的网站。</span></p></div><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• GitHub 传送门：https://github.com/</span></div></li></ul><h2 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: center; display: table; color: rgb(255,255,255); background: rgb(0,152,116);\\\"><span>GitHub Pages 的主要特性</span></h2><ol style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: none; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>1. </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>免费托管</span></strong><span>：无需额外支付费用即可托管静态网站。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>2. </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>简单易用</span></strong><span>：只需将网站文件推送到特定的分支或目录，GitHub 会自动构建和部署。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>3. </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>自定义域名</span></strong><span>：支持绑定自定义域名，让你的网站更具专业性。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>4. </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>HTTPS 安全支持</span></strong><span>：自动为网站启用 HTTPS，确保访问安全。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>5. </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>与 Git 版本控制无缝集成</span></strong><span>：通过 Git，轻松管理和更新网站内容。</span></div></li></ol><h2 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: center; display: table; color: rgb(255,255,255); background: rgb(0,152,116);\\\"><span>如何使用 GitHub Pages？</span></h2><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>1. 创建一个仓库</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• 登录 GitHub，创建一个新的公开或私有仓库。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• 仓库名称可以是任意内容，但如果是个人主页，建议使用 </span><code style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-feature-settings: normal; font-variation-settings: normal; text-align: left; color: rgb(221, 17, 68); background: rgba(27, 31, 35, 0.05); border-radius: 4px;\\\"><span>username.github.io</span></code><span> 的命名方式。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>2. 上传网站文件</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• 将 HTML、CSS、JavaScript 等静态文件添加到仓库。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• 确保文件放在正确的位置，例如 </span><code style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-feature-settings: normal; font-variation-settings: normal; text-align: left; color: rgb(221, 17, 68); background: rgba(27, 31, 35, 0.05); border-radius: 4px;\\\"><span>main</span></code><span> 或 </span><code style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-feature-settings: normal; font-variation-settings: normal; text-align: left; color: rgb(221, 17, 68); background: rgba(27, 31, 35, 0.05); border-radius: 4px;\\\"><span>gh-pages</span></code><span> 分支。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>3. 启用 GitHub Pages</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• 在仓库的设置页面，找到 </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>Pages</span></strong><span> 部分。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• 选择要部署的分支和目录（通常是 </span><code style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-feature-settings: normal; font-variation-settings: normal; text-align: left; color: rgb(221, 17, 68); background: rgba(27, 31, 35, 0.05); border-radius: 4px;\\\"><span>main</span></code><span> 分支的根目录）。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>4. 访问你的网站</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• 部署完成后，你可以通过 </span><code style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-feature-settings: normal; font-variation-settings: normal; text-align: left; color: rgb(221, 17, 68); background: rgba(27, 31, 35, 0.05); border-radius: 4px;\\\"><span>https://username.github.io</span></code><span> 访问你的网站。</span></div></li></ul><h2 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: center; display: table; color: rgb(255,255,255); background: rgb(0,152,116);\\\"><span>GitHub Pages 局限性</span></h2><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>1. 文件类型和内容</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>仅支持静态文件</span></strong><span>：GitHub Pages 只能托管静态文件（HTML、CSS、JavaScript、图片等）。动态内容（如 PHP、Python 或 Node.js 的后端逻辑）无法运行。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>存储库大小限制</span></strong><span>：单个存储库的总大小限制为 </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>1GB</span></strong><span>，包括所有文件、提交和历史记录。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>单个文件大小限制</span></strong><span>：单个文件的大小不能超过 </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>100MB</span></strong><span>，否则可能无法上传。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>2. 流量和访问限制</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>带宽限制</span></strong><span>：GitHub Pages 的带宽使用是免费的，但官方建议不要将其用于高流量站点。如果你的站点流量过高，可能会触发速率限制。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>速率限制</span></strong><span>：GitHub Pages 的请求速率受到限制，每小时大约 10GB 的流量。如果超出限制，网站可能暂时无法访问。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>3. 使用范围</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>不适合商业托管</span></strong><span>：GitHub Pages 的服务条款限制其用作商业网站的大规模托管。如果是用于商业用途，建议选择专门的托管服务。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>不允许违法内容</span></strong><span>：所有托管内容必须遵守 GitHub 的 </span><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>社区准则</span></span><span>(https://docs.github.com/en/site-policy/github-terms/github-community-guidelines)，包括版权、隐私和合法性。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>4. 自定义域名的限制</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>HTTPS 支持</span></strong><span>：自定义域名自动获得 HTTPS 支持，但某些复杂的 DNS 配置可能需要手动调整。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>子域支持</span></strong><span>：仅支持顶级域名和子域（如 </span><code style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-feature-settings: normal; font-variation-settings: normal; text-align: left; color: rgb(221, 17, 68); background: rgba(27, 31, 35, 0.05); border-radius: 4px;\\\"><span>blog.example.com</span></code><span>），不支持三级及以下子域。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>5. 技术限制</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>构建时间限制</span></strong><span>：使用 Jekyll 或其他工具生成站点时，构建时间不能超过 </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>10分钟</span></strong><span>。如果站点内容太多或生成过程过于复杂，可能会导致构建失败。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>支持的 Jekyll 插件有限</span></strong><span>：GitHub Pages 默认支持的 Jekyll 插件有限，某些高级功能需要自行构建并上传静态文件。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>6. 访问限制</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>不支持私有站点的公共访问</span></strong><span>：如果仓库是私有的，GitHub Pages 提供的站点需要身份验证，无法公开访问。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>区域性限制</span></strong><span>：在某些国家或地区，由于政策原因，GitHub Pages 服务可能受到限制。</span></div></li></ul><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>7.如何应对这些限制？</span></h3><ul style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: circle; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>优化资源</span></strong><span>：使用压缩的图片、CSS 和 JS 文件，减少站点的体积。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>分割存储库</span></strong><span>：将不同部分拆分为多个仓库，以避免单个仓库超过大小限制。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>选择合适的用途</span></strong><span>：适用于轻量级网站（如博客、文档），但不适合高流量或动态需求的网站。</span></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>• </span><strong style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0, 152, 116);\\\"><span>使用外部服务</span></strong><span>：对于动态内容或更复杂的站点需求，可以将 GitHub Pages 与其他服务（如 Firebase、Netlify 或 AWS S3）结合使用。</span></div></li></ul><h2 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: center; display: table; color: rgb(255,255,255); background: rgb(0,152,116);\\\"><span>使用开源项目搭建 GitHub Pages</span></h2><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>1. 技术博客和文档</span></h3><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>Jekyll</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://jekyllrb.com/</span><span><br/></span><span>用途：静态博客生成器，官方支持 GitHub Pages。</span><span><br/></span><span>特点：支持 Markdown 写作，众多开源主题供选择，插件生态丰富。</span></p><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>VuePress</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://github.com/vuejs/vuepress</span><span><br/></span><span>用途：基于 Vue.js 的静态网站生成器。</span><span><br/></span><span>特点：使用 Markdown 撰写内容、内置主题与插件。</span></p><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>Docsify</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://docsify.js.org/</span><span><br/></span><span>用途：文档网站生成工具。</span><span><br/></span><span>特点：无需静态文件生成，实时加载 Markdown 文件，支持主题定制和插件扩展。</span></p><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>Docusaurus</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://docusaurus.io/</span><span><br/></span><span>用途：项目文档和博客工具。</span><span><br/></span><span>特点：由 Facebook 开发，支持多语言、版本管理和 React 组件。</span></p><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>2. 个人主页和作品集</span></h3><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>Beautiful Jekyll</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://github.com/daattali/beautiful-jekyll</span><span><br/></span><span>用途：轻量级个人网站模板。</span><span><br/></span><span>特点：简洁的设计，支持自定义和响应式布局。</span></p><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>Dev Portfolio</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://github.com/RyanFitzgerald/devportfolio</span><span><br/></span><span>用途：前端开发者的作品集模板。</span><span><br/></span><span>特点：基于 HTML 和 CSS，适合展示项目和技能。</span></p><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>academicpages.github.io</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://github.com/academicpages/academicpages.github.io</span><span><br/></span><span>用途：学术个人主页。</span><span><br/></span><span>特点：支持论文、项目和课程的展示，基于 Jekyll。</span></p><h3 style=\\\"box-sizing: border-box; border-width: 0 0 0 3px; border-style: solid; border-left-color: rgb(0,152,116); font-weight: bold; text-align: left; color: rgb(63,63,63);\\\"><span>3. 图床</span></h3><h4 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: left; color: rgb(0,152,116);\\\"><span style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(87, 107, 149);\\\"><span>PicX</span></span></h4><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: left; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>地址：https://github.com/XPoet/picx</span><span><br/></span><span>用途：网站图片托管。</span><span><br/></span><span>特点：免费且依托 GitHub。</span></p><h2 style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); font-weight: bold; text-align: center; display: table; color: rgb(255,255,255); background: rgb(0,152,116);\\\"><span>总结</span></h2><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: justify; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>GitHub Pages 是一个强大且易用的工具，无论你是初学者还是资深开发者，都可以利用它快速创建并部署静态网站。如果你正在寻找一种简单、高效的方式来展示你的内容或项目，不妨试试 GitHub Pages。</span></p><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); text-align: justify; letter-spacing: 0.1em; color: rgb(63,63,63);\\\"><span>如果有什么疑问，或者有其他免费的服务器、开源项目进行交流，请在评论区进行留言o(^▽^)o。</span></p><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(63, 63, 63);\\\"><span><img src=\\\"白嫖服务器-GitHub Pages_files/640.gif\\\" type=\\\"image/gif\\\" data-filename=\\\"640.gif\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); display: block; vertical-align: middle; max-width: 100%; height: auto; text-align: left; border-radius: 4px; width: auto;\\\" width=\\\"auto\\\"/></span></div><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(63, 63, 63);\\\"><span><img src=\\\"白嫖服务器-GitHub Pages_files/640.png\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); display: block; vertical-align: middle; max-width: 100%; height: auto; text-align: left; border-radius: 4px; width: auto;\\\" width=\\\"auto\\\"/></span></div><ol style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); list-style: none; text-align: left; color: rgb(63,63,63);\\\"><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>1. </span><a href=\\\"https://mp.weixin.qq.com/s?__biz=MjM5MzgyMTY3Nw==&amp;mid=2247483790&amp;idx=1&amp;sn=084b11694629b634729966ec7ba9799c&amp;token=90968591&amp;lang=zh_CN&amp;scene=21#wechat_redirect\\\" style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); color: rgb(87, 107, 149); text-decoration: none; text-align: left;\\\" title=\\\"你还在玩游戏？别人已经使用上这款软件做游戏！\\\"><span>你还在玩游戏？别人已经使用上这款软件做游戏！</span></a></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>2. </span><a href=\\\"https://mp.weixin.qq.com/s?__biz=MjM5MzgyMTY3Nw==&amp;mid=2247484048&amp;idx=1&amp;sn=a581acf53b85d0f502c8d33037b184e4&amp;token=2118794101&amp;lang=zh_CN&amp;scene=21#wechat_redirect\\\" style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); color: rgb(87, 107, 149); text-decoration: none; text-align: left;\\\" title=\\\"Follow: 一款可盈利的 RSS 阅读器\\\"><span>Follow: 一款可盈利的 RSS 阅读器</span></a></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>3. </span><a href=\\\"https://mp.weixin.qq.com/s?__biz=MjM5MzgyMTY3Nw==&amp;mid=2247484163&amp;idx=1&amp;sn=09ffb91483bde7bd882481627beab15e&amp;token=1219521310&amp;lang=zh_CN&amp;scene=21#wechat_redirect\\\" style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); color: rgb(87, 107, 149); text-decoration: none; text-align: left;\\\" title=\\\"Follow: 进入公测无需使用邀请码\\\"><span>Follow: 进入公测无需使用邀请码</span></a></div></li><li style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; text-indent: -1em; display: block; color: rgb(63, 63, 63);\\\"><div><span>4. </span><a href=\\\"https://mp.weixin.qq.com/s?__biz=MjM5MzgyMTY3Nw==&amp;mid=2247484418&amp;idx=1&amp;sn=9ab5b4d8e70f4fd9fbfeab30167dc5d2&amp;token=1352089360&amp;lang=zh_CN&amp;scene=21#wechat_redirect\\\" style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); color: rgb(87, 107, 149); text-decoration: none; text-align: left;\\\" title=\\\"国产 AI 助手问答测试总结\\\"><span>国产 AI 助手问答测试总结</span></a></div></li></ol><div style=\\\"box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); text-align: left; color: rgb(63, 63, 63);\\\"><span><img src=\\\"白嫖服务器-GitHub Pages_files/640 [1].png\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; box-sizing: border-box; border-width: 0px; border-style: solid; border-color: hsl(var(--border)); display: block; vertical-align: middle; max-width: 100%; height: auto; text-align: left; border-radius: 4px; width: auto;\\\" width=\\\"auto\\\"/></span></div></div><p style=\\\"box-sizing: border-box; border-width: 0; border-style: solid; border-color: hsl(var(--border)); color: rgb(10,10,10); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\"><span></span></p><div><span><br/></span></div></div></div><div><div><div><div style=\\\"display: flex; color: rgba(0,0,0,.3);\\\"><div style=\\\"color: rgba(0,0,0,.3);\\\">个人观点，仅供参考</div></div></div></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":38107}]"
metadata_diff: {"new":{"id":"b147966c82114b6cbfa6ed66e196c18b","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348870150,"user_updated_time":1764345626232,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":1764365027917},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:24:56.140Z
created_time: 2025-11-28T21:24:56.140Z
type_: 13