Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aoaostar/alidrive-uploader-for-baota
阿里云盘上传宝塔插件
https://github.com/aoaostar/alidrive-uploader-for-baota
Last synced: 14 days ago
JSON representation
阿里云盘上传宝塔插件
- Host: GitHub
- URL: https://github.com/aoaostar/alidrive-uploader-for-baota
- Owner: aoaostar
- Created: 2021-07-20T09:43:15.000Z (over 3 years ago)
- Default Branch: v2
- Last Pushed: 2022-07-28T06:22:37.000Z (over 2 years ago)
- Last Synced: 2024-08-01T08:18:20.742Z (3 months ago)
- Language: JavaScript
- Size: 354 KB
- Stars: 101
- Watchers: 5
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 说明
本项目为阿里云盘上传工具的宝塔插件
可以将服务器内的文件快速上传到阿里云盘## 演示图
![](docs/img_1.png)
![](docs/img_2.png)
![](docs/img_3.png)
## 安装
### Centos7
```shell script
yum install -y wget && wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh install
```
### Debian
```shell script
wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh install
```
## 更新
```
wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh update
```
## 配置账号信息
![](https://z3.ax1x.com/2021/03/27/6zB8JA.png)* 控制台快速获取代码
```javascript
var d = JSON.parse(localStorage.getItem('token'));
console.log(` drive_id: ${d.default_drive_id}\n refresh_token: ${d.refresh_token}`);
```