[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8929":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},8929,"iBlog","eshengsky\u002FiBlog","eshengsky","基于 Node.js 的开源个人博客系统，采用 Nuxt + Vue + TypeScript 技术栈。","https:\u002F\u002Fskysun.name",null,"Vue",1379,391,50,29,0,1,3,56.58,"MIT License",false,"master",true,[25,26,27,28,29,30,31,32,33],"blog","iblog","mongodb","nodejs","nuxt","nuxtjs","typescript","vue","vuejs","2026-06-12 04:00:41","# iBlog\n基于 Node.js 的开源个人博客系统，现代化的 UI 和用户体验。支持桌面端和移动端访问，支持深色模式，支持 [Docker](https:\u002F\u002Fwww.docker.com\u002F) 部署。  \n**不仅仅是博客，更是 Demo**，是适合新人入门学习的完整项目。\n\n## 目录\n- [界面预览](#界面预览)\n- [在线实例](#在线实例)\n- [分支说明](#分支说明)\n- [技术构成](#技术构成)\n- [快速开始](#快速开始)\n  * [准备条件](#准备条件)\n  * [安装依赖](#安装依赖)\n  * [启动站点](#启动站点)\n  * [Debug](#debug)\n- [系统设置](#系统设置)\n- [线上部署](#线上部署)\n  * [使用PM2](#使用pm2)\n  * [使用noginx](#使用noginx)\n- [Docker](#docker)\n  * [安装Docker](#安装docker)\n  * [制作镜像](#制作镜像)\n  * [创建容器](#创建容器)\n  * [容器管理](#容器管理)\n- [更新日志](#更新日志)\n- [TODO](#todo)\n- [许可协议](#许可协议)\n\n## 界面预览\n* 博客首页\n![首页](.\u002Fpreview_1.png)\n* 后台管理\n![后台](.\u002Fpreview_2.png)\n* 移动端\n![移动端](.\u002Fpreview_3.png)\n\n## 在线实例\n我的博客 [https:\u002F\u002Fskysun.name\u002F](https:\u002F\u002Fskysun.name\u002F)\n\n## 分支说明\n* 当前分支 (v2.0.0) 基于 [TypeScript](https:\u002F\u002Fwww.typescriptlang.org\u002F) + [NuxtJS](https:\u002F\u002Fnuxtjs.org\u002F)\n* [v1.0.0](https:\u002F\u002Fgithub.com\u002Feshengsky\u002FiBlog\u002Ftree\u002Fv1.0.0) 分支基于 JavaScript + [ExpressJS](https:\u002F\u002Fexpressjs.com\u002F)\n* [iBlog.Net](https:\u002F\u002Fgithub.com\u002Feshengsky\u002FiBlog.Net) 基于 C# + [ASP.NET](https:\u002F\u002Fdotnet.microsoft.com\u002Fapps\u002Faspnet)\n\n## 技术构成\n* 开发语言 [TypeScript](https:\u002F\u002Fwww.typescriptlang.org\u002F)\n* 服务端 [Node.js](https:\u002F\u002Fnodejs.org\u002F)\n* SSR框架 [NuxtJS](https:\u002F\u002Fnuxtjs.org\u002F)\n* 前端框架 [Vue](https:\u002F\u002Fvuejs.org\u002F)\n* 组件库 [Ant Design of Vue](https:\u002F\u002Fwww.antdv.com\u002Fdocs\u002Fvue\u002Fintroduce-cn\u002F)\n* Web字体 [Font Awesome](https:\u002F\u002Ffontawesome.com\u002F)\n* 持久化 [MongoDB](https:\u002F\u002Fwww.mongodb.org\u002F)\n* 身份验证 [@nuxtjs\u002Fauth](https:\u002F\u002Fauth.nuxtjs.org\u002F)\n\n## 快速开始\n\n### 准备条件\n\n安装 [Node.js](https:\u002F\u002Fnodejs.org\u002Fen\u002Fdownload\u002F) (v8 以上版本)、[MongoDB](https:\u002F\u002Fwww.mongodb.org\u002Fdownloads\u002F)。  \n推荐安装 [Yarn](https:\u002F\u002Fyarnpkg.com\u002F) 而非 npm 以进行包管理。\n\n### 安装依赖\n```Shell\n$ yarn\n```\n\n### 启动站点\n\n* 开发模式\n\n```Shell\n$ yarn run dev\n```\n\n* 生产模式\n\n先编译项目\n```shell\n$ yarn run build\n```\n\n再启动站点\n```shell\n$ yarn start\n```\n\n打开浏览器，访问 [http:\u002F\u002Flocalhost:9000\u002F](http:\u002F\u002Flocalhost:9000)\n\n### Debug\n* 要启动前端代码调试，请直接在 Chrome Dev Tools - Sources 面板中进行。\n\n* 要启动服务端代码调试，请以如下命令启动服务，然后点击 Chrome  Dev Tools 左上角的 Node.js 按钮，就可以像调试前端代码一样调试服务端了。\n\n```shell\n$ node --inspect node_modules\u002F.bin\u002Fnuxt-ts\n```\n\n\n#### Enjoy it! :smile:\n\n## 系统设置\n\n根据实际情况修改 `\u002Fblog.config.ts` 配置文件，修改后需要重启服务器才能生效。  \n参数说明：\n\n#### host\n`String` 类型，主机名，配置为 `0.0.0.0` 表示监听任意主机。\n\n#### port\n`Number` 类型，端口号。\n\n#### enableHTTPS\n`Boolean` 类型，是否启用 HTTPS。\n\n#### mongoUrl\n`String` 类型，MongoDB 链接。\n\n#### jwtSecret\n`String` 类型，[JWT](https:\u002F\u002Fgithub.com\u002Fauth0\u002Fnode-jsonwebtoken) 秘钥。\n\n## 线上部署\n\n### 使用PM2\n推荐使用 [pm2](https:\u002F\u002Fpm2.keymetrics.io\u002F) 进行 Node.js 的进程管理和持久运行。\n\n#### 安装\n```Shell\n$ yarn global add pm2\n```\n#### 启动\n```Shell\n$ pm2 start pm2.json\n```\n\n### 使用noginx\n[noginx](https:\u002F\u002Fgithub.com\u002Feshengsky\u002Fnoginx) 是基于 Node.js 的 HTTP 及反向代理服务器（类似 nginx），如果你有多台 iBlog 服务器实例，你可以使用 [noginx](https:\u002F\u002Fgithub.com\u002Feshengsky\u002Fnoginx) 进行代理转发和负载均衡。\n\n## Docker\n\niBlog 支持使用 [Docker](https:\u002F\u002Fwww.docker.com\u002F) 容器快速部署并启动项目。\n\n### 安装Docker\n\n在 [官方下载页面](https:\u002F\u002Fwww.docker.com\u002Fget-started) 选择对应平台的 Docker Desktop 下载并安装。\n\n### 制作镜像\n\n在项目根目录下执行如下命令创建镜像文件：\n```Shell\n$ yarn run dockerImage\n```\n\n如果创建成功，你可以使用如下命令查看到生成的镜像：\n```Shell\n$ docker image ls\n```\n\n### 创建容器\n\n执行如下命令创建容器：\n```Shell\n$ yarn run dockerRun\n```\n\n### 容器管理\n\n通过 Docker Desktop 执行启动、停止、查看日志等操作。\n![Docker Desktop](.\u002Fpreview_4.png)\n\n## 更新日志\n\n请直接查看 [Commit](https:\u002F\u002Fgithub.com\u002Feshengsky\u002FiBlog\u002Fcommits\u002Fmaster) 记录。\n\n## [TODO](.\u002FTODO.md)\n\n项目的后续更新计划，欢迎提交 [PR](https:\u002F\u002Fgithub.com\u002Feshengsky\u002FiBlog\u002Fpulls)。\n\n## 许可协议\nMIT License\n\nCopyright (c) 2020 Sky.Sun 孙正华\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","iBlog 是一个基于 Node.js 的开源个人博客系统，采用 Nuxt + Vue + TypeScript 技术栈。该项目具备现代化的 UI 和用户体验，支持桌面端和移动端访问，并提供深色模式选项。iBlog 支持 Docker 部署，方便快捷地进行容器化管理。其核心功能包括文章发布、评论管理和用户认证等，使用 Ant Design of Vue 组件库和 MongoDB 作为数据存储。适合用于个人或小型团队搭建博客网站，同时也是学习现代前端开发技术（如 TypeScript、NuxtJS 和 Vue）的理想项目。",2,"2026-06-11 03:20:21","top_language"]