{"id":16256526,"url":"https://github.com/janniks/defaultbrowser","last_synced_at":"2025-04-08T13:28:36.995Z","repository":{"id":81410734,"uuid":"131651676","full_name":"janniks/defaultbrowser","owner":"janniks","description":"Swift script and Alfred workflow to change the default browser on macOS.","archived":false,"fork":false,"pushed_at":"2017-05-08T19:17:09.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T09:51:11.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":false,"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/janniks.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":"2018-04-30T22:11:48.000Z","updated_at":"2024-10-23T12:44:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"49ddad30-34b2-47d5-b31a-903842d278ca","html_url":"https://github.com/janniks/defaultbrowser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janniks%2Fdefaultbrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janniks%2Fdefaultbrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janniks%2Fdefaultbrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janniks%2Fdefaultbrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janniks","download_url":"https://codeload.github.com/janniks/defaultbrowser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247850808,"owners_count":21006654,"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":[],"created_at":"2024-10-10T15:45:29.799Z","updated_at":"2025-04-08T13:28:36.976Z","avatar_url":"https://github.com/janniks.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# defaultbrowser 💻 🚀 🌍\n\nSwift script and Alfred workflow to change the default browser on macOS.\n\n## Swift\n\nTo run the Swift script: \n\n1. 🚧 Make it executable: `chmod +x defaultbrowser.swift`\n2. 🚀 Run it: `./defaultbrowser.swift \u003cbrowser\u003e`\n3. 👍 Acknowledge the system popup asking you if you're sure what you're doing.\n\n### Examples\n\nChange the default browser to *Chrome*:\n\n``` bash\n./defaultbrowser.swift chrome\n``` \n\nChange the default browser to *Safari*:\n\n``` bash\n./defaultbrowser.swift safari\n``` \n\nYou get the point.\n\n## Alfred Workflow\n\nDownload the repository and open the `defaultbrowser.alfredworkflow` file. The keyword is `db` and expects the browser you want to set as default as an argument.\n\nAt the moment, the workflow is very basic. Nice features would be:\n\n- Showing the matching available browsers while typing such as [this](https://github.com/ngreenstein/alfred-process-killer) workflow that shows matching processes while typing\n- A cool icon\n- Anything more you might like\n\n## Contributing\n\n🤓 Feel free to share ideas, criticism and open pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanniks%2Fdefaultbrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanniks%2Fdefaultbrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanniks%2Fdefaultbrowser/lists"}