Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for halalcloud driver #6696

Merged
merged 1 commit into from
Jul 7, 2024
Merged

Conversation

Three-taile-dragon
Copy link
Contributor

@Three-taile-dragon Three-taile-dragon commented Jul 3, 2024

添加 6盘(halalcloud) 驱动

6盘(halalcloud) 官方网站:https://2dland.cn
官方公告、文档地址:https://2dland.yuque.com/r/organizations/homepage

注意:

  • 6盘 现在未正式运营,现在为内测版本
  • 暂时不能注册新用户
  • 用户名为之前用户名

配置项说明

  • Root folder path:根目录路径

  • Refresh token:刷新令牌

  • Upload thread:上传线程(默认为 3 , 范围1-32)

  • App id应用ID (默认已给出,无需填写)

  • App version应用版本(默认已给出,无需填写)

  • App secret应用密钥(默认已给出,无需填写)


Refresh token获取说明
  1. 初次添加时,Refresh token可以留空,此时会弹出通知:
Screenshot 2024-07-03 212022
  1. 此时,返回存储页面,点击刷新按钮,之前添加的驱动会如下图所示:
Screenshot 2024-07-03 212054
  1. 点击图中的 Click Here,会跳转到官方的授权页面,填入用户名密码后,待页面刷新后,会出现下图所示的画面:
Screenshot 2024-07-03 212124
  1. 此时,复制地址栏中的 refresh token字眼后面的,以 rt__开头的,以"结尾的字符串,粘贴到驱动中的 Refresh token字段,此时驱动应该正确启用,enjoy~

  2. 电脑端的用户,也可以使用(F12)控制台获取

路径:
应用 --> 本地存储空间 --> https://drive.2dland.cn --> USER_INFO --> refreshToken

Screenshot 2024-07-03 213139

由于6盘(halalcloud)采用的 IPFS协议存储,因此块大小被限制在1MB,于是只能使用本机代理进行下载,且单线程速度较慢,使用时请尽量使用多线程下载,提升速度

@anwen-anyi
Copy link
Contributor

知道6盘使用的是IPFS方式,不能直接加到IPFS驱动吗哈哈~

@Three-taile-dragon
Copy link
Contributor Author

知道6盘使用的是IPFS方式,不能直接加到IPFS驱动吗哈哈~

不行,不过他们也提供webdavsftp,有需要的也可以用这两个驱动挂载

Copy link
Contributor Author

@Three-taile-dragon Three-taile-dragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@foxxorcat 感谢指正,已经修改了

@xhofe xhofe merged commit ca30849 into AlistGo:main Jul 7, 2024
3 checks passed
ForSourceCodeAnalysis pushed a commit to ForSourceCodeAnalysis/alist that referenced this pull request Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants