An index & manager of Onedrive based on serverless. Can be deployed to Heroku/Glitch/Vercel/Replit/SCF/FG/FC/CFC/PHP web hosting/VPS.
 
 
 
 
Go to file
qkqpttgf 07c715c7e0
try fix # in title
2021-10-15 13:44:06 +08:00
.data Add platform Glitch 2020-11-06 18:02:03 +08:00
disk fix cant upload 2021-10-07 12:39:49 +08:00
platform fix CSRF, try fix %20 2021-10-06 08:01:31 +00:00
theme fix CSRF, try fix %20 2021-10-06 08:01:31 +00:00
vendor rm not used vendor 2020-08-17 04:51:12 -04:00
.htaccess add nginx rewrite when used in Subdirectory 2021-05-24 17:55:28 +08:00
CFWorkers.js fix bug 2020-10-03 11:28:56 +08:00
app.json Update app.json 2020-02-01 11:49:46 +08:00
common.php try fix # in title 2021-10-15 13:44:06 +08:00
conststr.php video add ts 2021-09-10 09:21:31 +08:00
glitch.json Add platform Glitch 2020-11-06 18:02:03 +08:00
index.php fix CSRF, try fix %20 2021-10-06 08:01:31 +00:00
readme.md separate en/cn 2021-10-15 10:56:32 +08:00
readme_cn.md Create readme_cn.md 2021-10-15 10:57:23 +08:00
update.sh Update update.sh 2020-11-17 23:22:56 +08:00
version Update version 2021-08-20 10:35:01 +00:00
web.config Add IIS rewrite rule 2020-08-28 10:53:35 +08:00
writeable.sh Add platform Glitch 2020-11-06 18:02:03 +08:00

readme.md

中文readme

NOTICE:

The release is used as archive.

Please read the descriptions of settings before raising an issue.


Deploy to Heroku

Official

https://heroku.com

Demo

https://herooneindex.herokuapp.com/

How to Install

~~Click the button Deploy to Deploy a new app~~("We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.")

Star this project, then Fork, create a app in Heroku, then turn to the Deploy tab, "Deployment method" via "Connect GitHub", select your github fork.


Deploy to Glitch

Official

https://glitch.com/

Demo

https://onemanager.glitch.me/

How to Install

[New Project] -> [Import form Github] -> paste "https://github.com/qkqpttgf/OneManager-php" , after done, [Show] -> [In a New Window].


Deploy to Vercel

Official

https://vercel.com/

Demo

https://onemanager-php.vercel.app/

Notice

  1. you must wait 30-50s to make sure deploy READY after change config;

  2. Vercel limit 100 deploy every day.

How to Install

https://scfonedrive.github.io/Vercel/Deploy.html .


Deploy to Tencent Serverless Cloud Function (SCF)

Official

https://cloud.tencent.com/product/scf

DEMO

null

How to Install

see CN readme.


Deploy to Huawei cloud Function Graph (FG)

Official

https://console.huaweicloud.com/functiongraph/

DEMO

null

How to Install

see CN readme.


Deploy to Aliyun Function Compute (FC)

Official:

https://fc.console.aliyun.com/

DEMO

null

How to Install

see CN readme.


Deploy to Baidu Cloud Function Compute (CFC)

Official

https://console.bce.baidu.com/cfc/#/cfc/functions

DEMO

null

How to Install

see CN readme.


Deploy to Virtual Private Server (VPS) or php host

DEMO

null

How to Install

  1. Start web service on your server (httpd or other), make sure you can visit it.

  2. Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.

  3. Upload code.

  4. Change the file .data/config.php can be read&write (666 is suggested).

  5. View the website in chrome or other.


Features

When downloading files, the program produce a direct url, visitor download files from MS OFFICE via the direct url, the server expend a few bandwidth in produce.

When uploading files, the program produce a direct url, visitor upload files to MS OFFICE via the direct url, the server expend a few bandwidth in produce.

The XXX_path in setting is the path in Onedrive, not in url, program will find the path in Onedrive.

LOGO ICON: put your 'favicon.ico' in the path you showed, make sure xxxxx.com/favicon.ico can be visited.

Program will show content of 'readme.md' & 'head.md'.

guest upload path, is a folder that the guest can upload files, but can not be list (exclude admin).

If there is 'index.html' file, program will only show the content of 'index.html', not list the files.

Click 'EditTime' or 'Size', the list will sort by time or size, Click 'File' can resume sort.


Functional files

favicon.ico

put it in the showing home folder of FIRST disk (maybe not root of onedrive).

index.html

show content of index.html as html.

head.md

readme.md

it will showed at top or bottom as markdown.

head.omf

foot.omf

it will showed at top or bottom as html (javascript works!).


A cup of coffee

https://paypal.me/qkqpttgf


Chat

Telegram Group

https://t.me/joinchat/I_RVc0bqxuxlT-d0cO7ozw