{"id":18127636,"url":"https://github.com/importre/macos-displays","last_synced_at":"2026-04-29T04:35:16.076Z","repository":{"id":146554425,"uuid":"575635781","full_name":"importre/macos-displays","owner":"importre","description":"🖥️ Get information of macOS displays from the command-line","archived":false,"fork":false,"pushed_at":"2022-12-13T14:28:29.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T14:14:13.577Z","etag":null,"topics":["display","macos","notch","resolution","safearea"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/importre.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":"2022-12-08T00:44:10.000Z","updated_at":"2022-12-09T16:30:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2c69668-6582-4d05-9b46-0039dcacc283","html_url":"https://github.com/importre/macos-displays","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/importre/macos-displays","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fmacos-displays","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fmacos-displays/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fmacos-displays/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fmacos-displays/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/importre","download_url":"https://codeload.github.com/importre/macos-displays/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fmacos-displays/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262800932,"owners_count":23366466,"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":["display","macos","notch","resolution","safearea"],"created_at":"2024-11-01T09:21:30.395Z","updated_at":"2026-04-29T04:35:11.058Z","avatar_url":"https://github.com/importre.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macos-displays\n\n## Installation\n\n```zsh\nbrew install importre/core/displays\n```\n\n## Usage\n\n```zsh\ndisplays -h\nUSAGE: displays [--output \u003coutput\u003e]\n\nOPTIONS:\n  -o, --output \u003coutput\u003e   Write to file instead of stdout.\n  -h, --help              Show help information.\n```\n\n## Output\n\n```json\n[\n  {\n    \"isDeepest\" : true,\n    \"isMain\" : true,\n    \"name\" : \"LG UltraFine\",\n    \"resolution\" : {\n      \"height\" : 1296,\n      \"width\" : 2304\n    },\n    \"safeAreaInsets\" : {\n      \"bottom\" : 0,\n      \"left\" : 0,\n      \"right\" : 0,\n      \"top\" : 0\n    }\n  },\n  {\n    \"isDeepest\" : false,\n    \"isMain\" : false,\n    \"name\" : \"Built-in Retina Display\",\n    \"resolution\" : {\n      \"height\" : 1117,\n      \"width\" : 1728\n    },\n    \"safeAreaInsets\" : {\n      \"bottom\" : 0,\n      \"left\" : 0,\n      \"right\" : 0,\n      \"top\" : 32\n    }\n  },\n  {\n    \"isDeepest\" : false,\n    \"isMain\" : false,\n    \"name\" : \"Sidecar Display (AirPlay)\",\n    \"resolution\" : {\n      \"height\" : 1024,\n      \"width\" : 1366\n    },\n    \"safeAreaInsets\" : {\n      \"bottom\" : 0,\n      \"left\" : 0,\n      \"right\" : 0,\n      \"top\" : 0\n    }\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimportre%2Fmacos-displays","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimportre%2Fmacos-displays","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimportre%2Fmacos-displays/lists"}