百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

plexdrive

> 编程语言
开源

Plexdrive 可以安装 Google Drive FUSE 文件系统(针对媒体播放进行了优化)

1.8K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Plexdrive 可以安装 Google Drive FUSE 文件系统(针对媒体播放进行了优化)

Plexdrive allows you to mount your Google Drive account as read-only fuse filesystem, with direct delete option on the filesystem.

The project is comparable to projects like rclone, google-drive-ocamlfuse or node-gdrive-fuse, but optimized for media streaming e.g. with plex ;)

Please note that plexdrive doesn't currently support writes (adding new files or modifications), it only supports reading existing files and deletion.

I tried using rclone for a long time, but got API Quota errors every day and/or multiple times per day, so I decided to try node-gdrive-fuse. The problem here was that it missed some of my media files, so as a result I started implementing my own file system library.

If you like the project, feel free to make a small donation via PayPal. Otherwise support the project by implementing new functions / bugfixes yourself and create pull requests :)

Installation

  1. First you need to install fuse on your system
  2. Then you should download the newest release from the GitHub release page.
  3. Create your own client id and client secret (see https://rclone.org/drive/#making-your-own-client-id).
  4. Sample command line for plexdrive
./plexdrive mount -c /root/.plexdrive -o allow_other /mnt/plexdrive

Installation from Source

  1. Install FUSE an Go 1.11.4 or newer on your system (use latest stable Go version if possible)
  2. Clone the project: git clone https://github.com/plexdrive/plexdrive
  3. Run GO111MODULE=on go install
  4. Run $GOPATH/bin/plexdrive to use the instaled version (eg. ~/go/bin/plexdrive)

Crypted mount with rclone

You can use this tutorial for instruction how to mount an encrypted rclone mount.

Usage

…

Signals

  • HUP: Trigger checking for changes
  • INT (Ctrl+C): Unmount and exit

Support

Slack support is available on our Slack channel. Feel free to ask configuration and setup questions here.

Supported FUSE mount options

  • allow_other
  • allow_dev
  • allow_non_empty_mount
  • allow_suid
  • max_readahead=1234
  • default_permissions
  • excl_create
  • fs_name=myname
  • local_volume
  • writeback_cache
  • volume_name=myname
  • read_only
  • direct_io

Root-Node-ID

You can use the option root-node-id to specify a folder id that should be mounted as the root folder. This option will not prevent plexdrive from getting the changes for your whole Google Drive structure. It will only "display" another folder as root instead of the real root folder. Don't expect any performance improvement or something else. This option is only for your personal folder structuring.

Team Drive

You can pass the ID of a Team Drive as drive-id to get access to a Team drive, here's how:

  • Open the Team Drive in your browser
  • Note the format of the URL: https://drive.google.com/drive/u/0/folders/ABC123qwerty987
  • The drive-id of this Team Drive is ABC123qwerty987
  • Pass it with --drive-id=ABC123qwerty987 argument to your plexdrive mount command

Contribute

If you want to support the project by implementing functions / fixing bugs yourself feel free to do so!

  1. Fork the repository
  2. Clone it to your golang workspace $GOPATH/src/github.com/username/plexdrive
  3. Implement your changes
  4. Test your changes (e.g. go build && ./plexdrive -v3 /tmp/drive)
  5. Format everything with gofmt ( (I recommend working with VSCode and VSCode-Go)
  6. Create a pull request

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •HUP: Trigger checking for changes
  • •INT (Ctrl+C): Unmount and exit
  • •allow_other
  • •allow_dev
  • •allow_non_empty_mount
  • •allow_suid
  • •max_readahead=1234
  • •default_permissions
  • •excl_create
  • •fs_name=myname

> 标签

Gofusegoogle-drivehacktoberfestplexdrive

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言