{"adoption": {"forks": 248, "observed_at": "2026-08-28T04:07:11.396769+00:00", "stars": 2700}, "canonical_url": "https://ross.abutalabs.com/products/keyboardshortcuts", "card": {"archived": false, "artifact_type": "library", "description": "⌨️ Add user-customizable global keyboard shortcuts (hotkeys) to your macOS app in minutes", "domain": ["operating-systems", "developer-tools", "desktop-applications"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 92, "homepage": "https://swiftpackageindex.com/sindresorhus/KeyboardShortcuts/documentation/keyboardshortcuts/keyboardshortcuts", "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["sindresorhus/KeyboardShortcuts"], "name": "sindresorhus/KeyboardShortcuts", "platform": [], "pushed_at": "2026-06-17T10:24:25+00:00", "repo": "sindresorhus/KeyboardShortcuts", "stars": 2700, "tags": ["keyboard-shortcuts", "hotkeys", "swiftui", "swift-package-manager", "cocoa", "macos", "swift", "desktop"], "topics": ["keyboard-shortcuts", "hotkey", "macos", "swift-package", "swift-package-manager", "carthage", "cocoapods", "swiftui", "swiftui-components"], "urls": [], "use_cases": ["add user-customizable global hotkeys to a macOS app", "let users record keyboard shortcuts in a settings screen", "register global key listeners in Swift", "avoid conflicts with system keyboard shortcuts", "add hotkey support to a SwiftUI macOS app", "persist user keyboard shortcut preferences"], "what_it_is": "A Swift package that lets macOS developers add user-customizable global keyboard shortcuts (hotkeys) to their apps with minimal code. It provides SwiftUI and Cocoa recorder components, persists shortcuts to UserDefaults, and warns about conflicts with system shortcuts.", "when_to_avoid": ["you need cross-platform keyboard shortcut handling", "your app targets iOS or other non-macOS platforms", "you need in-app-only (non-global) key handling"], "when_to_choose": ["you're building a macOS app in Swift and want global hotkeys quickly", "you need a ready-made shortcut recorder UI for SwiftUI or Cocoa", "you want Mac App Store-compatible, sandboxed hotkey support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/keyboardshortcuts", "repo": "sindresorhus/KeyboardShortcuts", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "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:07:11.396769+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.396769+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:16:06.093866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2d3f111bb3462fd5d1477e55728439a0e2e718642d628cb62bc66a3923ba03e1", "fetched_at": "2026-08-28T04:07:11.396769+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/KeyboardShortcuts"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 88, "longevity": 100, "rhythm": 89}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2309, "days_push": 77, "days_rel": 77, "gap_med": 16, "n_releases_24m": 10}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}