{"id":13459474,"url":"https://github.com/kyle-seongwoo-jun/apple-device-identifiers","last_synced_at":"2025-08-23T13:14:58.570Z","repository":{"id":74214077,"uuid":"385304829","full_name":"kyle-seongwoo-jun/apple-device-identifiers","owner":"kyle-seongwoo-jun","description":"JSON files for mapping iOS, iPadOS, tvOS, watchOS, visionOS and macOS device identifiers to some human readable equivalent.","archived":false,"fork":false,"pushed_at":"2024-10-24T06:31:48.000Z","size":57,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-25T01:23:30.383Z","etag":null,"topics":["apple","deno","ios","ipados","macos","tvos","typescript","visionos","watchos"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kyle-seongwoo-jun.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-12T16:01:57.000Z","updated_at":"2024-10-24T06:27:57.000Z","dependencies_parsed_at":"2023-11-14T03:23:42.102Z","dependency_job_id":"a3df2cb1-840e-4ab8-9ed9-9d0ad83ad858","html_url":"https://github.com/kyle-seongwoo-jun/apple-device-identifiers","commit_stats":{"total_commits":60,"total_committers":2,"mean_commits":30.0,"dds":0.1166666666666667,"last_synced_commit":"f9434f05b48b216454b1ec623f4f33b0b7db9685"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/kyle-seongwoo-jun/apple-device-identifiers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fapple-device-identifiers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fapple-device-identifiers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fapple-device-identifiers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fapple-device-identifiers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyle-seongwoo-jun","download_url":"https://codeload.github.com/kyle-seongwoo-jun/apple-device-identifiers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-seongwoo-jun%2Fapple-device-identifiers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271749006,"owners_count":24814102,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["apple","deno","ios","ipados","macos","tvos","typescript","visionos","watchos"],"created_at":"2024-07-31T10:00:17.736Z","updated_at":"2025-08-23T13:14:58.542Z","avatar_url":"https://github.com/kyle-seongwoo-jun.png","language":"TypeScript","funding_links":[],"categories":["Hardware Device"],"sub_categories":[],"readme":"# apple-device-identifiers\n\nJSON files for mapping iOS, iPadOS, tvOS, watchOS, visionOS and macOS device identifiers to some human readable equivalent.\n\n## Usage\n\nYou can download JSON files from the repository.\n\n```shell\ncurl https://raw.githubusercontent.com/kyle-seongwoo-jun/apple-device-identifiers/main/ios-device-identifiers.json \u003e ios-device-identifiers.json\n```\n\nHere is a simple example using the JSON file with bash and [jq](https://stedolan.github.io/jq/).\n\n```shell\nfunction get_apple_device_name() {\n  local URL=\"https://raw.githubusercontent.com/kyle-seongwoo-jun/apple-device-identifiers/main\"\n  local OS=\"$1\" # ios, tvos, watchos, visionos, mac\n  local IDENTIFIER=\"$2\"\n  curl \"$URL/$OS-device-identifiers.json\" | jq -r \".[\\\"$IDENTIFIER\\\"]\"\n}\n\n$ get_apple_device_name ios iPhone16,1\niPhone 15 Pro\n\n$ get_apple_device_name mac Mac15,11\nMacBook Pro (16-inch, Nov 2023)\n```\n\n## Genrerate JSON file\n\n```shell\n# iOS, iPadOS, tvOS, watchOS, visionOS\ndeno run --allow-run --allow-read --allow-write scripts/scrape-from-xcode.ts\n\n# macOS\ndeno run --allow-net --allow-write scripts/scrape-from-apple.ts\ndeno run --allow-read --allow-write scripts/migrate-json.ts\n```\n\n## References (iOS, iPadOS, tvOS, watchOS)\n\n- [Identify your iPhone model](https://support.apple.com/en-us/108044)\n- [Identify your iPad model](https://support.apple.com/en-us/108043)\n- [Identify your iPod model](https://support.apple.com/en-us/103823)\n- [Identify your Apple Watch](https://support.apple.com/en-us/108056)\n- [Identify your Apple TV model](https://support.apple.com/en-us/101605)\n\n## Sources (macOS)\n\n- [Identify your MacBook model](https://support.apple.com/en-us/103257)\n- [Identify your MacBook Air model](https://support.apple.com/en-us/102869)\n- [Identify your MacBook Pro model](https://support.apple.com/en-us/108052)\n- [Identify your iMac model](https://support.apple.com/en-us/108054)\n- [Identify your Mac mini model](https://support.apple.com/en-us/102852)\n- [Identify your Mac Studio model](https://support.apple.com/en-us/102231)\n- [Identify your Mac Pro model](https://support.apple.com/en-us/102887)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyle-seongwoo-jun%2Fapple-device-identifiers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyle-seongwoo-jun%2Fapple-device-identifiers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyle-seongwoo-jun%2Fapple-device-identifiers/lists"}