{"repo":"giscafer/blog","free":true,"listed":false,"github":"https://github.com/giscafer/blog","clone":"git clone https://github.com/giscafer/blog.git","description":"Next.js + Issues 博客解决方案 https://www.giscafer.com","language":"MDX","stars":292,"topics":["frontend","blog","giscafer","nextjs"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"giscafer.com 我个人的 网站/博客。 技术栈 Next.js/Typescript & 部署在 Vercel 。 博客数据来自 issues 列表 博客原理：通过 ci 监听 issues 变更，自动更新 mdx 文件到项目 data/blog/ .mdx 文件夹中，Vercel 自动化构建更新。 - https://www.giscafer.com Features - Github Issues 自动同步（见实现文章介绍） TODO - [x] 文章浏览量统计 - [x] Tags 分类 - [x] 评论功能 - [ ] mdx 文件 自动获取 summary 字段展示 - [ ] 图片点击放大预览 - [ ] 优化同步脚步，只同步最近变更时间的 issues Usage 以下配置可以直接修改 scripts/github/syncPost.js 里边对应变量，就不需要配置了 - 本地运行博客时，测试博客文章同步脚本请修改 env 环境变量 GH USER 和 GH PROJECT NAME ，保证 api 获取 issues 生成 mdx 文件 - GitHub Action Secret 配置 GH USER 和 GH PROJECT NAME ，保证 CI 执行正常，也可以直接修改 微信公众号 ID: giscafer --- giscafer.com &nbsp;&middot;&nbsp; GitHub @giscafer &nbsp;&middot;&nbsp; X @Nicky Lao","default_branch":null,"files":null,"tree":[],"storefront":"/r/giscafer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/giscafer/blog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}