FUSE for AliyunDrive
Project description
aliyundrive-fuse
🚀 Help me to become a full-time open-source developer by sponsoring me on GitHub
阿里云盘 FUSE 磁盘挂载,主要用于配合 Emby 或者 Jellyfin 观看阿里云盘内容,功能特性:
- 目前只读,不支持写入
- 支持 Linux 和 macOS,暂不支持 Windows
aliyundrive-webdav 项目已经实现了通过 WebDAV 访问阿里云盘内容,但由于 Emby 和 Jellyfin 都不支持直接访问 WebDAV 资源, 需要配合 rclone 之类的软件将 WebDAV 挂载为本地磁盘,而本项目则直接通过 FUSE 实现将阿里云盘挂载为本地磁盘,省去使用 rclone 再做一层中转。
安装
- macOS 需要先安装 macfuse
- Linux 需要先安装 fuse
- Debian 系如 Ubuntu:
apt-get install -y fuse3
- RedHat 系如 CentOS:
yum install -y fuse3
- Debian 系如 Ubuntu:
可以从 GitHub Releases 页面下载预先构建的二进制包, 也可以使用 pip 从 PyPI 下载:
pip install aliyundrive-fuse
如果系统支持 Snapcraft 比如 Ubuntu、Debian 等,也可以使用 snap 安装:
sudo snap install aliyundrive-fuse
OpenWrt 路由器
GitHub Releases 中有预编译的 ipk 文件, 目前提供了 aarch64/arm/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:
wget https://github.com/messense/aliyundrive-fuse/releases/download/v0.1.4/aliyundrive-fuse_0.1.4_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-fuse/releases/download/v0.1.4/luci-app-aliyundrive-fuse_0.1.4_all.ipk
wget https://github.com/messense/aliyundrive-fuse/releases/download/v0.1.4/luci-i18n-aliyundrive-fuse-zh-cn_0.1.4-1_all.ipk
opkg install aliyundrive-fuse_0.1.4_aarch64_generic.ipk
opkg install luci-app-aliyundrive-fuse_0.1.4_all.ipk
opkg install luci-i18n-aliyundrive-fuse-zh-cn_0.1.4-1_all.ipk
其它 CPU 架构的路由器可在 GitHub Releases 页面中查找对应的架构的主程序 ipk 文件下载安装。
Tips: 不清楚 CPU 架构类型可通过运行
opkg print-architecture
命令查询。
命令行用法
USAGE:
aliyundrive-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
-r, --refresh-token <REFRESH_TOKEN> Aliyun drive refresh token [env: REFRESH_TOKEN=]
-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/aliyundrive
目录:
mkdir -p /mnt/aliyundrive /var/run/aliyundrive-fuse
aliyundrive-fuse -r your-refresh-token -w /var/run/aliyundrive-fuse /mnt/aliyundrive
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file aliyundrive_fuse-0.1.4.tar.gz
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f6f07a0a3ae40df64df68431bbbe8f894878a224e3668fb00757ee63d425a63 |
|
MD5 | 255070ca9bb4d31051db887a46c0c598 |
|
BLAKE2b-256 | 5ff5cf5301006891f920a681670e0add8adec80d4535e4e6863b6e445211fadc |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0a4d9645d1277bc4228076b12f57dc6870513675ca1e33ab3ddaca9025b6df |
|
MD5 | 36cd30ff3591302ba5d2e96db45878de |
|
BLAKE2b-256 | fa168871ed67d260ed6ea9cc43b89b3388b3ddc9acaed21ac3610a21910a8e7a |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_i686.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_i686.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b783c104643c76d00647cdd952120f832a35873ef10f439d37fbe6929deace |
|
MD5 | 9eb89106c3f9bc0ec2b6643b142a6ab3 |
|
BLAKE2b-256 | f0e17c4578d5b98c8dcab368a260e363d7839703ca02d1e297a0fbd26b869065 |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_armv7l.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_armv7l.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, musllinux: musl 1.1+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba69c00c533ecb3e89c01432098a0c2358d37164cbc65feb87434e13902993b |
|
MD5 | 70af7f506190a6e039a10259b618b812 |
|
BLAKE2b-256 | 1aa2314c8fcea4c8a05ba4460d5b597f83b5e4e911633f8b86bdc706b9c1bff0 |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d3983e739d58d1c2411d23bbcd1769dbf43f405e3e21c46257c275dd4ccd034 |
|
MD5 | 1e38e78e105ce3611abac50c33b6fe22 |
|
BLAKE2b-256 | 4ca0aa68b8362a741473734fb869e8d13ca54530c31465a7cc7b396821277182 |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a3f489e81cb6c9479a18c5949b3dd2a770662cd3d1867d693043b21b1a835c0 |
|
MD5 | 094c50d85c868d085dbe1a680bb82522 |
|
BLAKE2b-256 | 85a39c06547a070b9d7ff768a13d34ce188e447ca086bd95e8a19e2649a6cf98 |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7001b6ba39136ab7d226036390b1a1971d92536d580e95550b8a1ebd6c11aad2 |
|
MD5 | 13455198121cfe8d795d7960b1503dff |
|
BLAKE2b-256 | bca069857b7f953119c307d3ff1981b52834225a829d0115857ed43514f31a42 |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c2cbe3167bb29f21cc513385cea86ab563d36391319ccc29c37ca5fd421334 |
|
MD5 | a0f1f1fff7d68108df21549d87bcbc2a |
|
BLAKE2b-256 | 06e5df1c3fd7b9c5105d597a33c4b0f1c20fd40dccfc05fc542fa675e1d40c32 |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 212fbfd7337c25fe5cef9381cfafcb57e2eb0e7d71a6cc0988621c970400e6e3 |
|
MD5 | f4cc0adf0c0fb0de9126beb2d3d645bd |
|
BLAKE2b-256 | 9e1cbeeccedb5fbfcad6082730351c48bd01b20e3097be8efa9761859c3a0c2b |
File details
Details for the file aliyundrive_fuse-0.1.4-py3-none-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: aliyundrive_fuse-0.1.4-py3-none-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b926cc25647bb18716132e314797273ca2de3c705e6eb81b48dbdd8530e34b |
|
MD5 | 2bae0f02ec6fbb2240d8ac48fbf05470 |
|
BLAKE2b-256 | e191f5a113392d16a084683206b2e0ae3e3875dbfa707f8df34b9f4e70cab88b |