Giter VIP home page Giter VIP logo

rclone-release's Introduction

rclone

Release Downloads Docker Image

rclone 改版,兼容支持 115 网盘。

代码目录:https://github.com/gaoyb7/rclone/tree/feat-115-drive

下载

https://github.com/gaoyb7/rclone-release/releases

  • 功能和原版 rclone 一致,不提供相关的功能使用咨询,自行找教程解决
  • 不支持文件上传功能,也无相关的计划

配置生成

方式一:通过 rclone config 生成本地配置

# 根据提示生成对应的 115 配置,生成配置后,可进行 rclone WebDav 服务启动,磁盘挂载等操作
# 网上教程很多自行查阅
./rclone config

# 下面的命令均假设生成的配置名为 115drive,根据实际情况修改

方式二:通过环境变量获取配置

参考:https://rclone.org/docs/#config-file

rclone 支持从环境变量生成并读取配置,具体环境变量的格式为 RCLONE_CONFIG_{{remote}}_{{param}},其中 {{remote}} 为配置名,{{param}} 为对应的参数名,均为大写。如配置名为 115drive,参数 uid,对应的环境变量为 RCLONE_CONFIG_115DRIVE_UID。其中 RCLONE_CONFIG_{{remote}}_TYPE 用于指定网盘类型,115 网盘对应为 115

WebDav 服务

参考:https://rclone.org/commands/rclone_serve_webdav/

# 示例:将网盘挂载为本地 WebDav 服务,端口号 8081,支持局域网访问
# 命令行方式运行
./rclone serve webdav --addr 0.0.0.0:8081 --vfs-read-chunk-size=4M --buffer-size=32M -v 115drive:

# Docker 方式运行,从环境变量读取配置
docker run -d \
    -p 8081:8081 \
    -e RCLONE_VERBOSE=1 \
    -e RCLONE_ADDR=0.0.0.0:8081 \
    -e RCLONE_CONFIG_115DRIVE_TYPE=115 \
    -e RCLONE_CONFIG_115DRIVE_UID=<your uid> \
    -e RCLONE_CONFIG_115DRIVE_CID=<your cid> \
    -e RCLONE_CONFIG_115DRIVE_SEID=<your seid> \
    --restart unless-stopped \
    gaoyb7/rclone:latest serve webdav --vfs-read-chunk-size=4M --buffer-size=32M -v 115drive:
  • Docker 方式运行无需 rclone config 生成配置
  • RCLONE_CONFIG_115DRIVE_UIDRCLONE_CONFIG_115DRIVE_CIDRCLONE_CONFIG_115DRIVE_SEID 参数替换成对应的 Cookie UID、CID、SEID

本地磁盘挂载

参考:https://rclone.org/commands/rclone_mount/

# 示例:将网盘挂载到本地磁盘 /mnt/115drive 目录(/mnt/115drive 必须为空目录)
# 命令行方式运行
./rclone mount -v \
        --allow-other \
        --read-only \
        --vfs-read-chunk-size=4M \
        --buffer-size=32M \
        115drive: /mnt/115drive

# 命令行方式运行,Windows 系统,挂载为 X: 盘
.\rclone.exe mount -v --read-only --vfs-read-chunk-size=4M --buffer-size=32M --network-mode 115drive: X:

# Docker 方式运行,从环境变量读取配置
docker run -d \
    -e RCLONE_VERBOSE=1 \
    -e RCLONE_CONFIG_115DRIVE_TYPE=115 \
    -e RCLONE_CONFIG_115DRIVE_UID=<your uid> \
    -e RCLONE_CONFIG_115DRIVE_CID=<your cid> \
    -e RCLONE_CONFIG_115DRIVE_SEID=<your seid> \
    --volume /mnt:/mnt:shared \
    --device /dev/fuse \
    --cap-add SYS_ADMIN \
    --security-opt apparmor:unconfined \
    --restart unless-stopped \
    gaoyb7/rclone:latest mount \
    --allow-other \
    --allow-non-empty \
    --read-only \
    --vfs-read-chunk-size=4M \
    --buffer-size=32M \
    115drive: /mnt/115drive
  • Linux 版本需要安装 fuse 依赖
    • Debian 系如 Ubuntu: apt-get install -y fuse3
    • RedHat 系如 CentOS: yum install -y fuse3
  • Windows 版本需要安装 WinFsp 依赖,https://winfsp.dev/
  • macOS 版本需要安装 macFUSE 依赖,https://osxfuse.github.io/

文件批量下载

参考:https://rclone.org/commands/rclone_copy/

# 示例:将网盘的 data/movies 文件夹下载到本地 /data/downloads/movies
./rclone copy -P --multi-thread-streams=2 --transfers=5 115drive:/data/movies /data/downloads/movies
  • 115 网盘最多支持 5 个文件同时下载,对应的参数为 --transfers=5
  • 115 网盘单文件最多支持 2 线程下载,对应的参数为 --multi-thread-streams=2

