原本一直在用 @spencerwooo 作者的 onedrive-vercel-index 项目. 不过最近原作者 archive 仓库不维护了(加上 vercel 被墙了), 于是我 fork 并将它迁移到了 Cloudflare Pages 上.
原理就是通过 Onedrive 相关的 API 获取你 Onedrive 里的文件并提供 UI 展示和直链, Onedrive 下载不限速且 microsoftonline (E5 Onedrive) 的域名没被墙
项目: https://github.com/lyc8503/onedrive-cf-index-ng
UI 还是比较美观和舒适的, 有多种文件格式的在线预览, 可以方便地免费部署在 Cloudflare 上, 可 CNAME 接入自己的域名, 无需信用卡认证
放两张图:


OneDrive, 直链, Cloudflare, 域名