song-jun / alloyteam-md

AlloyTeam 博客文章爬虫,转换为格式精美的 Markdown。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alloyteam-md

一个 AlloyTeam 博客文章本地备份爬虫,自动加盘古之白,自动格式化代码,图片和附件自动上传 COS,转换为带 FrontMatter 的精美的 Markdown,博客迁移时有备无患。

Markdown 文件

每天 0 点更新的 Markdown 文件列表参见 docs 目录

演示站

用 GitHub Pages 托管的简易演示站:https://rikumi.dev/alloyteam-md/

使用

如果需要自动上传 COS,需要创建 .env 文件:

COS_SECRET_ID=<COS 的 SecretId>
COS_SECRET_KEY=<COS 的 SecretKey>
COS_BUCKET=<COS 的 Bucket>
COS_REGION=<COS 的 Region>

然后运行 npm run build 即可在 docs 里看到生成的文章。

效果

image

About

AlloyTeam 博客文章爬虫,转换为格式精美的 Markdown。


Languages

Language:JavaScript 100.0%