A Vue-based dashboard for managing your Hexo blog. Edit posts, pages, and configurations directly from the browser.
一个基于 Vue 的 Hexo 博客管理面板。在浏览器中直接编辑文章、页面和配置。
-
📝 Post & Page Management - Create, edit, and delete
管理文章与页面 - 创建、编辑和删除 -
⚙️ Configuration Editor - Edit
_config.ymland theme config
配置编辑器 - 编辑站点配置和主题配置 -
🔐 Password Protection - Secure access with bcrypt authentication
密码保护 - 使用 bcrypt 加密的安全认证 -
🌓 Dark Mode - Light and dark theme support
深色模式 - 支持明暗主题切换 -
🌍 Multi-language - English, 中文, 日本語, 한국어, Français...
多语言支持
Requirements | 环境要求: Node.js >= 14
# Install | 安装
npm install hexo-dashboard --save
# Or using pnpm | 或使用 pnpm
pnpm add hexo-dashboardhexo serverThen visit | 然后访问: http://localhost:4000/dashboard
Manage dashboard users from the command line.
通过命令行管理面板用户。
| Command | Description |
|---|---|
register <user> |
Add a new user 添加新用户 |
passwd <user> |
Change user password 修改用户密码 |
delete <user> |
Delete a user 删除用户 |
list |
List all users 列出所有用户 |
help |
Show help message 显示帮助信息 |
| Command | Aliases |
|---|---|
register |
reg |
delete |
del, rm, remove |
list |
ls |
# Show help | 显示帮助
npx hexo-dashboard help
# Register a new user | 注册新用户
npx hexo-dashboard register admin
# Password: ******** (hidden)
# Change password | 修改密码
npx hexo-dashboard passwd admin
# Password: ******** (hidden)
# Delete a user | 删除用户
npx hexo-dashboard delete admin
# List all users | 列出所有用户
npx hexo-dashboard listUse npx to run the command:
使用 npx 运行命令:
npx hexo-dashboard ...Make sure you run the command in your Hexo project directory:
确保在 Hexo 项目目录中运行命令:
cd /path/to/your/hexo
npx hexo-dashboard ...