OneDriver Index Anywhere.
will support in future
git clone https://github.com/Tai7sy/OneDriveFly.git
cd OneDriveFly/php
composer create-project
cd OneDriveFly/nodejs
npm i && npm build
The generated files will be output to the dist
folder
MIT
OneDrive Index Anywhere (QCloud SCF/Aliyun FC/Cloudflare Workers/Google Cloud Functions etc.)
License: MIT License
OneDriver Index Anywhere.
will support in future
git clone https://github.com/Tai7sy/OneDriveFly.git
cd OneDriveFly/php
composer create-project
cd OneDriveFly/nodejs
npm i && npm build
The generated files will be output to the dist
folder
MIT
希望可以添加一个类似Oneindex向目录添加 .password 加密的功能
主要还是README.md
从oneindex好搬迁
提示400
<TITLE>Bad Request</TITLE>400
HTTP Error 400. The request is badly formed.
{"errorCode":-1,"errorMessage":"Process exited before completing request"}
日志:
START RequestId: b689b480-bcde-11e9-a159-52540014ca86
Event RequestId: b689b480-bcde-11e9-a159-52540014ca86
Warning: include(vendor/autoload.php): failed to open stream: No such file or directory in /var/user/index.php on line 2
Warning: include(): Failed opening 'vendor/autoload.php' for inclusion (include_path='/var/user:/var/runtime/php7') in /var/user/index.php on line 2
Warning: include(functions.php): failed to open stream: No such file or directory in /var/user/index.php on line 3
Warning: include(): Failed opening 'functions.php' for inclusion (include_path='/var/user:/var/runtime/php7') in /var/user/index.php on line 3
Fatal error: Uncaught Error: Call to undefined function path_format() in /var/user/index.php:51
Stack trace:
#0 /var/runtime/php7/bootstrap.php(41): main_handler(Array, Array)
#1 /var/runtime/php7/bootstrap.php(189): _scf_bootstrap\EventHandler->handle(Object(stdClass), Object(stdClass))
#2 /var/runtime/php7/bootstrap.php(212): _scf_bootstrap__main_for_scf()
#3 {main}
thrown in /var/user/index.php on line 51
END RequestId: b689b480-bcde-11e9-a159-52540014ca86
Report RequestId: b689b480-bcde-11e9-a159-52540014ca86 Duration:14ms Memory:128MB MaxMemoryUsed:12.918MB
测试了几次一直这样
请问后期能支持在线播放吗
文件夹有400多个文件 没找到下一页 只显示了200个
400
<TITLE>Bad Request</TITLE>HTTP Error 400. The request is badly formed.
上一版本正常,更新后发现不能预览html文件,不知道是api限制还是小bug,如下:
{"errorCode":-1,"errorMessage":"Grpc invokeFunction error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4906398 vs. 4194304)"}
推荐大佬参考
github.com/WangNingkai/OLAINDEX
OneDrive 目录查看索引分页查看;
支持代码、图片、文本文件即时预览、图片列表栏展示;
支持音视频播放(兼容大部分格式),视频播放采用 Dplayer.js,音乐播放采用 Aplayer;
支持自定义创建文件夹、文件夹加密、文件/文件夹删除、文件/文件夹的复制与移动;
支持文件搜索、文件上传、文件直链分享与删除、文件直链一键下载;
支持管理 readme/head 说明文件;
支持图床;
支持命令行操作;
支持文件离线下载(个人版);
后台基本显示管理,多主题管理,文件预览管理等等(清理缓存后及时生效);
支持世纪互联;
支持多种缓存系统(Redis、Memcached等);
更多功能欢迎亲自尝试。
注: 部分功能需登录。
下载出现错误代码
{"error":{"code":"serviceNotAvailable","message":"Service unavailable","retryAfterSeconds":120}}
是不是我的网盘没有开通权限啊😂
常见的情况有
1,超时
2,Warning: Invalid argument supplied for foreach() in /var/user/index.php on line 244 Warning: Invalid argument supplied for foreach() in /var/user/index.php on line 259
3,{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Exception: failed to get access_token. in /var/user/index.php:61\nStack trace:\n#0 /var/user/index.php(90): fetch_files('/OneDrive/%E6%9...')\n#1 /var/user/index.php(32): list_files('/%E6%95%99%E7%A...')\n#2 /var/runtime/php7/bootstrap.php(41): main_handler(Array, Object(stdClass))\n#3 /var/runtime/php7/bootstrap.php(177): _scf_bootstrap\EventHandler-\u003ehandle(Object(stdClass), Object(stdClass))\n#4 /var/runtime/php7/bootstrap.php(200): _scf_bootstrap\__main_for_scf()\n#5 {main}"}
这该怎么解决
这个报错是什么原因?
{
"errorMessage": "Cannot access private property React\\Http\\Io\\ServerRequest::$cookies",
"errorType": "Error",
"stackTrace": {
"file": "/code/index.php",
"line": 119,
"traceString": ""
}
}
这个在heroku上部署成功了,但是打开后显示500错误。
如题。
其它文件夹正常。
onedrive上是可以MKV播放,在Qdrive上显示此文件预览不支持,希望能添加Mkv格式的支持
AADSTS50020: User account '[email protected]' from identity provider 'live.com' does not exist in tenant '默认目录' and cannot access the application '298004f7-c751-4d56-aba3-b058c0154fd2'(OneDrive API) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
只是觉得界面一般般,所以我写了个主题,供大佬参考制作。
https://gitee.com/cworld1/usercss/raw/master/pure_onedrive/onedrive.css
authorization_code?error=access_denied&error_description=AADSTS650051%3a+Using+application+'OneDrive+API'+is+currently+not+supported+for+your+organization+stu.scau.edu.cn+because+it+is+in+an+unmanaged+state.+An+administrator+needs+to+claim+ownership+of+the+company+by+DNS+validation+of+stu.scau.edu.cn+before+the+application+OneDrive+API+can+be+provisioned.%0D%0ATrace+ID%3a+8fd3bb22-96d0-4bac-bd1a-9b97d95d6500%0D%0ACorrelation+ID%3a+ab213287-b2f8-45df-8d0b-b21943c714d2%0D%0ATimestamp%3a+2019-07-19+15%3a15%3a04Z
请问一下这种是什么原因导致的?
I successfully integrated index.php code in my server and it also shows the file content of the the folder whose path i entered in the code but the problem is when I try to open the particular file or folder it says page not found.
I think the problem is when I open indexed file or folder, it search for that URL in my server or website rather than in onedrive.
Could you please check the multi account feature code?
在授权Microsoft账户权限后出现错误:
Call to undefined function curl_init()
#0 OneDriveFly\index.php(36): curl('https://graph.m...', 0, NULL, Array)
#1 OneDriveFly\index.php(36): Library\OneDrive->info('/password')
#2 OneDriveFly\index.php(869): Library\OneDrive->get('/password')
#3 OneDriveFly\index.php(270): render(Array, Array, Array)
#4 OneDriveFly\index.php(62): handler(Object(Symfony\Component\HttpFoundation\Request))
#5 OneDriveFly\index.php(103): cgi_entry()
#6 {main}
url:
/?oauth_callback=%7B"name"%3A"1"%2C"code"%3A"0.AXEAg-fyIXQ_L0mpLlLmvvIhsfcEgClRx1ZNq6OwWMAVT9JxAJQ.AQABAAIAAAD--DLA3VO7QrddgJg7WevrQFedDHx8-gxG9XvUMYLEbFzpJQfEgAjSXXpa-Y2IJCgui1teyrXbhAhNNGHjW_GdiUfCwBoQKTW1GnjGDG3WWBzLzu-Tx28GvX-crm1C7_fVwYwxIED5L2hBhmO4Kw0T8Z_ddkqd_9uOGBtCfo4ST91_s_DkvzxQKkyNYxfLWy733YLndJdpCU3T4huT8cTY4AwkhN5hQkAX5ANYVBmuQT6zb7qM9M0qoqcxENE5PSqEOjJzMwUW41jnDl2qaLlD_duFXZf_SWA79NvN7buR4GoGJs5Z7KBuqs6hmsJYg8egtgKJtugpSxiVWEba5oUWE7CBUbKvQqKT94b9nq0zu0djUxsRkl5Sz46EfWsJU55KAR_f7C895SunD7vxMN8rrX0jAli2or1_kOHriJ8H86IIVxFgUPmagSI210F_GhZpgi7Oay3GGpLmn6-6SXGVi9vcxhBLVO09RewlKTEtS6fbodw6oYu51fj7_RTsr3Yo15MYb4AN7PuoCJ1CeEKGuIl-FMTSh2Z1Mw8ordqp0Dif1cC-5k5RMcuRuElOcQhsYTf3r2l_Ta_Eq49Sh1EkfZQobtK1Dl67FIT0BIzdc5rqJ7AbPHLdFEfx1BYYfDWhxcyMsBZYM2-cyosmrvM-3FnBGINtioprwFj5wwVQLYNIlkYsU24AMqYEqd3yxLaH_gQA5M69MKa3eP7Fggr7Izozt-cXcWeKDLyiqTiFvsT0je410HsCSGOX87f55qEwvAgHC_3PU21MW5dKBPossG4jreH8PXgy5nmjn0ug3SAA"%2C"oauth"%3A%7B"redirect_uri"%3A"https%3A%2F%2Fonedrivefly.github.io"%2C"client_id"%3A"298004f7-c751-4d56-aba3-b058c0154fd2"%2C"client_secret"%3A"-%5E(!BpF-l9%2Fz%23%5B%2B5t)alg%3B%5BV%40%3B%3B)_%5D%3B)%40j%23%5EE%3BT(%26%5E4uD%3B%26%3F%232)>H%3F"%2C"oauth_url"%3A"https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fv2.0%2F"%2C"api_url"%3A"https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Fdrive%2Froot"%2C"scope"%3A"https%3A%2F%2Fgraph.microsoft.com%2FFiles.ReadWrite.All%20offline_access"%7D%7D
新建函数上传后提示”函数命名不符合规范“,8月之前都是正常的
P.S. 已有的服务似乎不受影响
你好,能不能增加像oneindex一样的看图模式?还有就是反馈一个问题,就是当文件超过200时,它只显示前200个
老板,报错了,你的挂载程序出bug了
@Tai7sy 能获取到列表,但是点击都是404错误。
报错信息如下:
{"errorCode":-1,"errorMessage":"Task timed out after 3 seconds"}
请问大佬如何解决呢?
如题,希望尽快支持Workers,反正有10w额度
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.