跳到正文

正在自动登录…

← 返回项目列表

mizorewww/gdirect

文件管理

gdirect 是一个用 Rust 编写的 Google Drive 命令行工具,支持浏览、上传、下载和挂载,适合需要高效管理 Google Drive 文件的用户。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/25 15:56:09 · 查看原文

值得看Rust应用与服务
累计 Stars
163
当前热度
1 天内 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/25 15:56:09

使用方式

通过命令行使用,支持浏览、上传、下载和挂载 Google Drive。

查看 README 依据
**First login:** download a Desktop OAuth client JSON using the [configuration guide](docs/configuration/README.md), then: ```sh gdirect login --client-secret ~/Downloads/client_secret.json gdirect browse ``` Working Google IPs are discovered automatically and stored in local SQLite. `gdirect scan` rescans; `gdirect scan --list` lists results. Downloads default to 8 connections. | Key | Browser action | | --- | --- | | `j/k`, `↑/↓` | Select | | Enter, `l/→` | Open folder | | `h/←`, Backspace | Parent folder | | `d` | Download; export Google documents as PDF |
| `+/-` | Download connections (1–16) | | `r` | Refresh | | `c` | Cancel, keeping partial data | | `q` | Quit | ```sh gdirect browse -o downloads -j 8 gdirect ls root --json gdirect download FILE_ID -o downloads/file.zip gdirect upload ./file.zip gdirect upload ./file.zip --parent FOLDER_ID --name backup.zip gdirect mount # ~/GoogleDrive; requires mount dependencies gdirect mount ~/MyDrive --read-only gdirect unmount # Windows foreground mount: Ctrl-C ```
部署要求

需要 Google 账户和浏览器进行首次授权;挂载功能需要 rclone 1.75.2+,Linux 还需 FUSE3,Windows 需 WinFsp。

查看 README 依据
# gdirect [中文](README.zh-CN.md) ## Installation **Version 0.1.1+ includes Google authentication. No gcloud CLI or separate Google SDK installation is required.** First-time users still need a Desktop OAuth client JSON: follow the [Google configuration guide](docs/configuration/README.md) after installation. | Use | Runtime dependencies | | --- | --- | | Browse, upload, download | gdirect and a Google account; a browser for initial authorization | | Mount on macOS | rclone 1.75.2+; built-in NFS, no FUSE driver | | Mount on Linux | rclone 1.75.2+, FUSE3 (`fusermount3`) |
| Mount on Windows | rclone 1.75.2+, WinFsp; foreground mode | Prebuilt binaries: macOS 15+ (Apple Silicon / Intel), Linux x86_64 with glibc 2.35+, Windows x86_64. Alpine/musl, older glibc and Linux ARM64 do not have a compatible prebuilt package. Homebrew (macOS / Linux): ```sh brew tap mizorewww/gdirect https://github.com/mizorewww/gdirect && brew install mizorewww/gdirect/gdirect rclone ``` Linux Homebrew users also need their distro's FUSE3 package for mounting. To upgrade: `brew update && brew upgrade gdirect`.
已知限制

预编译包仅支持 macOS 15+、Linux x86_64 (glibc 2.35+) 和 Windows x86_64,不支持 Alpine/musl、旧 glibc 和 Linux ARM64。

查看 README 依据
| Mount on Windows | rclone 1.75.2+, WinFsp; foreground mode | Prebuilt binaries: macOS 15+ (Apple Silicon / Intel), Linux x86_64 with glibc 2.35+, Windows x86_64. Alpine/musl, older glibc and Linux ARM64 do not have a compatible prebuilt package. Homebrew (macOS / Linux): ```sh brew tap mizorewww/gdirect https://github.com/mizorewww/gdirect && brew install mizorewww/gdirect/gdirect rclone ``` Linux Homebrew users also need their distro's FUSE3 package for mounting. To upgrade: `brew update && brew upgrade gdirect`.

README

正在加载 README…

收录信息

仓库创建时间
2026/10/25 13:52:22
首次达标收录
2026/10/25 15:51:28
统计更新时间
2026/10/25 16:50:33

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 3.9 / 5

新颖度
3.4
实用价值
4.3
成熟度
4.1
实质含量
3.8

由 Jev 模型根据仓库描述与 README 评估,2026/10/25 15:51:28 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/25 16:40:35
许可证标识
GPL-2.0
Fork 数
9
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目