Skip to main content

docker: https://hub.docker.com/r/ykxvk8yl5l/pikpak-fuse

演示视频: https://youtu.be/fl1Lp1_1AR4

基本完成

命令行使用【可选参数--proxy-url xxxxxxxx】:

./pikpak-fuse --pikpak-user XXXXXXXXX --pikpak-password XXXXXXX  -w token保存目录  挂载点

有网友反馈非邮箱登陆会登陆失败,请使用邮箱、密码方式登陆

可用代理【未验证】

https://api.13pikpak.cf https://api.14pikpak.cf https://api.15pikpak.cf https://api.16pikpak.cf https://api.17pikpak.cf https://api.18pikpak.cf
https://cors.z7.workers.dev
https://cors.z13.workers.dev
https://cors.z14.workers.dev
https://cors.z15.workers.dev
https://cors.z16.workers.dev
https://cors.z17.workers.dev
https://cors.z18.workers.dev
https://pikpak.2509652494538.workers.dev

Docker安装演示:https://youtu.be/-JXdcD0Yfbk

安装[可能需要给执行权限]

  • 在relase下载所需二进制,用命令行启动
  • pip install pikpak-fuse

pikpak-fuse

🚀 Help me to become a full-time open-source developer by sponsoring me on GitHub

pikpak网盘 FUSE 磁盘挂载,主要用于配合 Emby 或者 Jellyfin 观看pikpak网盘内容,功能特性:

  1. 目前只读,不支持写入
  2. 支持 Linux 和 macOS,暂不支持 Windows

pikpak-webdav 项目已经实现了通过 WebDAV 访问pikpak网盘内容,但由于 Emby 和 Jellyfin 都不支持直接访问 WebDAV 资源, 需要配合 rclone 之类的软件将 WebDAV 挂载为本地磁盘,而本项目则直接通过 FUSE 实现将pikpak网盘挂载为本地磁盘,省去使用 rclone 再做一层中转。

安装

  • macOS 需要先安装 macfusebrew install --cask macfuse
  • Linux 需要先安装 fuse
    • Debian 系如 Ubuntu: apt-get install -y fuse3
    • RedHat 系如 CentOS: yum install -y fuse3

可以从 GitHub Releases 页面下载预先构建的二进制包, 也可以使用 pip 从 PyPI 下载:

pip install pikpak-fuse

如果系统支持 Snapcraft 比如 Ubuntu、Debian 等,也可以使用 snap 安装【未实现】:

sudo snap install pikpak-fuse

OpenWrt 路由器

GitHub Releases 中有预编译的 ipk 文件, 目前提供了 aarch64/arm/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:

wget https://github.com/ykxVK8yL5L/pikpak-fuse/releases/download/v0.1.13/pikpak-fuse_0.1.13-1_aarch64_generic.ipk
wget https://github.com/ykxVK8yL5L/pikpak-fuse/releases/download/v0.1.13/luci-app-pikpak-fuse_0.1.13_all.ipk
wget https://github.com/ykxVK8yL5L/pikpak-fuse/releases/download/v0.1.13/luci-i18n-pikpak-fuse-zh-cn_0.1.13-1_all.ipk
opkg install pikpak-fuse_0.1.13-1_aarch64_generic.ipk
opkg install luci-app-pikpak-fuse_0.1.13_all.ipk
opkg install luci-i18n-pikpak-fuse-zh-cn_0.1.13-1_all.ipk

其它 CPU 架构的路由器可在 GitHub Releases 页面中查找对应的架构的主程序 ipk 文件下载安装。

Tips: 不清楚 CPU 架构类型可通过运行 opkg print-architecture 命令查询。

命令行用法

USAGE:
    pikpak-fuse [OPTIONS] --refresh-token <REFRESH_TOKEN> <PATH>

ARGS:
    <PATH>    Mount point

OPTIONS:
        --allow-other                            Allow other users to access the drive
        --domain-id <DOMAIN_ID>                  Aliyun PDS domain id
    -h, --help                                   Print help information
    --pikpak-user <Pikpak_USER>                  [env: Pikpak_USER=]
    --pikpak-password <Pikpak_PASSWORD>          [env: Pikpak_PASSWORD=]
    --proxy-url <PROXY_URL>                      [env: PROXY_URL=]
    
    -S, --read-buffer-size <READ_BUFFER_SIZE>    Read/download buffer size in bytes, defaults to 10MB [default: 10485760]
    -V, --version                                Print version information
    -w, --workdir <WORKDIR>                      Working directory, refresh_token will be stored in there if specified

比如将磁盘挂载到 /mnt/pikpakDrive 目录:

mkdir -p /mnt/pikpakDrive /var/run/pikpak-fuse
pikpak-fuse --pikpak-user XXXXXXXXX --pikpak-password XXXXXXX -w /var/run/pikpak-fuse /mnt/pikpakDrive

Emby/Jellyfin

如果是直接运行在系统上的 Emby/Jellyfin,则可以直接在其控制台添加媒体库的时候选择pikpak网盘对应的挂载路径中的文件夹即可; 如果是 Docker 运行的 Emby/Jellyfin,则需要将pikpak网盘挂载路径也挂载到 Docker 容器中,假设pikpak网盘挂载路径为 /mnt/pikpakDrive, 以 Jellyfin 为例(假设 Jellyfin 工作路径为 /root/jellyfin)将云盘挂载到容器 /media 路径:

docker run -d --name jellyfin \
  -v /root/jellyfin/config:/config \
  -v /root/jellyfin/cache:/cache \
  -v /mnt/pikpakDrive:/media \
  -p 8096:8096 \
  --device=/dev/dri/renderD128 \
  --device /dev/dri/card0:/dev/dri/card0 \
  --restart unless-stopped \
  jellyfin/jellyfin

