光速搭建带有图床的博客
2024-09-25
07
24
julyfun
notes
搭建主站ref: https://juejin.cn/post/7134899224985993230如果没有安装 bun 你就 curl -fsSL https://bun.sh/install | bashfork https://github.com/moeyua/astro-theme-typographygit clone your fork 并在仓库中 bun install在 src/content/posts 中修改文章在仓库根目录 bun dev run 本地查看站点(热更新)git push 到你的 fork在 vercel.com 的 dashboard 中 Import git repo,部署时注意有些选项需要修改为 bun run build 和 bun install修改成喜欢的域名,提供 julyfun.vercel.app 这种免费域名的(可选)vercel.app 被墙了,可配置国内域名在阿里云之类的地方买一个域名使用 cloudflare DNS, see: https://bbs.maozhishi.com/d/56-cloudflare给 vercel 配置域名, see: https://blog-zoey.top/posts/vercel-dns-china托管于非中国内地服务器的网站无需进行ICP备案。ref: https://help.aliyun.com/zh/icp-filing/basic-icp-service/product-overview/icp-filing-requirements-for-a-regular-website(可选)搭建图床ref: https://zhuanlan.zhihu.com/p/119250383备份另一份 ref: https://cloud.tencent.com/developer/article/2067043参照 ref 搭建腾讯云 + PicGO 图床建议在 PicGO 中下载 webp 插件,上传时压缩图片随后你可以在 obsidian 中下载 image auto upload plugin 自动上传到图床verified this part on 24.9.10how-to如果最后访问域名显示重定向次数过多,在第二个链接 🔗 里说了需配置 SSL - strictverified on 24.7.2