一个可部署到cf worker的onedrive列表程序

1,809次阅读
没有评论

onedrive列表程序不少了,有[oneindex](https://github.com/donwa/oneindex),[OneDrive_SCF](https://github.com/Tai7sy/OneDrive_SCF),[olaindex](https://github.com/WangNingkai/OLAINDEX) ,[olaindex魔改多盘](https://github.com/YukiCoco/OLAINDEX-Magic),[OneList ](https://github.com/0oVicero0/OneList),[pyone](https://github.com/abbeyokgo/PyOne) ,[cuteone](https://github.com/Hackxiaoya/CuteOne)等等,今天再介绍一个[FODI](https://github.com/vcheckzen/FODI),可部署到腾讯云函数上,也可部署到cloudflare worker上。

**截图:**

![](https://im.yanshu.work/article/20200213151346395_5297.png)

## 介绍

**地址**

– github:[https://github.com/vcheckzen/FODI](https://github.com/vcheckzen/FODI)
– DEMO:[https://logi.im/fodi.html](https://logi.im/fodi.html)
– 作者教程:[https://logi.im/back-end/fodi-on-cloudflare.html](https://logi.im/back-end/fodi-on-cloudflare.html)

**功能**

– 接近秒速列表
– 指定展示路径
– 特定文件夹加密
– 无需服务器免费部署
– 基本文本、图片、音视频和 Office 三件套预览

**缺点**

– 功能简单,界面简陋
– 不支持巨硬家的 IE 和 UWP 版 EDGE 浏览器
– 可能不支持包含千级数量以上文件的文件夹展示

## 部署后端

首先注册cloudflare并开通worker,参照我[前一篇文章](https://www.sitstars.com/archives/76/)

接着点击[该链接](https://logi.im/fodi/get-code/),按照提示获取后端代码

![获取代码](https://vip1.loli.net/2021/02/16/LWaDSYrRG9tImvw.png)

然后复制到worker中

![image.png](https://vip1.loli.net/2021/02/16/G5n2r4eu3hkbR7j.png)

点击`Save and Deploy`即可部署后端,我这里修改程序子域名为od,部署后最终会分配`https://od.yanshu.workers.dev/`域名,如下图所示

![](https://im.yanshu.work/article/20200213154906550_5422.png)

## 部署前端

前端是个html单页面,可以部署到github上,也可以直接放到网站目录里,地址在源码的`/front-end/index.html`,[点我直达](https://github.com/vcheckzen/FODI/blob/master/front-end/index.html)

我的习惯是在宝塔的网站目录下直接新建一个`index.html`,然后用自带的编辑功能,把代码复制进去,然后修改相关配置

![](https://im.yanshu.work/article/20200213155036497_27110.png)

其中,`SCF_GATEWAY`即cloudflare分配的域名,我这里是`https://od.yanshu.workers.dev/`,`SITE_NAME`是站点名称。

这样就部署完成了,我的演示地址为[https://www.sitstars.com/demo/onedrive/](https://www.sitstars.com/demo/onedrive/)Read More 

正文完
可以使用微信扫码关注公众号(ID:xzluomor)
post-qrcode
 0
评论(没有评论)

文心AIGC

2023 年 3 月
 12345
6789101112
13141516171819
20212223242526
2728293031  
文心AIGC
文心AIGC
人工智能ChatGPT,AIGC指利用人工智能技术来生成内容,其中包括文字、语音、代码、图像、视频、机器人动作等等。被认为是继PGC、UGC之后的新型内容创作方式。AIGC作为元宇宙的新方向,近几年迭代速度呈现指数级爆发,谷歌、Meta、百度等平台型巨头持续布局
文章搜索
热门文章
潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026

潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026

潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026 Jay 2025-12-22 09...
面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25

面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25

面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25 鹭羽 2025-12-13 22:37...
钉钉又发新版本!把 AI 搬进每一次对话和会议

钉钉又发新版本!把 AI 搬进每一次对话和会议

钉钉又发新版本!把 AI 搬进每一次对话和会议 梦晨 2025-12-11 15:33:51 来源:量子位 A...
商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1

商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1

商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1 十三 2025-12-15 14:13:14 ...
跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026

跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026

跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026 一水 2025-1...
最新评论
ufabet ufabet มีเกมให้เลือกเล่นมากมาย: เกมเดิมพันหลากหลาย ครบทุกค่ายดัง
tornado crypto mixer tornado crypto mixer Discover the power of privacy with TornadoCash! Learn how this decentralized mixer ensures your transactions remain confidential.
ดูบอลสด ดูบอลสด Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
Obrazy Sztuka Nowoczesna Obrazy Sztuka Nowoczesna Thank you for this wonderful contribution to the topic. Your ability to explain complex ideas simply is admirable.
ufabet ufabet Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
ufabet ufabet You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!
ufabet ufabet Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
热评文章
预见未来:96位前沿先锋超万字核心观点总结,抢抓未来产业新高地

预见未来:96位前沿先锋超万字核心观点总结,抢抓未来产业新高地

预见未来:96位前沿先锋超万字核心观点总结,抢抓未来产业新高地 henry 2025-12-11 10:27:...
Meta公开抄阿里Qwen作业,还闭源了…

Meta公开抄阿里Qwen作业,还闭源了…

Meta公开抄阿里Qwen作业,还闭源了… Jay 2025-12-11 11:48:25 来源:量子位 Ja...
MEET2026挤爆了,AI圈今年最该听的20+场演讲&对谈都在这

MEET2026挤爆了,AI圈今年最该听的20+场演讲&对谈都在这

MEET2026挤爆了,AI圈今年最该听的20+场演讲&对谈都在这 西风 2025-12-11 15:...
钉钉又发新版本!把 AI 搬进每一次对话和会议

钉钉又发新版本!把 AI 搬进每一次对话和会议

钉钉又发新版本!把 AI 搬进每一次对话和会议 梦晨 2025-12-11 15:33:51 来源:量子位 A...