{"id":18817360,"url":"https://github.com/exoad/better_cpu_reader","last_synced_at":"2025-10-12T08:16:59.025Z","repository":{"id":182418774,"uuid":"668464032","full_name":"exoad/better_cpu_reader","owner":"exoad","description":"Rewrite of the \"cpu_reader\" package for Flutter to work with modern SDK versions","archived":false,"fork":false,"pushed_at":"2025-01-02T14:36:55.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T10:00:39.698Z","etag":null,"topics":["dart","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/better_cpu_reader","language":"Kotlin","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/exoad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2023-07-19T21:50:12.000Z","updated_at":"2025-01-02T14:55:35.000Z","dependencies_parsed_at":"2025-04-11T09:06:14.759Z","dependency_job_id":"30ab67b9-af85-401e-9033-9168a475091b","html_url":"https://github.com/exoad/better_cpu_reader","commit_stats":null,"previous_names":["exoad/better_cpu_reader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exoad/better_cpu_reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exoad%2Fbetter_cpu_reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exoad%2Fbetter_cpu_reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exoad%2Fbetter_cpu_reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exoad%2Fbetter_cpu_reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exoad","download_url":"https://codeload.github.com/exoad/better_cpu_reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exoad%2Fbetter_cpu_reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010803,"owners_count":26084807,"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-10-12T02:00:06.719Z","response_time":53,"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":["dart","flutter"],"created_at":"2024-11-08T00:11:02.708Z","updated_at":"2025-10-12T08:16:58.986Z","avatar_url":"https://github.com/exoad.png","language":"Kotlin","readme":"# cpu_reader\n\n\u003e **Warning**: This is a rewrite of the original with some minor changes to work with the newer Dart Sound Safety specifications\n\nA basic CPU reader that provides a simple way of retrieving device CPU info (Currently only supports Android).\n\n# Usage\n\nTo use this rewrite, put this in your `pubspec.yaml`:\n```yaml\ndependencies:\n  better_cpu_reader:\n    git:\n      url: https://github.com/exoad/better_cpu_reader.git\n```\n\nView it **pub.dev** [here](https://pub.dev/packages/better_cpu_reader) and install it with:\n\n```bash\nflutter pub add better_cpu_reader\n```\n\nYou can view the original package [here](https://github.com/igrik12/cpu_reader).\n\nExample:\n\n```dart\nimport 'package:better_cpu_reader/cpu_reader.dart';\nimport 'package:better_cpu_reader/cpuinfo.dart';\n\nCpuInfo cpuInfo = await CpuReader.cpuInfo;\nprint('Number of Cores ${cpuInfo.numberOfCores}');\n\nint freq = await CpuReader.getCurrentFrequency(2);\nprint('Core number 2 freq ${freq} Mhz');\n\nCpuReader.asStream(Duration(milliseconds: 1000)).listen((cpuInfo) =\u003e print(\"Temperature: ${cpuInfo.cpuTemperature}\"))\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexoad%2Fbetter_cpu_reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexoad%2Fbetter_cpu_reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexoad%2Fbetter_cpu_reader/lists"}