王宁凯 / olaindex-cmd
✨ 另一个OneDrive命令行客户端。
v1.0
2018-11-23 13:38 UTC
Requires
- php: ^7.1.3
- ext-bcmath: *
- ext-fileinfo: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- guzzlehttp/guzzle: ^6.3
- illuminate/log: 5.7.*
- laravel-zero/framework: 5.7.*
- vlucas/phpdotenv: ^2.5
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^7.3
This package is auto-updated.
Last update: 2024-09-10 15:06:37 UTC
README
🍀 另一个OneDrive命令行客户端。
基于 Laravel-Zero ,进行了很多修改。
这是对 onedrivecmd 的模仿,但使用不同的语言。
OLAINDEX-CMD是OLAINDEX的命令行版本。
服务器要求
- PHP >= 7.1.3
- OpenSSL PHP扩展
- PDO PHP扩展
- Mbstring PHP扩展
- Tokenizer PHP扩展
- XML PHP扩展
- Ctype PHP扩展
- JSON PHP扩展
- BCMath PHP扩展
- Fileinfo PHP扩展
项目
特性
- 使用路径URI或文件ID访问文件和文件夹
- 单个文件的上传和下载操作
- 列表操作(显示文件大小和其他文件信息)
- 带有原生进度条的下载和上传。
- 获取分享链接和直接下载链接!
- 远程下载链接到您的驱动器(NEW!连Web控制台都不提供)(由于API限制,仅在个人版可用)。
- 支持Office 365和中国21Vianet。
- 基于PHP,易于安装。
- 本地配置文件(/storage/app/config.json)。
安装
手动安装
mkdir -p olaindex && cd olaindex git clone https://github.com/WangNingkai/OLAINDEX-CMD.git tmp && mv tmp/.git . && rm -rf tmp && git reset --hard composer install chmod -R 755 storage chown -R www:www * cp .env.example .env cp storage/app/config.sample.json storage/app/config.json chmod 777 storage/app/config.json chmod +x olaindex ./olaindex install
自动安装
wget -N --no-check-certificate https://raw.githubusercontent.com/WangNingkai/OLAINDEX-CMD/master/install.sh && chmod +x install.sh && bash install.sh
使用方法
OLAINDEX-CMD USAGE: olaindex <command> [options] [arguments] account Account Info cp Copy Item direct Create Direct Share Link download Download Item find Find Item install Install App login Account Login logout Account Logout ls List Items mkdir Create A New Folder mv Move Item quota OneDrive Info reset Reset App rm Delete Item share Create Download Link test Command Test upload Upload File whereis Find The Item\'s Remote Path cache:clear Flush the application cache cache:forget Remove an item from the cache config:cache Create a cache file for faster configuration loading config:clear Remove the configuration cache file refresh:token Refresh Token
作者
博客: https://imwnk.cn
邮箱: imwnk@live.com
支持开发
你喜欢这个项目吗?通过捐赠支持它
微信/支付宝: 捐赠
许可协议
OLAINDEX-CMD是开源软件,根据MIT许可协议授权。