RepositoryGo
heartleo

heartleo/webdav-115drive

115网盘 WebDAV 服务

75stars
9forks
0issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: alist

#1 Repository of the week

1
TINIX TRENDING·Topic: 115drive

#1 Repository of the week

1
TINIX TRENDING·Topic: openlist

#1 Repository of the week

webdav-115drive

webdav-115drive

一个 115 网盘 WebDAV 只读服务

Go Version Go Report GitHub Release Docker Pulls GitHub Downloads License

快速安装

Homebrew(macOS / Linux):

brew install heartleo/tap/webdav-115drive

curl(macOS / Linux):

curl -fsSL https://raw.githubusercontent.com/heartleo/webdav-115drive/main/install.sh | sh

Go install(需要 Go 1.25+):

go install github.com/heartleo/webdav-115drive/cmd/webdav-115drive@latest

源码编译:

git clone https://github.com/heartleo/webdav-115drive.git
cd webdav-115drive
go build -o webdav-115drive ./cmd/webdav-115drive

Docker:

docker run --rm -d \
  --name webdav-115drive \
  -p 8090:8090 \
  -e DRIVE_UID=115-uid \
  -e DRIVE_CID=115-cid \
  -e DRIVE_SEID=115-seid \
  -e DRIVE_KID=115-kid \
  ghcr.io/heartleo/webdav-115drive

Docker Compose:

services:
  webdav:
    container_name: webdav-115drive
    image: "ghcr.io/heartleo/webdav-115drive:latest"
    ports:
      - "8090:8090"
    env_file:
      - .env
    restart: unless-stopped
cat > .env <<EOF
DRIVE_UID=115-uid
DRIVE_CID=115-cid
DRIVE_SEID=115-seid
DRIVE_KID=115-kid
EOF

docker compose up -d

配置

使用 .env 文件

cp .env.example .env

使用 config.yaml

cp config.yaml.example config.yaml

运行

./webdav-115drive

交互式 TUI

webdav-115drive tui 启动只读的终端浏览器,复用 --config 与 drive.* 配置。

./webdav-115drive tui --config ./

按键:

按键操作
↑/k、↓/j移动光标
PgUp / PgDn翻页
g / G跳到顶部 / 底部
↵ / l / →进入目录
⌫ / h / ←返回上级
/当前目录过滤
s切换排序(名称 / 大小 / 修改时间)
i文件信息弹窗
?帮助
q / Ctrl+C退出

TUI 仅支持浏览:不下载、不复制链接、不写入。

环境变量

变量名说明默认值必填
SERVER_HOST监听主机0.0.0.0❌
SERVER_PORT监听端口8090❌
SERVER_PATHWebDAV 路径/dav❌
SERVER_USER用户名user❌
SERVER_PASSWORD密码password❌
SERVER_LOG_LEVEL日志级别info❌
DRIVE_UID115 Cookie UID-✅
DRIVE_CID115 Cookie CID-✅
DRIVE_SEID115 Cookie SEID-✅
DRIVE_KID115 Cookie KID-✅
DRIVE_RATEAPI 请求速率(次/秒)3❌
DRIVE_CACHE_EXPIRE缓存过期时间(分钟)1❌

获取 115 Cookies

  1. 登录 115.com
  2. 打开浏览器开发者工具(F12)
  3. 切换到 Application
  4. 找到 Cookies → https://115.com
  5. 复制以下字段的值:
    • UID → DRIVE_UID
    • CID → DRIVE_CID
    • SEID → DRIVE_SEID
    • KID → DRIVE_KID

Star History

Star History Chart

Made with ❤️ by heartleo

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

72.3k
Nov 26, 2026
RepositoryGo
traefik/traefik

The Cloud Native Application Proxy

65.9k
Dec 2, 2026
RepositoryGo
gogs/gogs

The painless way to host your own Git service

48.0k
Nov 26, 2026
RepositoryGo
aquasecurity/trivy

Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more

39.9k
Dec 1, 2026
RepositoryGo
docker/compose

Define and run multi-container applications with Docker

39.1k
Nov 26, 2026
RepositoryGo
harness/harness

Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries.

39.0k
Nov 30, 2026
RepositoryGo
OpenListTeam/OpenList

A new AList Fork to Anti Trust Crisis

25.9k
Dec 1, 2026
RepositoryGo
krau/SaveAny-Bot

Save Any Telegram File to Anywhere 📂 (Alist, Disk, Webdav, S3, Rclone...) . Support restrict saving content and files beyond telegram.

2.6k
Nov 26, 2026
RepositoryGo
AkimioJR/MediaWarp

Emby/Jellyfin/飞牛影视中间件:优化播放 Strm 文件、自定义前端样式、自定义允许访问客户端、嵌入脚本,推荐配合AutoFilm使用,交流群:https://t.me/AkimioJR_MediaWarp

794
Oct 1, 2026