{"id":13529357,"url":"https://github.com/squatto/alfred-imessage-2fa","last_synced_at":"2025-04-01T15:30:54.091Z","repository":{"id":45858209,"uuid":"176013503","full_name":"squatto/alfred-imessage-2fa","owner":"squatto","description":"iMessage 2FA Workflow for Alfred","archived":false,"fork":false,"pushed_at":"2025-01-06T03:22:06.000Z","size":9344,"stargazers_count":114,"open_issues_count":7,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T01:08:42.257Z","etag":null,"topics":["2fa","alfred","alfred-workflow","alfred-workflows","imessage"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/squatto.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}},"created_at":"2019-03-16T19:06:49.000Z","updated_at":"2025-02-17T07:36:50.000Z","dependencies_parsed_at":"2024-04-20T04:33:31.122Z","dependency_job_id":"423391a3-b4ae-45bb-8dbc-622ac56e18fb","html_url":"https://github.com/squatto/alfred-imessage-2fa","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squatto%2Falfred-imessage-2fa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squatto%2Falfred-imessage-2fa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squatto%2Falfred-imessage-2fa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squatto%2Falfred-imessage-2fa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squatto","download_url":"https://codeload.github.com/squatto/alfred-imessage-2fa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246662276,"owners_count":20813721,"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":["2fa","alfred","alfred-workflow","alfred-workflows","imessage"],"created_at":"2024-08-01T07:00:35.654Z","updated_at":"2025-04-01T15:30:54.084Z","avatar_url":"https://github.com/squatto.png","language":"PHP","funding_links":[],"categories":["PHP","Productivity"],"sub_categories":[],"readme":"# iMessage 2FA Workflow for Alfred\n\nFind two-factor authentication codes in your recent iMessage messages.\n\n![Screenshot](screenshot.png)\n\n## Requirements\n\n* `php` must be installed on your system\n  * macOS has not had `php` preinstalled since Monterey (v12)\n    * This is also the case for macOS Ventura (v13), Sonoma (v14), and Sequoia (v15)\n  * We recommend using [Homebrew](https://brew.sh) to install `php`\n    * To install Homebrew, follow the instructions on the \"Install Homebrew\" section of the [Homebrew website](https://brew.sh)\n    * Once you have installed Homebrew, install `php` by running `brew install php`\n* You **MUST** grant Full Disk Access to Alfred\n  * This is required because your messages are stored in the file `~/Library/Messages/chat.db`, which Alfred cannot read without having Full Disk Access\n  * [See here for instructions on granting Full Disk Access to Alfred](https://www.alfredapp.com/help/getting-started/permissions/#full-disk)\n\n## Installation\n\n1. [Download the latest version of the workflow](https://github.com/squatto/alfred-imessage-2fa/releases/latest/download/iMessage.2FA.alfredworkflow)\n2. Install the workflow by double-clicking the `.alfredworkflow` file\n3. You can add the workflow to a category, then click \"Import\" to finish importing. You'll now see the workflow listed in the left sidebar of your Workflows preferences pane.\n\n## Configuration\n\n* By default, only messages received in the past 15 minutes will be searched\n* You can change how many minutes to look back by changing the `look_back_minutes` workflow variable\n* Tutorial: [How to set workflow variables](https://www.alfredapp.com/help/workflows/advanced/variables/#environment)\n\n![Workflow Variables](workflow-variables.png)\n\n## Usage\n\nType `2fm` to view the most recent two-factor authentication codes from iMessage messages.\n\nSelect a 2FA code and do one of the following:\n\n* Press `\u003center\u003e` to copy it to your clipboard\n* Press `⌘+\u003center\u003e` (command + enter) to copy it to your clipboard and paste it into the active app window using simulated keystrokes\n  * Some websites (e.g. Wells Fargo online banking) don't support pasting a 2FA code, so this will instead simulate typing the code\n  * In order for this to work, you MUST grant Alfred automation access to `System Events`. If you haven't already done so, you will be prompted to grant access. [See here for more information about Alfred automation.](https://www.alfredapp.com/help/getting-started/permissions/#automation) \n* Press `⌥+\u003center\u003e` (option + enter) to copy it to your clipboard and paste it into the active app window using the system paste (similar to pressing `⌘+V`)\n\n## Compatibility\n\nThis workflow was developed for use with Alfred 5. It also works with Alfred 4.\n\n## Contributors\n\nA huge thank you to our contributors!\n\n* [luckman212](https://github.com/luckman212)\n* [manonstreet](https://github.com/manonstreet)\n* [cmer](https://github.com/cmer)\n* [eruizdechavez](https://github.com/eruizdechavez)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquatto%2Falfred-imessage-2fa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquatto%2Falfred-imessage-2fa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquatto%2Falfred-imessage-2fa/lists"}