Hexo发布管理工具

hexo-commander

在本地使用hexo,往往需要多次打开使用命令行工具重复输入命令。
虽然有个hexo-admin项目可以方便使用,然而该项目已经不再维护,并且为web页面,在本地使用不如桌面软件方便。
因此用qt写了这个工具方便编辑发布文章到hexo博客。

源码:
https://github.com/weloe/hexo-commander

exe: hexo-commander/release/hexo-commander.exe at master · weloe/hexo-commander (github.com)

集成命令

创建文章,打开文章

静态文件清理

静态文件生成

本地启动server

一键部署

使用前提

hexohexo-deployer-git
在config里配置了一键部署的参数。
详细配置可前往hexo官网查看。

配置

首先配置hexo.cmd路径,工作目录,post目录,模板目录等参数。

使用

配置完路径后直接打开exe使用即可。

按钮-命令对应关系

new - hexo new {scaffold} {name}

open - 点击new创建文章时自动打开md文件

clean - hexo clean

generate - hexo generate

server - hexo clean&hexo generate&hexo s

deploy - hexo deploy

clean_deploy - hexo clean&hexo deploy

posted @ 2024-03-28 19:53  秋玻  阅读(19)  评论(0编辑  收藏  举报