简介
博客基于 GitHub Pages 与 Github API 实现无后台,可动态发布博客的系统
博客数据储存于gist 通过Github API 进行增删改查
演示地址
https://github-laziji.github.io
项目地址
https://github.com/GitHub-Laziji/vblog
特点
- 无须服务器,无须域名
- 不依赖各大博客平台
- 3分钟快速搭建
- 包含电脑端和移动端
- 单页面应用
部分截图



快速使用
现在介绍如何把这个博客变成自己的个人博客
只需两步(假设你现在已经有了github的账号)
第一步 克隆


其中克隆地址为
https://github.com/GitHub-Laziji/GitHub-Laziji.github.io
项目名
{username}.github.io
{username}
为你的github用户名点击克隆
第二步 修改配置文件
打开克隆的项目

修改/static/configuration.json
文件的githubUsername
改为自己的用户名 其他的可以删掉

查看效果
到这里为止 就完成了
浏览器访问 https://{username}.github.io
看看效果吧
获取Token
如果需要发表博客 在 github > settings > Developer settings > Personal access tokens
勾选 gist
和 repo
权限 获取Token
网友评论