2 Star 2 Fork 1

Wang Ningkai / OLAINDEX-CMD

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

OLAINDEX-LARGE.png

🍀 另一个OneDrive命令行客户端.

基于 Laravel-Zero , 并加入很多修改。

本项目参考了 onedrivecmd , 但是语言基于 PHP,毕竟 PHP 是世界上最好的语言。

OLAINDEX-CMD 是命令行版的 OLAINDEX.

Github

特点

  • 支持通过地址或 id 列举目录和文件;
  • 独立的文件操作;
  • 展示详细的文件信息;
  • 支持单文件上传下载,并显示进度;
  • 支持获取永久下载直链和分享直链
  • 支持离线下载 (接口仅对个人版开放);
  • 支持 office365 和 世纪互联;
  • 一键安装.
  • 本地化配置文件 (/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 <命令> [可选参数] [参数]

  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 # 分享下载直链
  upload        Upload File # 上传
  whereis       Find The Item\'s Remote Path # id转目录

  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 # 刷新token

作者

Blog : https://imwnk.cn

Email : imwnk@live.com

支持开发

如果你喜欢此作品,欢迎捐赠

微信/支付宝: Donate

License

OLAINDEX-CMD is an open-source software licensed under the MIT license.

The MIT License (MIT) Copyright (c) WangNingkai <ningkai.wang@live.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Another OneDrive Command Line Client. 展开 收起
PHP
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/wangningkai/OLAINDEX-CMD.git
git@gitee.com:wangningkai/OLAINDEX-CMD.git
wangningkai
OLAINDEX-CMD
OLAINDEX-CMD
master

搜索帮助