{"id":16718615,"url":"https://github.com/codfrm/blog","last_synced_at":"2025-04-10T08:54:18.747Z","repository":{"id":47374849,"uuid":"196680279","full_name":"CodFrm/blog","owner":"CodFrm","description":"记录一些日常学习或者接触到的东西","archived":false,"fork":false,"pushed_at":"2024-06-03T08:53:02.000Z","size":6836,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T08:11:13.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodFrm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-13T05:01:28.000Z","updated_at":"2024-10-27T16:15:43.000Z","dependencies_parsed_at":"2025-02-16T22:31:06.782Z","dependency_job_id":"620b44a8-cada-4485-8ad5-476dda385a2a","html_url":"https://github.com/CodFrm/blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodFrm%2Fblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodFrm%2Fblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodFrm%2Fblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodFrm%2Fblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodFrm","download_url":"https://codeload.github.com/CodFrm/blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190407,"owners_count":21062277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T21:37:46.777Z","updated_at":"2025-04-10T08:54:18.726Z","avatar_url":"https://github.com/CodFrm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e 王一之的个人博客 \u003c/h1\u003e\n\u003cp align=\"center\"\u003e分享知识，记录生活，认识朋友\u003c/p\u003e\n\n---\n\n这里是我的个人博客，使用 docusaurus 构建，主要用于记录一些技术知识，生活感悟，以及一些有趣的事情。欢迎大家来访，也欢迎大家留言，一起交流。\n\n---\n\n\u003e 如果你想基于本仓库部署自己的博客，可以查看下面的内容。关于本博客对 docusaurus 的一些修改，你可以查看[我为什么换掉 Wordpress 选择 Docusaurus？](./docs/note//为什么换掉Wordpress.md)\n\n## 运行\n\n你可以直接克隆本仓库，然后在本地运行。\n\n```bash\n# 克隆与进入仓库\ngit clone https://github.com/codfrm/blog.git\ncd blog\n# 安装依赖\nnpm i\n# 运行\nnpm start\n```\n\n## 目录结构\n\n你需要根据自己的需求来对一些文件进行修改，一些没有标注出来的文件可能是与 docuasaurus 相关的一些配置文件，你可以根据官方文档来进行修改。\n\n- archive 我的个人归档，你需要将它删除\n- docs 博客文章，你的文章需要放在这里\n- packages 一些自定义的插件\n- src\n  - components/Comments/index.tsx 评论组件，使用[Giscus](https://giscus.app/zh-CN)构建 如果你使用的话，你需要修改里面的配置\n  - pages/index.tsx 首页文件\n- docuasaurus.config.js docuasaurus 的配置文件，包含了博客的标题、描述等内容，你需要根据自己的需求来修改\n- sidebars.js 侧边栏配置文件，你需要根据自己的需求来修改\n\n## 部署\n\n构建完成后，将构建好的静态文件部署到你的服务器上即可。你也可以选择 Github Pages、Vercel、Netlify 等等。\n\n```bash\n# 构建静态文件\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodfrm%2Fblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodfrm%2Fblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodfrm%2Fblog/lists"}