Hey - an admin plugin for hexo

2015-09-14 14:58:29 +08:00
 liteneo

hexo-hey

an admin plugin for hexo, support hexo v3.x
built with gulp + babel + webpack
using es6 + angular + materail + jwt

Demo

http://hey.liteneo.com/admin
username: hexo
passowrd: hey

About

How to use

1. install hexo-hey

npm install nihgwu/hexo-hey --save

2. add a admin config section to _config.yml:

# Admin
admin:
    name: hexo
    password: hey
    secret: hey hexo
    expire: 60*1
    # cors: http://localhost:3000
Error: language "yml" is not supported

cors is optional if you want serve your client in another place (CDN for example )

3. serve hexo

hexo serve

then visit http://localhost:4000/admin, and login with the account set in previous step

4544 次点击
所在节点    分享创造
16 条回复
bhqt
2015-09-14 15:48:32 +08:00
不能不说的是,这个东西碉堡了。有这东西,就不用本地去编辑文件发布了吧
kingme
2015-09-14 16:03:35 +08:00
感觉要研究下, MARK
zhyu
2015-09-14 16:21:34 +08:00
看起来超级棒啊,已 star
oott123
2015-09-14 17:10:34 +08:00
实在是不理解特意搞个静态博客又特意搞个后台…
静态博客不就是图个文件管理博文 可以随便用本地编辑器啥的
真有后台需求为啥不直接用个动态的程序 OTL
liteneo
2015-09-14 17:41:38 +08:00
@oott123 静态的轻+动态的易,如果你需要经常切换写作环境,其实纯静态也是挺劳心的,还有图片之类的资源,下一步加入 clip&paste ,这就是我想要的
liteneo
2015-09-14 17:43:00 +08:00
@oott123 比如 ghost ,我非常反感他们管理者的强硬态度,以及对开发者的藐视
giuem
2015-09-14 17:54:22 +08:00
我想知道这个是用在本地然后 git 上传到 github 上吗
liteneo
2015-09-14 18:16:05 +08:00
@giuem 这要看你是如何 deploy 的,如果你是部署到 github ,建议配合自动化工具
adoyle
2015-09-14 18:25:00 +08:00
好评!
yuwan
2015-09-15 11:11:43 +08:00
@ liteneo
挺不错,图片的 clip$paste ,会自动上传到图床么
liteneo
2015-09-15 14:12:12 +08:00
@yuwan sure
yuwan
2015-09-15 16:35:17 +08:00
@liteneo 不能更赞,要用哪个图床
Yamade
2015-09-15 19:12:52 +08:00
楼主我爱你
aksoft
2015-09-27 07:26:47 +08:00
密码在哪.。。
wmwwmv
2017-03-04 16:13:49 +08:00
开始没问题
后来总是提示用户名密码错误。
liteneo
2017-03-06 02:17:20 +08:00
@wmwwmv 好久没维护了。。有空打算重新

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/220585

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX