161 次浏览

Cloudflare Workers + KV Deploys OnePoint to Mount OneDrive with Rclone

Two blog posts in 2020 mentioned the process of registration of free German VPS EUserv and its configuration, installation of YukiDrive and mounting of OneDrive. But good times don’t last long. From December 2022, the renewal rules of German free VPS EUserv have been revised. Originally, only one free manual renewal was required per month, but now you need to pay 2 euros for a one-time installation. At the same time, you must pay at least 10 euros at a time with an international credit card. You can make a free manual renewal after payment. This is considered to be a fee. In my opinion, we need to look for a free VPS continuously. Considering the issue of E5 account renewal, I’d like to call APIs to mount OneDrive continuously.

I found one blog post named “Cloudflare Workers +kv部署OnePoint – 一个轻量级、多平台、多网盘的文件目录索引程序” on Daniao Blog which briefly introduced how to use Cloudflare Workers + KV to deploy OnePoint, and I followed the steps to successfully complete the deployment. OnePoint is a lightweight, multi-platform, multi-net disk file directory index (and management) tool. Support cloud disk OneDrive, GoogleDrive, Coding, Teambition, Node_fs, AliDrive, etc.

However, this method is currently unable to mount AliDrive, so I would try to mount OneDrive. After searching the Internet for a period of time, I found that there is no detailed guide. I tried to operate it on the OnePoint management page, but when I needed to obtain the refresh_token in one step, the link given by the program was invalid. How to do it?

Finally, I found the following blog post named “Use Cloudflare Workers with Rclone to Deploy a Cloud Drive Index & List App – OnePoint”. Inspired by the above blog post, you can use Rclone to manually obtain the refresh-token of OneDrive. I continued to refer to the blog post “Rclone进阶使用教程 – 自建私有API挂载OneDrive” and successfully obtained the refresh-token.

My OneDrive File List:

青春路上的文档备份

https://divine-flower-6ea4.summersnow.workers.dev/

Links to the original text of the two blog posts in 2020:

Building YukiDrive on Germany Permanent Free VPS EUserv

Application and Configuration on Germany Permanent Free VPS EUserv

One Reply on “Cloudflare Workers + KV Deploys OnePoint to Mount OneDrive with Rclone”

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注