其他功能

参考 https://rclone.org/docs/

rclone-release's People

Contributors

gaoyb7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rclone-release's Issues

115本地挂载失败

大佬,115本地挂载失败。日志如下:

date stream content
2022-11-01T10:36:17.595661461Z stderr 2022/11/01 10:36:17 INFO  : 115 /: poll-interval is not supported by this remote
2022-11-01T10:36:17.594173756Z stderr 2022/11/01 10:36:17 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2022-11-01T10:35:31.144725211Z stderr 2022/11/01 10:35:31 INFO  : Exiting...
2022-11-01T10:35:31.144472473Z stderr 2022/11/01 10:35:31 ERROR : /mnt/115drive: Unmounted rclone mount
2022-11-01T10:35:31.121701299Z stderr 2022/11/01 10:35:31 INFO  : Signal received: terminated
2022-11-01T10:30:01.527089677Z stderr 2022/11/01 10:30:01 INFO  : 115 /: poll-interval is not supported by this remote
2022-11-01T10:30:01.525474023Z stderr 2022/11/01 10:30:01 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2022-11-01T10:29:32.438308302Z stderr 2022/11/01 10:29:32 INFO  : Exiting...
2022-11-01T10:29:32.438041400Z stderr 2022/11/01 10:29:32 ERROR : /mnt/115drive: Unmounted rclone mount
2022-11-01T10:29:32.421126052Z stderr 2022/11/01 10:29:32 INFO  : Signal received: terminated
2022-11-01T10:28:05.226468365Z stderr 2022/11/01 10:28:05 INFO  : 115 /: poll-interval is not supported by this remote
2022-11-01T10:28:05.224939955Z stderr 2022/11/01 10:28:05 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults

下面是设置图

image

请问怎样挂载

需要安装其它的软件吗,目前仅抓取了cookie没有找到挂载教程

mount命令没有

全村的希望。。。。希望大佬能够尽快修正
rclone命令里面没有mount,windows和linux都试过了,都存在同样的问题。

Error: unknown command "mount" for "rclone" for Darwin-arm64

Thanks for making the remarkable software. I am using:rclone_v1_20230316_Darwin_arm64.tar.gz, and I got following error:
Error: unknown command "mount" for "rclone"
Run 'rclone --help' for usage.
You could use 'rclone selfupdate' to get latest features.

2023/11/11 17:26:37 Fatal error: unknown command "mount" for "rclone"

v1_20221001的版本无法在openwrt for x86上运行

不知是不是新版只能在正宗的linux上才可运行?v1_20221001的版本无法在openwrt for x86上运行,之前的版本可以正常,新版的115drive-webdav也是不能运行。旧版都可以的,虽然旧版不能下载115的大文件。

docker挂载好了目录里面没东西

2023/10/18 18:35:44 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2023/10/18 18:35:44 INFO : 115 /: poll-interval is not supported by this remote

MACOS,按你的命令调整了下目录结构,docker可以正常运行,但是好像没什么用,没挂载上网盘

是否支援mac m1呢

不好意思 稍微嘗試了一下
我使用linux arm64版本
在m1版本的macmini會報 Exec format error
是否有解決方案呢
感謝

docker的 WebDav 加用户密码登录吗?

大神你好,我成功把网盘挂载为本地 WebDav 服务了。
请问可以怎么加上用户名和密码啊?
我用这个没有作用,不知道是不是我姿势不对。
-e USERNAME=root -e PASSWORD=password \

mikrotik container 未能成功创建配置文件

命令:
/container/add remote-image=gaoyb7/rclone:latest interface=veth2 hostname=115drive root-dir=container/115drive logging=yes cmd="serve webdav --vfs-read-chunk-size=4M --buffer-size=32M -v 115drive:" envlist="-e RCLONE_VERBOSE=1 -e RCLONE_ADDR=0.0.0.0:8081 -e RCLONE_CONFIG_115DRIVE_TYPE=115 -e RCLONE_CONFIG_115DRIVE_UID=****** -e RCLONE_CONFIG_115DRIVE_CID=****** -e RCLONE_CONFIG_115DRIVE_SEID=******"

日志:
Config file "/config/rclone/rclone.conf" not found - using defaults
Failed to create file system for "115drive:": didn't find section in config file

container状态:
stopped

大神,最新release arm64的包,没有mount命令

我看rclone-feat-115-drive仓库代码里确实有mount命令。很奇怪下载的rclone_v1_20221024_Darwin_arm64的rclone里不包含mount,请问可以在打一个带mount命令的包吗。我现在正在装golang环境,不知道自己能不能打出包来。。。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.