Giter Site home page Giter Site logo

115drive-webdav's Introduction

115drive-webdav

GitHub Actions Release Downloads Docker Image

115 网盘 WebDav 服务,可配合支持 WebDAV 协议的客户端 App 食用,如 InfusenPlayer

新项目 rclone 改版,对比 115drive-webdav 功能更强大,支持 WebDav 服务,本地磁盘挂载,文件批量下载到本地等功能。https://github.com/gaoyb7/rclone-release

下载

https://github.com/gaoyb7/115drive-webdav/releases

运行

需要获取 115 网盘 Cookie 信息,包括 UID、CID、SEID,网页版 Cookie 时效较短,建议抓包 App 请求获取 Cookie,iOS 系统可使用 Stream 抓包,安卓系统使用抓包精灵

# xxxx 替换为对应的 UID、CID、SEID 值
./115drive-webdav --host=0.0.0.0 --port=8080 --user=user --pwd=123456 --uid=xxxxxx --cid=xxxxxxx --seid=xxxxx

服务启动成功后,用支持 WebDav 协议的客户端连接即可,不支持浏览器直接打开

Docker 运行

# 通过命令参数获取配置
docker run -d \
        -p 8081:8081 \
	--restart unless-stopped \
        gaoyb7/115drive-webdav:latest \
	--host=0.0.0.0 --port=8081 \
	--user=user --pwd=123456 \
	--uid=xxxxxx \
	--cid=xxxxxx \
	--seid=xxxxxx
	
# 通过配置文件获取配置
# /path/to/your/config 替换为实际配置文件地址
docker run -d \
        -p 8081:8081 \
	-v /path/to/your/config:/etc/115drive-webdav.json \
        --restart unless-stopped \
	gaoyb7/115drive-webdav \
	--config /etc/115drive-webdav.json

参数说明

--host
    服务监听地址,默认 0.0.0.0
--port
    服务监听端口,默认 8080
--user
    WebDav 账户用户名,默认 user
--pwd
    WebDav 账户密码,默认 123456
--uid
    115 网盘 Cookie,UID
--cid
    115 网盘 Cookie,CID
--seid
    115 网盘 Cookie,SEID
--config
    从文件中读取配置,参考 config.json.example

功能支持

  • 文件/文件夹查看
  • 文件下载
  • WebDav 权限校验
  • WebDav 在线视频播放
  • 文件上传
  • 文件重命名
  • 文件删除
  • 文件移动

App Cookie 获取方法

iOS

Android

115drive-webdav's People

Contributors

gaoyb7 avatar lihaoze123 avatar sleikang 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.