{"id":20460097,"url":"https://github.com/dehydratedpotato/ppidump","last_synced_at":"2026-05-16T08:04:19.252Z","repository":{"id":134493684,"uuid":"578279073","full_name":"dehydratedpotato/ppidump","owner":"dehydratedpotato","description":"A simple Mac command to get display Pixels Per Inch (ppi), without making retina-scaling mistakes.","archived":false,"fork":false,"pushed_at":"2022-12-14T17:35:16.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T00:25:51.735Z","etag":null,"topics":["display","display-resolution","displays","macos","pixel","pixel-density","pixels","ppi","resolution","swift"],"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/dehydratedpotato.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-14T17:16:57.000Z","updated_at":"2024-03-06T23:39:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"205d505e-aef4-4f95-a369-ababff9f2271","html_url":"https://github.com/dehydratedpotato/ppidump","commit_stats":null,"previous_names":["dehydratedpotato/ppidump"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehydratedpotato%2Fppidump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehydratedpotato%2Fppidump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehydratedpotato%2Fppidump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dehydratedpotato%2Fppidump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dehydratedpotato","download_url":"https://codeload.github.com/dehydratedpotato/ppidump/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242014722,"owners_count":20057880,"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","display-resolution","displays","macos","pixel","pixel-density","pixels","ppi","resolution","swift"],"created_at":"2024-11-15T12:18:20.863Z","updated_at":"2026-05-16T08:04:14.220Z","avatar_url":"https://github.com/dehydratedpotato.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ppidump :desktop_computer:\n## Deets\nA small mac command to find the Pixels Per Inch (ppi/Pixel Density) of every connected display. It calculates the data using physical resolution, so it shouldn't make any mistakes from retina-scaling.\n\nI threw it together in, like, an hour. It's written in Swift because why not.\n\n## Building\nJust run `make`. Boom, your done.\n## Usage\nThe command defaults to printing all display info, but you can manually input data using\n```\nppidump [width_px height_px diag_size]\n```\nFor example, like\n```\nppidump 2560 1440 24.5\n```\n## Example Output\n\n```\n$ ./ppidump\n\nBuilt-in Retina Display (2560x1600 Physical at 13.3\") = 227 ppi\nLG HDR QHD (2560x1440 Physical at 31.5\") = 93 ppi\nDELL U2415 (1920x1200 Physical at 24.0\") = 94 ppi\n```\nDisplay names are printed in cyan :wink:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdehydratedpotato%2Fppidump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdehydratedpotato%2Fppidump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdehydratedpotato%2Fppidump/lists"}