{"id":22835972,"url":"https://github.com/periph/devices","last_synced_at":"2026-04-02T03:17:02.948Z","repository":{"id":40260189,"uuid":"322699942","full_name":"periph/devices","owner":"periph","description":"Go·Hardware·Lean - Device drivers","archived":false,"fork":false,"pushed_at":"2025-12-18T16:05:25.000Z","size":1005,"stargazers_count":109,"open_issues_count":6,"forks_count":50,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-18T19:56:12.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://periph.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/periph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-18T20:40:32.000Z","updated_at":"2025-12-18T16:05:31.000Z","dependencies_parsed_at":"2023-12-28T18:31:46.062Z","dependency_job_id":"3360540a-b05e-4d1f-b8fc-60f9b9bc2850","html_url":"https://github.com/periph/devices","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/periph/devices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fdevices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fdevices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fdevices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fdevices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/periph","download_url":"https://codeload.github.com/periph/devices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fdevices/sbom","scorecard":{"id":727907,"data":{"date":"2025-08-11","repo":{"name":"github.com/periph/devices","commit":"55d75a38ed9360c317325dc2ee22c036ee402ee2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Code-Review","score":9,"reason":"Found 28/30 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:246: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:247: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:251: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:255: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:257: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/devices/test.yml/main?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/test.yml:47","Warn: goCommand not pinned by hash: .github/workflows/test.yml:115","Warn: goCommand not pinned by hash: .github/workflows/test.yml:116","Warn: goCommand not pinned by hash: .github/workflows/test.yml:117","Warn: goCommand not pinned by hash: .github/workflows/test.yml:118","Warn: goCommand not pinned by hash: .github/workflows/test.yml:122","Warn: goCommand not pinned by hash: .github/workflows/test.yml:123","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   8 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (28) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T13:25:48.187Z","repository_id":40260189,"created_at":"2025-08-22T13:25:48.187Z","updated_at":"2025-08-22T13:25:48.187Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31295020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"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":[],"created_at":"2024-12-12T23:00:49.072Z","updated_at":"2026-04-02T03:17:02.878Z","avatar_url":"https://github.com/periph.png","language":"Go","funding_links":[],"categories":["Embedded Systems"],"sub_categories":["General use"],"readme":"# periph - Peripherals I/O in Go\n\nDocumentation is at https://periph.io\n\nJoin us for a chat on\n[gophers.slack.com/messages/periph](https://gophers.slack.com/messages/periph),\nget an [invite here](https://invite.slack.golangbridge.org/).\n\n[![mascot](https://raw.githubusercontent.com/periph/website/master/site/static/img/periph-mascot-280.png)](https://periph.io/)\n\n[![PkgGoDev](https://pkg.go.dev/badge/periph.io/x/devices/v3)](https://pkg.go.dev/periph.io/x/devices/v3)\n[![codecov](https://codecov.io/gh/periph/devices/branch/main/graph/badge.svg?token=UA4NGFM2YJ)](https://codecov.io/gh/periph/devices)\n\n\n## Example\n\nBlink a LED:\n\n~~~go\npackage main\n\nimport (\n    \"time\"\n    \"periph.io/x/conn/v3/gpio\"\n    \"periph.io/x/host/v3\"\n    \"periph.io/x/host/v3/rpi\"\n)\n\nfunc main() {\n    host.Init()\n    t := time.NewTicker(500 * time.Millisecond)\n    for l := gpio.Low; ; l = !l {\n        rpi.P1_33.Out(l)\n        \u003c-t.C\n    }\n}\n~~~\n\nCurious? Look at [supported devices](https://periph.io/device/) for more\nexamples!\n\n\n## Authors\n\n`periph` was initiated with ❤️️ and passion by [Marc-Antoine\nRuel](https://github.com/maruel). The full list of contributors is in\n[AUTHORS](https://github.com/periph/devices/blob/main/AUTHORS) and\n[CONTRIBUTORS](https://github.com/periph/devices/blob/main/CONTRIBUTORS).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperiph%2Fdevices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperiph%2Fdevices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperiph%2Fdevices/lists"}