{"id":18585989,"url":"https://github.com/stanzhai/goldenpassport","last_synced_at":"2025-04-05T22:09:09.046Z","repository":{"id":37677655,"uuid":"83116127","full_name":"stanzhai/GoldenPassport","owner":"stanzhai","description":"A native implementation of Google Authenticator for Mac based on Swift","archived":false,"fork":false,"pushed_at":"2022-07-13T07:53:48.000Z","size":5268,"stargazers_count":401,"open_issues_count":15,"forks_count":61,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-29T21:07:00.655Z","etag":null,"topics":["authenticator","google","mac","swift"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stanzhai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-25T07:54:51.000Z","updated_at":"2025-03-05T02:38:56.000Z","dependencies_parsed_at":"2022-07-14T00:50:36.959Z","dependency_job_id":null,"html_url":"https://github.com/stanzhai/GoldenPassport","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanzhai%2FGoldenPassport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanzhai%2FGoldenPassport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanzhai%2FGoldenPassport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanzhai%2FGoldenPassport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stanzhai","download_url":"https://codeload.github.com/stanzhai/GoldenPassport/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406091,"owners_count":20933803,"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":["authenticator","google","mac","swift"],"created_at":"2024-11-07T00:36:16.510Z","updated_at":"2025-04-05T22:09:09.028Z","avatar_url":"https://github.com/stanzhai.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoldenPassport\n\nA native implementation of Google Authenticator for Mac based on Swift3.\n\n# Screenshot\n\n![main](screenshot/main.png)\n\n![add](screenshot/add-window.png)\n\n![restful-api](screenshot/restful-api.png)\n\n# Features\n\n- Recognize OTPAuth URL from a QRCode image\n- Authentication code management\n- Support RESTful API to obtain the verification code\n- Use a global hot key(`Shift+Cmd+[0-9]`) to direct fill out the verification code\n- Click an auth-menu to copy the verification code to the `PasteBoard`\n- Export/Import authentication codes\n\n# How to use\n\n1. Download the latest version of GoldenPassport from the [releases](https://github.com/stanzhai/GoldenPassport/releases) page.\n2. Unzip `GoldenPassport.zip` and put `GoldenPassport.app` to your `Application` folder then start it. \n3. Add an auth URL from the status menu.\n\nOr you can install if from brew cask\n\n```\nbrew install --cask goldenpassport\n```\n\nNow, you can get the verification code by:\n\n- From the status menu, copy the verification by clicking an auth-menu \n- Use a global hot key(`Shift+Cmd+[0-9]`) to direct fill out the verification code\n\nYou can also use the RESTful API if you want to get the verification code from a shell script by the following way:\n\n```\n# you can get the url from `http://localhost:17304/`\ncode=$(curl 'http://localhost:17304/code/test@stanzhai.site')\n# ues the verification code\necho $code\n```\n\n# Building\n\nGoldenPassport uses `cocoapods` as the package manager tool, you should install it first.\n\n1. `pod install` to install dependencies\n2. Open `GoldenPassport.xcworkspace` with Xcode to build\n\n# Todo\n\n- Support auto startup with system\n- i18n\n\n# Resources\n\n- [Swift Resources](https://developer.apple.com/swift/resources/)\n- [macOS Development Tutorials](https://www.raywenderlich.com/category/macos)\n- [google-authenticator](https://github.com/google/google-authenticator)\n- [WeatherBar](http://footle.org/WeatherBar/)\n- [swifter](https://github.com/httpswift/swifter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanzhai%2Fgoldenpassport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstanzhai%2Fgoldenpassport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanzhai%2Fgoldenpassport/lists"}