{"id":23136088,"url":"https://github.com/brianmichel/twofy","last_synced_at":"2026-05-09T05:34:14.072Z","repository":{"id":249703534,"uuid":"820689397","full_name":"brianmichel/Twofy","owner":"brianmichel","description":"The missing 2FA helper for macOS","archived":false,"fork":false,"pushed_at":"2024-08-22T18:26:03.000Z","size":8154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-27T18:38:42.126Z","etag":null,"topics":["2fa","macos","swift","swiftui","two-factor-authentication"],"latest_commit_sha":null,"homepage":"https://twofy.xyz","language":"Swift","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/brianmichel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["brianmichel"],"ko_fi":"brianmichel"}},"created_at":"2024-06-27T01:41:40.000Z","updated_at":"2026-01-23T01:39:29.000Z","dependencies_parsed_at":"2024-08-22T20:28:12.107Z","dependency_job_id":null,"html_url":"https://github.com/brianmichel/Twofy","commit_stats":null,"previous_names":["brianmichel/twofy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brianmichel/Twofy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianmichel%2FTwofy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianmichel%2FTwofy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianmichel%2FTwofy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianmichel%2FTwofy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianmichel","download_url":"https://codeload.github.com/brianmichel/Twofy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianmichel%2FTwofy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["2fa","macos","swift","swiftui","two-factor-authentication"],"created_at":"2024-12-17T12:18:32.796Z","updated_at":"2026-05-09T05:34:14.053Z","avatar_url":"https://github.com/brianmichel.png","language":"Swift","funding_links":["https://github.com/sponsors/brianmichel","https://ko-fi.com/brianmichel"],"categories":[],"sub_categories":[],"readme":"# Twofy\n\nAn application and suite of browser extensions to relay incoming 2FA text messages into the non-Safari browser of your choice.\n\n## Design Goals\n\nI want an app that can apply the principle of least privilege to a set of functionality that means giving access to my entire Message.app database which contains all of my messages. This means that Twofy:\n\n- Is sandboxed\n- Does not allow incoming or outgoing network traffic\n- Requires the user to grant access to the `~/Library/Messages` directory\n- (Coming Soon) is notarized\n- (Coming Soon) isolates un-sandboxable behavior to different XPC services\n\n## Architecture\n\n```mermaid\nsequenceDiagram\n    box Green Sandboxed\n    participant App\n    participant App-BrowserSupport (NativeMessageHost)\n    end\n    box Red Not Sandboxed\n    participant App-ManifestInstaller (XPC)\n    end\n    box Blue Browser\n    participant Web Page\n    participant Browser Extension\n    end\n    App--\u003e\u003eApp-ManifestInstaller (XPC): Install NativeMessageHost registrations (If Needed)\n    App-ManifestInstaller (XPC)--\u003e\u003eFile System: Copy Files\n    App-ManifestInstaller (XPC)--\u003e\u003eApp: Registrations installed\n    Web Page--\u003e\u003eBrowser Extension: Land on page with 2FA input field\n    Browser Extension--\u003e\u003eApp-BrowserSupport (NativeMessageHost): Waiting For 2FA\n    App-BrowserSupport (NativeMessageHost)--\u003e\u003eApp: Start Polling For Messages\n    App--\u003e\u003eApp-BrowserSupport (NativeMessageHost): Found Code '1234'\n    App-BrowserSupport (NativeMessageHost)--\u003e\u003eBrowser Extension: Received Code '1234'\n    Browser Extension--\u003e\u003eWeb Page: Show '1234' in UI below input field\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianmichel%2Ftwofy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianmichel%2Ftwofy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianmichel%2Ftwofy/lists"}