🍺 BREW Explorer

← all formulae

gauth

brew install gauth v1.5.0 ISC

Google Authenticator in your terminal

13
30-day installs · #7924
29
90-day · #8720
135
365-day · #8394
366
★ GitHub stars · updated 1y ago

Build dependencies

go

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Google Authenticator in your terminal",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:54+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "gauth",
  "github_default_branch": "main",
  "github_last_commit_at": "2025-02-12T18:26:08Z",
  "github_readme_excerpt": "[![Go presubmit](https://github.com/pcarrier/gauth/actions/workflows/go-presubmit.yml/badge.svg)](https://github.com/pcarrier/gauth/actions)\n\ngauth: replace Google Authenticator\n===================================\n\nInstallation\n------------\n\nChoose your preferred path.\n\n- With [brew](https://brew.sh) on Mac, `brew install gauth`.\n\n- With Go installed, `GOBIN=/usr/local/bin go install github.com/pcarrier/gauth@latest`.\n\nUsage\n-----\n\n- In web interfaces, claim you can\u0027t read QR codes, get a secret like `hret 3ij7 kaj4 2jzg` instead.\n- Store one secret per line in `~/.config/gauth.csv`, in the format `name:secret`. For example:\n\n        AWS:   ABCDEFGHIJKLMNOPQRSTUVWXYZ234567ABCDEFGHIJKLMNOPQRSTUVWXYZ234567\n        Airbnb:abcd efgh ijkl mnop\n        Google:a2b3c4d5e6f7ghij\n        Github:234567qrstuvwxyz\n        otpauth://totp/testOrg:testuser?secret=AAAQEAYEAUDAOCAJ======\u0026issuer=testOrg\u0026algorithm=SHA512\u0026digits=8\u0026period=30\n\n- Restrict access to your user:\n\n        $ chmod 600 ~/.config/gauth.csv\n\n- Run `gauth`. The progress bar indicates how far the next change is.\n\n        $ gauth\n                   prev   curr   next\n        AWS        315306 135387 483601\n        Airbnb     563728 339206 904549\n        Google     453564 477615 356846\n        Github     911264 548790 784099\n        [=======                      ]\n\n- Run `gauth KEYNAME` to print a specific key with progress bar.\n\n- Run `gauth KEYNAME -b` to print a bare current key.\n\n        $ gauth Google -b\n        477615\n\n- Run `gauth KEYNAME -s` to retrieve an accounts secret from the config.\n\n        $ gauth Google -s\n        your_secret_for_google\n\n- `gauth` is convenient to use in `watch`.\n\n        $ watch -n1 gauth\n\n- Remember to keep your system clock synchronized and to **lock your computer when brewing your tea!**\n\n- If you find yourself needing to interpret a QR code (e.g. exporting a code\n  from an existing Google Authenticator setup, on a phone to which you do not\n  have root access), then [gauthQR](http",
  "github_repo": "pcarrier/gauth",
  "github_stars": 366,
  "github_topics": [],
  "homepage": "https://github.com/pcarrier/gauth",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 13,
  "installs_365d": 135,
  "installs_90d": 29,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "ISC",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "gauth",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7924,
  "rank_365d": 8394,
  "rank_90d": 8720,
  "raw_hash": "ff99089180b4ee47",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/gauth.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.5.0",
  "versioned_formulae": [],
  "why_use_this": null
}