{"id":13587453,"url":"https://github.com/thebitguru/alfred-simple-2fa-paste","last_synced_at":"2026-01-29T05:07:00.494Z","repository":{"id":69157202,"uuid":"441536351","full_name":"thebitguru/alfred-simple-2fa-paste","owner":"thebitguru","description":"Simple Alfred workflow for pasting second factor authentication codes sent to Apple Message","archived":false,"fork":false,"pushed_at":"2025-05-04T20:03:03.000Z","size":344,"stargazers_count":17,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-04T21:19:23.878Z","etag":null,"topics":["2factor","alfred","alfred-workflows","imessage"],"latest_commit_sha":null,"homepage":"https://alfred.app/workflows/thebitguru/simple-2fa-paste/","language":"Shell","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/thebitguru.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-24T18:55:08.000Z","updated_at":"2025-02-28T12:12:05.000Z","dependencies_parsed_at":"2024-08-01T16:43:36.828Z","dependency_job_id":null,"html_url":"https://github.com/thebitguru/alfred-simple-2fa-paste","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/thebitguru/alfred-simple-2fa-paste","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebitguru%2Falfred-simple-2fa-paste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebitguru%2Falfred-simple-2fa-paste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebitguru%2Falfred-simple-2fa-paste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebitguru%2Falfred-simple-2fa-paste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebitguru","download_url":"https://codeload.github.com/thebitguru/alfred-simple-2fa-paste/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebitguru%2Falfred-simple-2fa-paste/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28863155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["2factor","alfred","alfred-workflows","imessage"],"created_at":"2024-08-01T15:06:13.174Z","updated_at":"2026-01-29T05:07:00.488Z","avatar_url":"https://github.com/thebitguru.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\u003e **⚠️ Deprecation Notice**\n\u003e\n\u003e This workflow is **deprecated as of September 2025**. With the release of **macOS Tahoe**, [this functionality is now built into the operating system](https://www.macrumors.com/2025/06/12/ios-26-macos-tahoe-expand-one-time-code-autofill/) and no longer requires a separate Alfred workflow.\n\n\n# Search Apple Messages for two-factor authentication codes and easily paste them in any app\n\nmacOS supports [autofilling security codes sent to your iPhone](https://support.apple.com/guide/safari/autofill-security-codes-from-your-iphone-ibrwa4a6c6c6/mac). This is a great feature if you are using Safari, but it is not supported in other browsers (e.g., Chrome) and apps (e.g., an Electron app). This Alfred workflow adds this feature across the system.\n\n[Install from Alfred Gallery](https://alfred.app/workflows/thebitguru/simple-2fa-paste/)\n\n---\n\n## Usage\n\n1. Launch Alfred.\n2. Enter the configured keyword (`2fa` by default).\n3. Select the correct two-factor code if it isn't the first one. You can also use shortcuts like Command+2 or Command+3 to select and paste in a single go.\n![Results](screenshot.png)\n\n4. If you did not use Command+2, or another number, shortcut then press enter to paste in the currently active text field.\n\n---\n\n## Derivative\n\nThis workflow builds upon https://github.com/squatto/alfred-imessage-2fa. One of the major differences is that this workflow uses simple `bash` instead of `php`, thus eliminating the need for anything more than what your system already has.\n\n[![Run tests](https://github.com/thebitguru/alfred-imessage-2fa-copy/actions/workflows/test.yml/badge.svg)](https://github.com/thebitguru/alfred-imessage-2fa-copy/actions/workflows/test.yml)\n\n---\n\nIcon made by [flaticon.com/authors/freepik](https://www.flaticon.com/authors/freepik) from www.flaticon.com.\n\n---\n\n## Known Issues\n\n1. Starting with macOS Ventura, Apple changed the format of the underlying database (`chat.db`) where now it saves an encoded version of the message in `attributedBody` field instead of the simpler, unencoded `text` field. `text` is still populated when the message is first received, but gets converted to `attributedBody` at some later time. This workflow should still work for new messages, but will not find older messages yet.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebitguru%2Falfred-simple-2fa-paste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebitguru%2Falfred-simple-2fa-paste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebitguru%2Falfred-simple-2fa-paste/lists"}