{"id":13903160,"url":"https://github.com/thesurlydev/gars","last_synced_at":"2025-03-31T12:43:09.872Z","repository":{"id":57633034,"uuid":"256622208","full_name":"thesurlydev/gars","owner":"thesurlydev","description":"Google Authenticator CLI.","archived":false,"fork":false,"pushed_at":"2023-02-24T21:31:50.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-21T16:06:04.647Z","etag":null,"topics":["cli","google-authenticator","mfa","mfa-workflow","rust","rust-cli"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/gars","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thesurlydev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-17T22:25:25.000Z","updated_at":"2023-02-24T22:06:11.000Z","dependencies_parsed_at":"2023-12-06T17:29:13.062Z","dependency_job_id":"42c72e04-0b9c-4950-bec5-0810dc93697c","html_url":"https://github.com/thesurlydev/gars","commit_stats":null,"previous_names":["thesurlydev/gars","digitalsanctum/gars"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesurlydev%2Fgars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesurlydev%2Fgars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesurlydev%2Fgars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesurlydev%2Fgars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thesurlydev","download_url":"https://codeload.github.com/thesurlydev/gars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246472580,"owners_count":20783225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","google-authenticator","mfa","mfa-workflow","rust","rust-cli"],"created_at":"2024-08-06T22:01:40.831Z","updated_at":"2025-03-31T12:43:09.848Z","avatar_url":"https://github.com/thesurlydev.png","language":"Rust","readme":"# Google Authenticator for Rust (GARS)\n\nIf you use [Google Authenticator](https://github.com/google/google-authenticator) for multi-factor authentication (MFA) and would like to automate authentication, then GARS is for you.\n\n## Install from source\n```shell\ncargo install --path .\n```\n\n\n## Usage\n\nCreate an environment variable with your Google Authenticator secret:\n\n```bash\nexport GA_SECRET=YOUR_GA_SECRET_HERE\n```\n\nRun `gars` from the command line.\n\n```bash\n$ gars\n123456\n```\n\n`gars` will return the latest Google Authenticator generated number associated with the given GA secret to stdout.\n\nTested on Ubuntu Linux and Mac OS X.\n\n## Why was GARS created\n\nMFA is great for added security but makes it difficult to automate things.\n\n## What is Google Authenticator\n\nGoogle Authenticator is a software-based authenticator by Google that implements two-step verification services using the Time-based One-time Password Algorithm and HMAC-based One-time Password algorithm, for authenticating users of software applications.\n\nIt's also one of several mechanisms that [Okta](https://www.okta.com/) uses for MFA.\n\n## Credit\n\nThis is just a simple wrapper around the [google-authenticator](https://crates.io/crates/google-authenticator) library.\n","funding_links":[],"categories":["cli"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesurlydev%2Fgars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesurlydev%2Fgars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesurlydev%2Fgars/lists"}