Skip to content
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

Latest commit

 

History

History
73 lines (54 loc) · 3.35 KB

File metadata and controls

73 lines (54 loc) · 3.35 KB

Hexo 后台管理

GitHub stars GitHub forks GitHub watchers GitHub followers

GitHub issues GitHub license GitHub last commit GitHub release GitHub repo size in bytes HitCount language

介绍

hexo是一个优秀的开源博客系统,但是后端文章管理方面只能写好MarkDown后放在文件夹中,很不方便,所以才有了这个项目。

项目使用JAVA语言开发,使用Netty作为内嵌服务器,备份文章选用sqllite数据库实现。

拓展

windows 平台下 脚本

阿里云VPS搭建自己的Hexo博客

实现功能

  1. 写新文章
  2. 更新文章
  3. 删除文章
  4. 备份文章(使用sqlite数据库)
  5. 夜间模式

如何使用

  1. 获取最新Releases

  2. 通过

    java -jar .\hexo-admin-1.0.0-release.jar --user-props.db-file-path=C:\Users\wangn\Desktop\c.db --user-props.mark-down-path=C:\Users\wangn\Desktop\post
  3. user-props.db-file-path 表示备份文件位置(随便写)

  4. user-props.mark-down-path 表示文章目录 G:\xxx\itningblog\source\_posts\

  5. 浏览器打开 http://localhost:8080/

如何

  1. 更改端口

    java -jar xxx.jar --server.port=80

预览

  • 主页 index
  • 新文章 new
  • 修改 editor editor_sure
  • 删除 delete
  • 夜间模式 black
  • 手机端效果

phone_index phone_nav phone_editor