License

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

Release files for pikpak-fuse 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pikpak-fuse 0.1.14
File Size Uploaded
pikpak_fuse-0.1.14.tar.gz 40.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pikpak-fuse 0.1.14
File
pikpak_fuse-0.1.14-py3-none-musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64 Details
pikpak_fuse-0.1.14-py3-none-musllinux_1_1_i686.whl Python 3 none Linux musl 1.1+ x86-32 Details
pikpak_fuse-0.1.14-py3-none-musllinux_1_1_armv7l.whl Python 3 none Linux musl 1.1+ ARMv7l Details
pikpak_fuse-0.1.14-py3-none-musllinux_1_1_aarch64.whl Python 3 none Linux musl 1.1+ ARM64 Details
pikpak_fuse-0.1.14-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l Details
pikpak_fuse-0.1.14-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
pikpak_fuse-0.1.14-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details
pikpak_fuse-0.1.14-py3-none-manylinux_2_5_i686.manylinux1_i686.whl Python 3 none Linux glibc 2.5+ x86-32 Details
pikpak_fuse-0.1.14-py3-none-macosx_10_7_x86_64.whl Python 3 none macOS 10.7+ x86-64 Details

Total release size: 19.7 MB

Release files / pikpak_fuse-0.1.14.tar.gz

Download URL pikpak_fuse-0.1.14.tar.gz
Size 40.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7dc65f626f0215157291e30b0a693dbee69cec38d322a719c3c30064d785f985
BLAKE2b-256 checksum
How to use checksums
3f8cea9182ad193a49ce022c1cf53328fee28cd8b5f4780ef4dc489a0bf918a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-musllinux_1_1_x86_64.whl

Download URL pikpak_fuse-0.1.14-py3-none-musllinux_1_1_x86_64.whl
Size 2.3 MB
Tags Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9324776505b9adcccfaa83dbb42300773f5e68cf72eada080e77d8ee37927ffc
BLAKE2b-256 checksum
How to use checksums
21d7398fead3a5caa4ca6a28e52e8506e42fab179c67740a93d279abd7c60c49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-musllinux_1_1_i686.whl

Download URL pikpak_fuse-0.1.14-py3-none-musllinux_1_1_i686.whl
Size 2.3 MB
Tags Linux musl 1.1+ x86-32 Python 3
SHA-256 checksum
How to use checksums
a0ecd30dd811f6588725f8be2ffcf5b4d2428fba8ef810f0953da765e9bcf2be
BLAKE2b-256 checksum
How to use checksums
487e8909141d485c7366a101bc8fa19790b3f9ac433e9075e01713afbe369f67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-musllinux_1_1_armv7l.whl

Download URL pikpak_fuse-0.1.14-py3-none-musllinux_1_1_armv7l.whl
Size 1.9 MB
Tags Linux musl 1.1+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
306db12ea526e9ff7fce07e15120591b5bf660aab8a799485f4ba30eeea79053
BLAKE2b-256 checksum
How to use checksums
93e1a6cfb126800affc659cb4c0df508403ec6c30e66a63f89bcfc7350f3a563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-musllinux_1_1_aarch64.whl

Download URL pikpak_fuse-0.1.14-py3-none-musllinux_1_1_aarch64.whl
Size 2.2 MB
Tags Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5f2747d29c57a50290093db860751bea45818f340d34caaa8ecd3711e1a142b1
BLAKE2b-256 checksum
How to use checksums
4f44bb6ff8feeb979ed3c8f0a54e137e07667a6638dd54bcc50c8da602a294a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL pikpak_fuse-0.1.14-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 1.9 MB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
ecaf8d89dbf2213bebe0bcd2c5c5d29e6aeb45ff519397560a8b58d47fdce8a7
BLAKE2b-256 checksum
How to use checksums
16b8b1ffc4f8c1c198d2bf0bde74fc4ee12dce727f2ba8aa3554e31f72f431f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL pikpak_fuse-0.1.14-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
61272d2ab8144f7064816616b5f5437d5d5b61f2371878ceb15d6314434bec07
BLAKE2b-256 checksum
How to use checksums
f490a000544a3b9502834bcc576176f0e24211ae0ebad49e679a2055dcbde90a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL pikpak_fuse-0.1.14-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 2.3 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
57c40a6b80ccc5e5ee231ba5097b6d65c871510d5539af0b3343bc7cd18f23a7
BLAKE2b-256 checksum
How to use checksums
47bd8b4754967b5f58f757f25bc8d803574a184deb5fd3bba4bb7a046080e531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-manylinux_2_5_i686.manylinux1_i686.whl

Download URL pikpak_fuse-0.1.14-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Size 2.3 MB
Tags Linux glibc 2.5+ x86-32 Python 3
SHA-256 checksum
How to use checksums
a090d74f9662c22fafebfc8c320ae3b283247af3aebc27b86629e90f3da13802
BLAKE2b-256 checksum
How to use checksums
1b9d8a3a0eb68a19ad32941f53af522117fa203805d4ab61d55eec65963b18a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pikpak_fuse-0.1.14-py3-none-macosx_10_7_x86_64.whl

Download URL pikpak_fuse-0.1.14-py3-none-macosx_10_7_x86_64.whl
Size 2.0 MB
Tags Python 3 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
956643bfb2ef170b9cd3c550eaf2f0ed495cb26f3e2a56ff3adb211a85ab059b
BLAKE2b-256 checksum
How to use checksums
16ace1f95d37e0f8d61f9413fc2cbe6016a557dc23a2a1b1f7d48a4fcd2fe659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.14 This release

10 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page