{"id":17201588,"url":"https://github.com/kyome22/systeminfokit","last_synced_at":"2025-10-19T10:39:00.737Z","repository":{"id":43733994,"uuid":"237587755","full_name":"Kyome22/SystemInfoKit","owner":"Kyome22","description":"ActivityKit provides macOS system information (CPU usage, Memory performance, Battery state, Storage capacity, and Network connection).","archived":false,"fork":false,"pushed_at":"2025-02-02T07:56:03.000Z","size":237,"stargazers_count":50,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T18:04:14.930Z","etag":null,"topics":["macos","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kyome22.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":"2020-02-01T08:54:02.000Z","updated_at":"2025-03-17T05:22:02.000Z","dependencies_parsed_at":"2024-03-17T12:28:49.290Z","dependency_job_id":"959df6eb-ee4a-4c50-bbef-b0f39f842303","html_url":"https://github.com/Kyome22/SystemInfoKit","commit_stats":null,"previous_names":["kyome22/systeminfokit","kyome22/activitykit"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyome22%2FSystemInfoKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyome22%2FSystemInfoKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyome22%2FSystemInfoKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyome22%2FSystemInfoKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kyome22","download_url":"https://codeload.github.com/Kyome22/SystemInfoKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248762670,"owners_count":21157767,"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":["macos","swift"],"created_at":"2024-10-15T02:12:14.268Z","updated_at":"2025-10-19T10:39:00.731Z","avatar_url":"https://github.com/Kyome22.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SystemInfoKit\n\nSystemInfoKit provides macOS/iOS system information.\n\n- CPU usage\n- Memory performance\n- Storage capacity\n- Battery state\n- Network connection\n\n## Requirements\n\n- Development with Xcode 16.4+\n- Written in Swift 6.1\n- Compatible with macOS 13.0+, iOS 18.0+\n\n## Installation\n\nSystemInfoKit supports Swift Package Manager.\n\n## Usage\n\n```swift\nimport SystemInfoKit\n\n// Get all system info per 3 seconds\nlet observer = SystemInfoObserver.shared\n\nTask {\n    for await systemInfoBundle in observer.systemInfoStream() {\n        Swift.print(systemInfoBundle)\n    }\n}\nobserver.startMonitoring(monitorInterval: 3.0)\n\n// Finish to get system info\nobserver.stopMonitoring()\n```\n\n## Sample Output\n\n```console\nCPU:  7.5%\n    System:  2.9%\n    User:  4.6%\n    Idle: 92.5%\nMemory: 72.9%\n    Pressure: 33.1%\n    App:  6.4 GB\n    Wired:  1.8 GB\n    Compressed:  3.5 GB\nStorage: 58.7% used\n    584.13 GB / 994.66 GB\nBattery:  98.2%\n    Power Source: SomeAdapter\n    Max Capacity:  95.7%\n    Cycle Count: 7\n    Temperature: 30.2°C\nNetwork: Ethernet\n    Local IP: 192.0.2.1\n    Upload:  50.7 kB/s\n    Download:   1.7 kB/s\n```\n\n## Supported languages\n\n- Chinese, Simplified\n- English (primary)\n- French\n- German\n- Japanese\n- Korean\n\n## Copyright and License\n\nCopyright 2020 Takuto Nakamura\n\nLicensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyome22%2Fsysteminfokit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyome22%2Fsysteminfokit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyome22%2Fsysteminfokit/lists"}