{"id":15967728,"url":"https://github.com/bouraqadi/macosxopenfileurl","last_synced_at":"2026-03-19T10:48:11.119Z","repository":{"id":169995746,"uuid":"390016298","full_name":"bouraqadi/MacOSxOpenFileURL","owner":"bouraqadi","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-27T18:21:48.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-15T17:07:44.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/bouraqadi.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-07-27T14:34:41.000Z","updated_at":"2022-08-14T08:51:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a6976ea-378e-4a33-8f57-3b91042c91b0","html_url":"https://github.com/bouraqadi/MacOSxOpenFileURL","commit_stats":null,"previous_names":["bouraqadi/macosxopenfileurl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bouraqadi/MacOSxOpenFileURL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouraqadi%2FMacOSxOpenFileURL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouraqadi%2FMacOSxOpenFileURL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouraqadi%2FMacOSxOpenFileURL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouraqadi%2FMacOSxOpenFileURL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bouraqadi","download_url":"https://codeload.github.com/bouraqadi/MacOSxOpenFileURL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouraqadi%2FMacOSxOpenFileURL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29637400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-07T18:41:12.236Z","updated_at":"2026-02-20T00:02:55.124Z","avatar_url":"https://github.com/bouraqadi.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mac OS X Open File URLs with Parameters\n\nThis repository provides a workaround to a Mac OS X bug. It wraps the default `open` command line utility, to allow openning URLs that point to local files, and include parameters.\nA blog post describes [the bug and the steps that led to this solution](https://nootrix.com/tutorials/command-line-open-file-url-parameters-mac/).\n\n## Build \u0026 Install\n\n- Build it: `make`\n- Install it into your executable path: `make install`\n- Uninstall it from your excutable path: `make uninstall`\n- Cleanup latest folder: `make clean`\n\n## Utilities\n\n- `open`: This is main command line tool, that relies on the others. It uses `openURL` if the first argument is a URL starting with `file:`. Otherwise, it hands over the argument to Mac OS's `open` utility.\n- `openUrl.scpt`: This AppleScript file opens calls a web browser (first argument) with the provided URL (second argument)\n- `defaultWebBrowser`: Command line tool for getting the default browser (HTTP handler) in MacOS X. Running `defaultWebBrowser` displays the current web browser used by MacOS for openning URLs. \n\n## Acknowledgement\n\nThe implementation of the `defaultWebBrowser` utility is derived from [defaultbrowser by Margus Kerma](https://github.com/kerma/defaultbrowser). It uses Objective-C and relies on the [MacOS X Launch Services API](https://developer.apple.com/documentation/coreservices/launch_services).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouraqadi%2Fmacosxopenfileurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbouraqadi%2Fmacosxopenfileurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouraqadi%2Fmacosxopenfileurl/lists"}