{"adoption": {"forks": 204, "observed_at": "2026-08-28T04:05:28.516092+00:00", "stars": 1729}, "canonical_url": "https://ross.abutalabs.com/products/device", "card": {"archived": false, "artifact_type": "library", "description": "Light weight tool for detecting the current device and screen size written in swift.", "domain": ["mobile-development", "developer-tools"], "enriched": true, "function": ["developer-tools"], "health_score": 82, "homepage": null, "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["Ekhoo/Device"], "name": "Ekhoo/Device", "platform": [], "pushed_at": "2026-04-22T04:58:59+00:00", "repo": "Ekhoo/Device", "stars": 1729, "tags": ["device-detection", "screen-size", "swift", "cocoapods", "carthage", "spm", "ios", "macos"], "topics": ["carthage", "xcode", "cocoapods", "swift", "ios", "swift-3", "ipad", "iphone", "macos", "osx"], "urls": [], "use_cases": ["detect which iPhone or iPad model the app is running on", "get the current device screen size in Swift", "adapt UI layout based on device type", "check if the app is running on iPhone, iPad, or Mac", "log the device version for analytics or debugging"], "what_it_is": "A lightweight Swift library for detecting the current Apple device model and screen size on iOS and macOS. It provides simple enums for device versions and screen sizes, distributed via CocoaPods, Carthage, and Swift Package Manager.", "when_to_avoid": ["you need modern device coverage beyond the models listed in the README", "you only need screen size and prefer using built-in UIKit/AppKit APIs", "you target platforms outside Apple's ecosystem"], "when_to_choose": ["you need a small, dependency-free way to identify Apple hardware models in Swift", "you want simple switch-based APIs for device and screen size detection", "you support both iOS and macOS in one codebase"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/device", "repo": "Ekhoo/Device", "role": "main", "score": 61}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.516092+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:31:47.806773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79fe6207f0a9990613ad9d2fdd65df24cc58810b72058870e546a907a5e2e27f", "fetched_at": "2026-08-28T04:05:28.516092+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Ekhoo/Device"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 78, "longevity": 100, "rhythm": 18}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3960, "days_push": 133, "days_rel": 334, "gap_med": 348, "n_releases_24m": 2}, "score": 61, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}