# HexoWriter **Repository Path**: dingwell_0/HexoWriter ## Basic Information - **Project Name**: HexoWriter - **Description**: HexoWeiter是一个Springboot+vue3项目,本项目提供在线编写hexo md文章、编辑配置hexo文件并进行自动更新部署到服务器的能力 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-11-12 - **Last Updated**: 2025-11-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HexoWriter #### 介绍 HexoWeiter是一个Springboot+vue3项目,本项目提供在线编写hexo md文章、编辑配置hexo文件并进行自动更新部署到服务器的能力 #### 软件架构 HexoWriter-v1 后端使用Springboot2.7.6,前端页面index.html写在src/resources/static下。 工作原理是在前端提交保存md的操作时会发请求到后端,后端进行保存文件到设置好的文件夹下,并使用ProcessBuilder打开git-bash.exe执行hexo clean && hexo g -d更新命令,从而实现更新部署到config.yml配置的远程服务器的操作 #### 安装教程 1. 将项目拉取到本地,修改application.yml中的hexo.dir为你自己的hexo-blog目录路径,hexo.post.dir为hexo-blog/source/_post的路径,git.bash.path为你本地git-bash.exe的路径 #### 使用说明 1. 如下图访问localhost:${server.port}可以跳转到index.html,左侧是markdown编辑区,右侧是markdown预览。建议在专业的markdown软件中编写完再将其复制到编辑区,点击添加文件头会添加示例的hexo文章头到markdown编辑区 ![前端界面](https://foruda.gitee.com/images/1744906865616831658/8675a70d_13469224.png "屏幕截图") 2. 点击保存后,index.html默认情况下会发请求到localhost:9999/save,save方法中会在post目录下创建md文件,并调用git-bash.exe自动执行hexo clean && hexo g -d,从而实现自动添加文章并更新部署的操作 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)