{"id":25976789,"url":"https://github.com/wmorland/alfred-py3-default-browser","last_synced_at":"2025-03-05T04:24:32.606Z","repository":{"id":38257498,"uuid":"497361449","full_name":"wmorland/alfred-py3-default-browser","owner":"wmorland","description":"A modern Alfred workflow for switching the default browser on macOS","archived":false,"fork":false,"pushed_at":"2023-02-13T05:21:38.000Z","size":3900,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-21T18:44:20.665Z","etag":null,"topics":["alfred","alfred-workflow","alfred3-workflow","alfred4-workflow","default-browser","macos","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/wmorland.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":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-05-28T15:48:04.000Z","updated_at":"2023-01-11T14:58:06.000Z","dependencies_parsed_at":"2024-04-12T23:45:47.198Z","dependency_job_id":"8e7ea7a9-b9d5-4c2b-9bf5-1c958b4076c8","html_url":"https://github.com/wmorland/alfred-py3-default-browser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmorland%2Falfred-py3-default-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmorland%2Falfred-py3-default-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmorland%2Falfred-py3-default-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmorland%2Falfred-py3-default-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wmorland","download_url":"https://codeload.github.com/wmorland/alfred-py3-default-browser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241962682,"owners_count":20049664,"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":["alfred","alfred-workflow","alfred3-workflow","alfred4-workflow","default-browser","macos","python","python3"],"created_at":"2025-03-05T04:24:32.063Z","updated_at":"2025-03-05T04:24:32.599Z","avatar_url":"https://github.com/wmorland.png","language":"Python","funding_links":[],"categories":["Web"],"sub_categories":[],"readme":"# Py3 Default Browser\n\nThis [Alfred](https://www.alfredapp.com) workflow makes it simple to change your default\nbrowser on macOS.\n\n[![Download latest version](https://img.shields.io/github/v/release/wmorland/alfred-py3-default-browser?label=Download\u0026logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBmaWxsPSJ3aGl0ZSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNy40NyAxMC43OGEuNzUuNzUgMCAwMDEuMDYgMGwzLjc1LTMuNzVhLjc1Ljc1IDAgMDAtMS4wNi0xLjA2TDguNzUgOC40NFYxLjc1YS43NS43NSAwIDAwLTEuNSAwdjYuNjlMNC43OCA1Ljk3YS43NS43NSAwIDAwLTEuMDYgMS4wNmwzLjc1IDMuNzV6TTMuNzUgMTNhLjc1Ljc1IDAgMDAwIDEuNWg4LjVhLjc1Ljc1IDAgMDAwLTEuNWgtOC41eiI%2BPC9wYXRoPjwvc3ZnPg%3D%3D\u0026sort=semver\u0026style=for-the-badge\u0026color=blue)](https://github.com/wmorland/alfred-py3-default-browser/releases/latest/download/py3-default-browser.alfredworkflow)\n\n\u003cimg src=\".images/Example.png\" alt=\"Screenshot of Alfred Workflow in action\" width=\"623\" height=\"305\"/\u003e\n\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/wmorland/alfred-py3-default-browser/CodeQL?label=CodeQL\u0026logo=github)](https://github.com/wmorland/alfred-py3-default-browser/actions/workflows/codeql-analysis.yml)\n[![Dependabot](.images/badges/Dependabot%20enabled.svg)](https://github.com/wmorland/alfred-py3-default-browser/security/dependabot)\n[![Alfred Workflow](.images/badges/Alfred%20Workflow.svg)](https://www.alfredapp.com/workflows/)\n[![Python 3](.images/badges/Python%203.svg)](https://www.python.org)\n[![Built using PyCharm](.images/badges/Built%20using%20PyCharm.svg)](https://www.jetbrains.com/pycharm/)\n[![code style black](.images/badges/code%20style%20black.svg)](https://github.com/psf/black)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/wmorland/alfred-py3-default-browser?sort=semver\u0026logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBmaWxsPSJ3aGl0ZSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMi41IDcuNzc1VjIuNzVhLjI1LjI1IDAgMDEuMjUtLjI1aDUuMDI1YS4yNS4yNSAwIDAxLjE3Ny4wNzNsNi4yNSA2LjI1YS4yNS4yNSAwIDAxMCAuMzU0bC01LjAyNSA1LjAyNWEuMjUuMjUgMCAwMS0uMzU0IDBsLTYuMjUtNi4yNWEuMjUuMjUgMCAwMS0uMDczLS4xNzd6bS0xLjUgMFYyLjc1QzEgMS43ODQgMS43ODQgMSAyLjc1IDFoNS4wMjVjLjQ2NCAwIC45MS4xODQgMS4yMzguNTEzbDYuMjUgNi4yNWExLjc1IDEuNzUgMCAwMTAgMi40NzRsLTUuMDI2IDUuMDI2YTEuNzUgMS43NSAwIDAxLTIuNDc0IDBsLTYuMjUtNi4yNUExLjc1IDEuNzUgMCAwMTEgNy43NzV6TTYgNWExIDEgMCAxMDAgMiAxIDEgMCAwMDAtMnoiPjwvcGF0aD48L3N2Zz4%3D\u0026color=blue)](https://github.com/wmorland/alfred-py3-default-browser/releases/latest/download/py3-default-browser.alfredworkflow)\n[![GitHub downloads all releases](https://img.shields.io/github/downloads/wmorland/alfred-py3-default-browser/total?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBmaWxsPSJ3aGl0ZSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNy40NyAxMC43OGEuNzUuNzUgMCAwMDEuMDYgMGwzLjc1LTMuNzVhLjc1Ljc1IDAgMDAtMS4wNi0xLjA2TDguNzUgOC40NFYxLjc1YS43NS43NSAwIDAwLTEuNSAwdjYuNjlMNC43OCA1Ljk3YS43NS43NSAwIDAwLTEuMDYgMS4wNmwzLjc1IDMuNzV6TTMuNzUgMTNhLjc1Ljc1IDAgMDAwIDEuNWg4LjVhLjc1Ljc1IDAgMDAwLTEuNWgtOC41eiI%2BPC9wYXRoPjwvc3ZnPg%3D%3D\u0026color=blue)](https://github.com/wmorland/alfred-py3-default-browser/releases/latest/download/py3-default-browser.alfredworkflow)\n[![GitHub stars](https://img.shields.io/github/stars/wmorland/alfred-py3-default-browser?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBmaWxsPSJ3aGl0ZSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCAuMjVhLjc1Ljc1IDAgMDEuNjczLjQxOGwxLjg4MiAzLjgxNSA0LjIxLjYxMmEuNzUuNzUgMCAwMS40MTYgMS4yNzlsLTMuMDQ2IDIuOTcuNzE5IDQuMTkyYS43NS43NSAwIDAxLTEuMDg4Ljc5MUw4IDEyLjM0N2wtMy43NjYgMS45OGEuNzUuNzUgMCAwMS0xLjA4OC0uNzlsLjcyLTQuMTk0TC44MTggNi4zNzRhLjc1Ljc1IDAgMDEuNDE2LTEuMjhsNC4yMS0uNjExTDcuMzI3LjY2OEEuNzUuNzUgMCAwMTggLjI1em0wIDIuNDQ1TDYuNjE1IDUuNWEuNzUuNzUgMCAwMS0uNTY0LjQxbC0zLjA5Ny40NSAyLjI0IDIuMTg0YS43NS43NSAwIDAxLjIxNi42NjRsLS41MjggMy4wODQgMi43NjktMS40NTZhLjc1Ljc1IDAgMDEuNjk4IDBsMi43NyAxLjQ1Ni0uNTMtMy4wODRhLjc1Ljc1IDAgMDEuMjE2LS42NjRsMi4yNC0yLjE4My0zLjA5Ni0uNDVhLjc1Ljc1IDAgMDEtLjU2NC0uNDFMOCAyLjY5NHYuMDAxeiI%2BPC9wYXRoPjwvc3ZnPg%3D%3D)](https://github.com/wmorland/alfred-py3-default-browser/stargazers)\n[![GitHub license](.images/badges/license%20MIT.svg)](https://github.com/wmorland/alfred-py3-default-browser/blob/main/LICENSE)\n\n## Installation\n\nTo install this workflow you just have to download and open the `.alfredworkflow` file\nfrom the latest\nrelease [here](https://github.com/wmorland/alfred-py3-default-browser/releases/latest).\nThe Alfred website's Help section has more information about\nWorkflows [here](https://www.alfredapp.com/help/workflows/#discovering). Workflows are a\npaid feature of Alfred which require\nthe [Alfred Powerpack](https://www.alfredapp.com/powerpack/).\n\n## Usage\n\nThe default shortcut is `db` and you can then pick a browser from the list of available\noptions. macOS requires you to confirm the change in a pop up dialog. For\nexample:\n\n\u003cimg src=\".images/Browser Confirmation.png\" alt=\"Screenshot of the macOS confirmation dialog\" width=\"372\" height=\"392\"/\u003e\n\n### Changing the Alfred keyword\n\n1. Open Alfred Preferences and go to 'Workflows' \u003e 'Py3 Default Browser'.\n2. Double click on the Script Filter\n   component.\n\n\u003cimg src=\".images/Script Filter.png\" alt=\"Screenshot of the Script Filter\" width=\"149\" height=\"212\"/\u003e\n\n3. Change the keyword field to your new chosen keyword (you can leave all other fields\n   the same) and then click 'Save'.\n\n## Support\n\nIf you have any questions or feature requests then\nplease [file an Issue](https://github.com/wmorland/alfred-py3-default-browser/issues/new)\non GitHub or reach out to me on Twitter, [@w_morland](https://twitter.com/w_morland).\n\n## Dependencies\n\nTo build the workflow locally from source you must run\n`/usr/bin/python3 -m pip install --target=./lib -r requirements.txt` as the script\nexpects the dependencies to be placed in a local folder.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what\nyou would like to change.\n\n## Acknowledgements\n\nThanks to:\n\n- [@deanishe](https://github.com/deanishe) for\n  the [alfred-workflow](https://github.com/deanishe/alfred-workflow) library.\n- [@NorthIsUp](https://github.com/NorthIsUp) for updating it to Python 3\n  in [alfred-workflow-py3](https://github.com/NorthIsUp/alfred-workflow-py3).\n- [@kerma](https://github.com/kerma) for\n  the [defaultbrowser](https://github.com/kerma/defaultbrowser) tool which was a\n  valuable reference.\n\n## Security\n\n- [SECURITY.md](.github/SECURITY.md) (Security Policy)\n- [security.txt](.wellknown/security.txt) ([@securitytxt](https://github.com/securitytxt))\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmorland%2Falfred-py3-default-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmorland%2Falfred-py3-default-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmorland%2Falfred-py3-default-browser/lists"}