OneManager-php Onedrive目录直读程序

仓库地址

https://github.com/qkqpttgf/OneManager-php

支持部署到虚拟主机、VPS、SERVERLESS、容器服务等,支持挂载Onedrive、sharepoint和支持挂载Onedrive分享链接

VPS部署,配置伪静态规则

Apache伪静态规则
RewriteEngine On
RewriteRule ^(.*) index.php?/$1 [L]

Nginx伪静态规则
rewrite ^/(.*) /index.php?/$1 last;

Vercel部署目录直读程序

注意:
1,Vercel的环境变量修改后不会生效,要重新部署一次才生效,所以每次修改配置,程序会部署一下,部署时间20-40s左右,请等待。
2,Vercel每天API操作免费次数为100次(不是测试程序应该不会达到)。
3,Vercel的环境变量限制为4K,跟SCF一样,这样最多添加3个OD。
4,Vercel会被墙或被地区运营商污染。

项目地址: https://github.com/qkqpttgf/OneManager-php
部署方法:在readme里有,下载代码后解压,通过token上传部署。

另外: https://hostloc.com/thread-878285-1-1.html 中说Glitch给的默认域名不能改,是可以改的。

最后:https://onemanager.vercel.app/ 这个是哪位用啦,能让我用用吗,求求你啦。

部署方法:

  1. Download zip from https://github.com/qkqpttgf/OneManager-php
  2. Unzip it, select the folder at below: https://scfonedrive.github.io/Vercel/Deploy.html

  3. Click here to Creat a token, and input:
    Token:
  4. Input the name for your project:
    Name:
    onemanager

you can overlay an existed project

  1. Click the deploy button

Cloudflare workers kv 版本,功能还不完善

https://github.com/qkqpttgf/OneManager-cfworkerskv

部署到 Replit

官网
https://repl.it/
https://replit.com/

注意
直接Import from Github通过.replit文件指定php时,网页会空白,有人帮忙解决吗?

安装
点右上的 “+” 或左上的 “+ Create Repl”,template中输入php,点选”PHP Web Server”,在”Title”里输入你想要的名称或者让它默认, 点下面的”+ Create Repl”。
结束后,在右边的Console或Shell里输入
git clone https://github.com/qkqpttgf/OneManager-php && mv -b OneManager-php/* ./ && mv -b OneManager-php/.[^.]* ./ && rm -rf *~ && rm -rf OneManager-php
敲回车运行。
点上方的绿色 “Run” 按钮,右边会显示一个网页,你要在新窗口打开它来安装,不然不能登录。

部署到 Glitch

官网
https://glitch.com/

Demo
https://onemanager.glitch.me/

安装
点 [New Project] -> 点 [Import form Github] -> 粘贴 “https://github.com/qkqpttgf/OneManager-php” ,结束后,左上角点 [Show] -> [In a New Window]。