Giter Site home page Giter Site logo

webdav-caiyun's Introduction

CI

和彩云Webdav

本项目实现了和彩云网盘的Webdav协议,可以通过此协议将网盘挂载到Windows或者Nas中。项目是基于 zxbu/webdav-aliyundriver 修改实现的,如有侵权请联系删除。

使用方法

Jar包运行

点击下载JAR

[root@localhost ~]# java -jar caiyun-webdav.jar --caiyun.account="orches-c-account" --caiyun.token="orches-c-token" --caiyun.encrypt="orches-i-account-encrypt" --caiyun.tel="user telnum"

其中:

  • caiyun.account:网页版和彩云Cookie中的 ORCHES-C-ACCOUNT 字段
  • caiyun.token:Cookie中的 ORCHES-C-TOKEN
  • caiyun.encrypt:Cookie中的 ORCHES-I-ACCOUNT-ENCRYPT
  • caiyun.tel: 和彩云的注册号码
  • caiyun.auth.user-name可选 默认admin
  • caiyun.auth.password可选 默认admin

Docker

[root@localhost ~]# docker run -d --name=caiyun-webdav --restart=unless-stopped -p 8080:8080  -v /etc/localtime:/etc/localtime -e TZ="Asia/Shanghai" -e JAVA_OPTS="-Xmx512m" -e CAIYUN_ACCOUNT="ORCHES-C-ACCOUNT" -e CAIYUN_TOKEN="ORCHES-C-TOKEN" -e CAIYUN_ENCRYPT="ORCHES-I-ACCOUNT-ENCRYPT" -e CAIYUN_TEL="YOUR PHONE" vgearen/caiyun-webdav

默认认证账号密码admin/admin,需要修改添加参数 -e CAIYUN_AUTH_USER_NAME="USERNAME" -e CAIYUN_AUTH_PASSWORD="PASSWORD"

Docker Compose

version: '3'
services:
  caiyun-webdav:
    image: vgearen/caiyun-webdav
    container_name: caiyun-webdav
    restart: unless-stopped
    volumes:
      - /etc/localtime:/etc/localtime
    ports:
      - "8080:8080"
    tty: true
    environment:
      - TZ=Asia/Shanghai
      - CAIYUN_ACCOUNT=<change me>
      - CAIYUN_TOKEN=<change me>
      - CAIYUN_ENCRYPT=<change me>
      - CAIYUN_TEL=<change me>
      # - CAIYUN_AUTH_USER_NAME=<change me>
      # - CAIYUN_AUTH_PASSWORD=<change me>

获取Cookie的方法

打开网页版和彩云,Windows下按F12调出开发者工具,依次选择 应用程序 -> 存储 -> Cookie

获取Cookie的方法

客户端兼容性

客户端 兼容情况
QNAP HybirdMount
RaiDrive
macOS Finder
Windows原生

使用教程

  1. Windows RaiDrive挂载
  2. Qnap威联通挂载

TODO

  1. 账号密码登录

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

webdav-caiyun's People

Contributors

vgearen avatar

Watchers

 avatar

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.