Total Pageviews

Sunday, 27 September 2026

在Cloudflare.com平台部署静态博客程序Firefly和sr

 项目地址:

https://github.com/CuteLeaf/Firefly
https://github.com/brightmann/Firefly/

https://github.com/brightmann/Firefly/tree/master/src/content/posts ,在此创建源帖。

 源帖示例:

 https://github.com/brightmann/Firefly/blob/master/src/content/posts/fh.md?plain=1

(登录Cloudflare Dashboard,我是用github a/c: brightmann@gmail.com登录的。

compute → Workers & Pages → Create application → Continue with GitHub
选中你刚推送的仓库 → 自动识别构建命令 → 点击 Deploy)。Deploy完成后,我得到网址:

 https://firefly.brightmann.workers.dev/ 

新建源帖后,要等5分钟左右,网站才会更新。
(https://firefly-two-azure.vercel.app/)

-------------------------------------------------------

 项目地址:

https://github.com/LyraVoid/Shirone
https://github.com/brightmann/sr (需要在项目的根目录下,新建wrangler.jsonc文件:https://github.com/brightmann/sr/blob/main/wrangler.jsonc。wrangler.jsonc文件就是ai要我创建的, 并且给了我文件内容)
https://github.com/brightmann/sr/tree/main/src/content/posts ,在此创建源帖。

  源帖示例:

https://github.com/brightmann/sr/blob/main/src/content/posts/fh.md?plain=1
(如果在cloudflare里,部署遇错,就点击页面顶部的ask ai, 让ai帮你解决错误)

 Deploy完成后,我得到网址:https://sr.brightmann.workers.dev/ 

新建源帖后,要等5分钟左右,网站才会更新。
(https://sr-bice-eight.vercel.app/)

No comments:

Post a Comment