6ecfee98e6 | ||
---|---|---|
.data | ||
disk | ||
js | ||
platform | ||
theme | ||
vendor | ||
.htaccess | ||
.replit | ||
CFWorkers.js | ||
CFWorkers_rand.js | ||
app.json | ||
common.php | ||
conststr.php | ||
glitch.json | ||
index.php | ||
readme.md | ||
readme_cn.md | ||
update.sh | ||
version | ||
web.config | ||
writeable.sh |
readme.md
NOTICE:
The Releases is used as archive, not newest code.
Please read the descriptions of settings before raising an issue.
Deploy to Vercel
Official
Demo
https://onemanager-php.vercel.app/
Notice
you must wait 30-50s to make sure deploy READY after change config;
Vercel limit 100 deploy every day.
How to Install
Deploy to Replit
Official
https://repl.it/
https://replit.com/
Demo
https://onemanager.qkqpttgf.repl.co/
Notice
Import from Github
useing the.replit
file in code files will cause an empty web page, may someone help me?
How to Install
- Click the "+" or "Create Repl", find template "PHP Web Server" (via input "php"), input a name for your project in "Title" or left it default, Click the "+ Create Repl".
- After done, input
git clone https://github.com/qkqpttgf/OneManager-php && mv -b OneManager-php/* ./ && mv -b OneManager-php/.[^.]* ./ && rm -rf *~ && rm -rf OneManager-php
to Console or Shell on the right, press "Enter" to run it.- Click the green button "Run", it will show the web page on the right, you can open it in a new tab or window.
Deploy to Heroku
Dyno will no longer free
Official
Demo
https://herooneindex.herokuapp.com/
How to Install
~~Click the button 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 an app in Heroku, then turn to the Deploy tab, "Deployment method" via "Connect GitHub", select your github fork.
Deploy to Glitch
Official
Demo
How to Install
[New Project] -> [Import form Github] -> paste "https://github.com/qkqpttgf/OneManager-php" , after done, [Show] -> [In a New Window].
Deploy to Tencent Serverless Cloud Function (SCF)
SCF no longer free
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
-
Start web service on your server (httpd or other), make sure you can visit it.
-
Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.
-
Upload code.
-
Change the file .data/config.php can be read&write (666 is suggested).
-
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!).