Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, winget 安装 gyb

查看 gyb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gyb

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#gyb

nixpkgs package indexes · pkgs/by-name/gy/gyb/package.nix · 来源: api.github.com

Windows

Windows Package Manager已验证 · 92%
winget install --id GAM-Team.GotYourBack -e

Windows Package Manager source index · GAM-Team.GotYourBack · 来源: cdn.winget.microsoft.com

概览

软件包摘要

CLI for backing up and restoring Gmail messages

历史

项目历史与用法

Got Your Back, usually called GYB, is a command-line backup and restore tool for Gmail and Google Workspace mailboxes. Its historical niche is the gap between consumer Gmail export tools, Google Workspace administration, and scriptable local mail preservation.

项目历史

The GYB repository identifies the tool as maintained by Jay Lee and describes it as a command-line program for backing up Gmail messages to a local computer using Gmail's API over HTTPS. GitHub repository metadata records the public GAM-team repository as created in June 2014, and the README preserves the earlier jay0lee project links in its release and wiki references.

The project documentation grew around practical setup and recovery tasks rather than a large library API. The wiki walks users through creating a Google Cloud project, granting Gmail access, running estimates, backing up, restoring, using Gmail searches for selective backups, and supporting Google Workspace administrator scenarios.

采用历史

GYB adoption tracks administrators and power users who need command-line control over Gmail exports and restores. The project offers Windows installers and Mac/Linux shell installation instructions, while the supplied package facts show Homebrew, Nix, and winget packages, giving it reach across the operating systems commonly used by Google Workspace administrators.

The wiki's emphasis on Gmail.com, Google Workspace, service accounts, Vault, mbox restore, selective search, and daily incremental backup patterns shows why the tool became useful beyond one-off personal backup: it could be scripted into migration, retention, and audit-adjacent workflows.

使用方式

The core usage is `gyb --email user@example.com --action backup` to download messages to a local folder, followed by restore commands that can restore to the same mailbox or a different mailbox when a backup folder is supplied. The wiki also documents estimates, label operations, mbox and EML restore, quota checks, service-account modes, and Gmail search filters for scoped backups.

GYB's command-line design is important because Gmail's web UI and Takeout workflows are not shaped for repeatable administrator automation. GYB gives package-managed environments a small executable that can sit in scripts, scheduled jobs, migration runbooks, and support procedures.

为什么软件包爱好者会关心

GYB is a package-nerd kind of productivity tool: thin, scriptable, API-backed, and valuable precisely because it turns a cloud service workflow into a reproducible local command. It also brings the usual packaging concerns for OAuth-era CLIs, including installers, Python/runtime expectations, local backup folders, and user-provided Google credentials.

Its relationship to the GAM ecosystem matters because GAM is a well-known Google Workspace administration CLI. GYB is not just another mail downloader; it is part of a cluster of tools used by admins who prefer shellable workflows for Google services.

时间线

  • 2014: The public GAM-team GitHub repository was created.
  • 2010s: GYB documentation centered on Gmail API over HTTPS backups, local restore, and Google Groups support.
  • 2020s: The wiki documented Google Workspace naming, Google Cloud project setup, service-account options, Vault, mbox and EML restore, and selective Gmail-search backups.
  • 2020s: Package-manager coverage included Homebrew, Nix, and winget according to the supplied package facts.

Related projects

  • GYB is related to GAM and the broader GAM-team Google Workspace administration ecosystem. It also overlaps with Google Takeout, Google Vault exports, Gmail API tooling, mbox/EML mail utilities, and administrator migration scripts.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gybcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本1.95
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.95

https://github.com/GAM-team/got-your-back

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:gyb
版本1.95
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gyb
主页https://github.com/GAM-team/got-your-back/
仓库https://github.com/GAM-team/got-your-back
上游文档https://github.com/GAM-team/got-your-back#readme
许可证Apache-2.0
源码归档https://github.com/GAM-team/got-your-back/archive/refs/tags/v1.95.tar.gz
依赖certifi, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Default config_folder: $HOMEBREW_PREFIX/etc/gyb

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegyb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

gyb

nix profile install nixpkgs#gyb
  • normalized package name match
  • 匹配方式:Gyb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gy/gyb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

GAM-Team.GotYourBack

winget install --id GAM-Team.GotYourBack -e
  • normalized package name match
  • 匹配方式:Gyb
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: GAM-Team.GotYourBack from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment