OneManager-巨硬云盘最好的帮手

众所周知,巨硬个人版在国内是一个服务器都不给(抠门),我也是被迫换成了世纪互联版的OneDrive。今天刷GayHub发现了个好东西,查看链接赶紧部署,把原本Bug百出的Cloudreve给换了……

下载链接:查看链接

DEMO: https://od.lchnan.cn
How to Install:
1.Start web service on your server (httpd or other), make sure you can visit it.
启动web服务器,确保你能访问到。
2.Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.
开启伪静态(重写)功能,规则在.htaccess文件中,ngnix从里面复制,我们的目的是不管访问什么都让index.php来处理。
3.Upload code.
上传好代码。
4.Change the file .data/config.php can be read&write (666 is suggested).
使web身份可读写代码中的.data/config.php文件,推荐chmod 666 .data/config.php。
5.View the website in chrome or other.
在浏览器中访问。

下面是教程

添加一个OneDrive盘
根据你所需要的添加
如果是个人版请选MS,世纪互联选CN

然后一步一步获取refresh_token,文件建议在OneDrive网页上传。一定记得要回来刷新缓存!!!

主题我选用186大佬的 renexmoe

Functional files 功能性文件

favicon.ico

put it in the showing home folder of FIRST disk (maybe not root of onedrive). 放在第一个盘的显示目录(不一定是onedrive根目录)。

index.html

show content of index.html as html. 将index.html以静态网页显示出来。

head.md readme.md

it will showed at top or bottom as markdown. 以MD语法显示在顶部或底部。

head.omf foot.omf

it will showed at top or bottom as html (javascript works!). 以html显示在顶部或底部(可以跑js)。

本文作者 LCHNAN
本文链接 https://blog.lchnan.cn/archives/30
本文使用 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议
暂无评论

发送评论 编辑评论


|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