{"id":41624024,"url":"https://github.com/periph/host","last_synced_at":"2026-01-24T14:09:08.060Z","repository":{"id":45884696,"uuid":"322699820","full_name":"periph/host","owner":"periph","description":"Go·Hardware·Lean - Host drivers","archived":false,"fork":false,"pushed_at":"2025-04-02T00:53:52.000Z","size":1143,"stargazers_count":63,"open_issues_count":27,"forks_count":35,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T01:34:24.607Z","etag":null,"topics":["1-wire","apa102","beaglebone","bme280","bmp180","bmp280","chip","ds18b20","ds2482","golang","gpio","hardware","i2c","lepton","odroid-c1","raspberry-pi","spi","ssd1306","tm1637"],"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}},"created_at":"2020-12-18T20:39:52.000Z","updated_at":"2025-04-02T00:53:56.000Z","dependencies_parsed_at":"2024-06-03T09:18:06.005Z","dependency_job_id":"a972c01b-fee6-4185-8454-f42afd125bfa","html_url":"https://github.com/periph/host","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/periph/host","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/periph","download_url":"https://codeload.github.com/periph/host/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fhost/sbom","scorecard":{"id":727911,"data":{"date":"2025-08-11","repo":{"name":"github.com/periph/host","commit":"9cd28b79cdd1c0c2a8cf41cc4aca0de9d7066a3d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"name":"Code-Review","score":5,"reason":"Found 16/30 approved changesets -- score normalized to 5","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":"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":"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":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/host/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/host/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/host/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/host/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/host/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:259: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/host/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:260: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/host/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:264: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/host/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:268: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/host/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:270: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/host/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:   2 out of   9 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":"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":8,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 8 commits out of 17 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:51.370Z","repository_id":45884696,"created_at":"2025-08-22T13:25:51.371Z","updated_at":"2025-08-22T13:25:51.371Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28729411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["1-wire","apa102","beaglebone","bme280","bmp180","bmp280","chip","ds18b20","ds2482","golang","gpio","hardware","i2c","lepton","odroid-c1","raspberry-pi","spi","ssd1306","tm1637"],"created_at":"2026-01-24T14:09:07.267Z","updated_at":"2026-01-24T14:09:08.053Z","avatar_url":"https://github.com/periph.png","language":"Go","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/host/v3)](https://pkg.go.dev/periph.io/x/host/v3)\n[![codecov](https://codecov.io/gh/periph/host/branch/main/graph/badge.svg?token=RX9O1CPQHU)](https://codecov.io/gh/periph/host)\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/host/blob/main/AUTHORS) and\n[CONTRIBUTORS](https://github.com/periph/host/blob/main/CONTRIBUTORS).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperiph%2Fhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperiph%2Fhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperiph%2Fhost/lists"}