{"id":41624000,"url":"https://github.com/periph/cmd","last_synced_at":"2026-01-24T14:09:05.251Z","repository":{"id":45444895,"uuid":"322699772","full_name":"periph/cmd","owner":"periph","description":"Go·Hardware·Lean - Ready-to use tools","archived":false,"fork":false,"pushed_at":"2025-05-05T00:48:45.000Z","size":437,"stargazers_count":38,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T01:34:40.347Z","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:39:33.000Z","updated_at":"2025-05-05T00:48:48.000Z","dependencies_parsed_at":"2025-01-09T20:22:34.501Z","dependency_job_id":"844192f6-6b43-494c-ac63-2c0b11b3dc28","html_url":"https://github.com/periph/cmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/periph/cmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fcmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fcmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fcmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fcmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/periph","download_url":"https://codeload.github.com/periph/cmd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/periph%2Fcmd/sbom","scorecard":{"id":727904,"data":{"date":"2025-08-11","repo":{"name":"github.com/periph/cmd","commit":"e26d4877ae65b09e611d683cc2a31dfeea9f82da"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":1,"reason":"Found 5/30 approved changesets -- score normalized to 1","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":"Maintained","score":0,"reason":"0 commit(s) and 0 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":"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":"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":"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":"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":"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":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:38: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/cmd/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/cmd/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/cmd/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/cmd/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/cmd/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:237: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/cmd/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:238: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/cmd/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:242: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/cmd/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:246: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/cmd/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:248: update your workflow using https://app.stepsecurity.io/secureworkflow/periph/cmd/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:   0 out of   7 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: 4 commits out of 7 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:45.251Z","repository_id":45444895,"created_at":"2025-08-22T13:25:45.251Z","updated_at":"2025-08-22T13:25:45.251Z"},"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":[],"created_at":"2026-01-24T14:09:04.232Z","updated_at":"2026-01-24T14:09:05.247Z","avatar_url":"https://github.com/periph.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"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/cmd)](https://pkg.go.dev/periph.io/x/cmd)\n\n\n# cmd - ready-to-use executables\n\nThis directory contains directly usable tools installable via:\n\n```\ngo install periph.io/x/cmd/...@latest\n```\n\n\n## Push\n\nIf you prefer to build on your workstation and push the binaries to the micro\ncomputer, install `push` from [periph.io/x/bootstrap](\nhttps://github.com/periph/bootstrap) to cross compile and efficiently push via\nrsync:\n\n```\ngo install periph.io/x/bootstrap/cmd/push@latest\npush -host pi@raspberrypi periph.io/x/cmd/...\n```\n\n\n## Recommended first use\n\nTry first `periph-info`. It will print out if any driver failed to run, for\nexample if you have to run as root to access certain drivers.\n\nThen run `headers-list` to list all the headers on your board and confirm that\nyou get the expected output. If your board is missing, you can [contribute\nit](https://periph.io/project/contributing/).\n\n\n## Devices\n\n- [apa102](apa102): Writes to a LED strip of APA-102 (sometimes called Dotstar).\n  Can show an image animating on the Y axis.\n- [bmxx80](bmxx80): Reads the temperature, pressure and humidity off a\n  bmp180/bme280/bmp280. Humidity sensing is only supported on bme280.\n- [cap1xxx](cap1xxx): Reads the capacitive sensor family.\n- [ir](ir): Reads codes (button presses) on an InfraRed remote sensor.\n- [led](led): Reads the state of on-board LEDs.\n- [ssd1306](ssd1306): Writes text, an image or an animated GIF to an OLED\n  display.\n- [tm1637](tm1637): Writes to a segment digits display.\n\n\n## Buses\n\n- [gpio-list](gpio-list): Looking for the GPIO pins per functionality?\n  Prints the state of each GPIO pin.\n- [gpio-read](gpio-read): Read the input value of a GPIO pin and change\n  input resistor.\n- [gpio-write](gpio-write): Change the output value of a GPIO pin.\n- [headers-list](headers-list): Pinrts the location of the pin on the header to\n  connect your GPIO. This is the perfect tool to know where to connect the\n  wires.\n- [i2c-io](i2c-io): Reads and/or writes to an I²C device.\n- [i2c-list](i2c-list): Lists which I²C buses are enabled and where the pins\n  are.\n- [spi-io](spi-io): Reads and/or writes to an SPI device.\n- [spi-list](spi-list): Lists which SPI ports are enabled and where the pins\n  are.\n\n\n## Other\n\n- [periph-info](periph-info): Lists which periph drivers loaded and which\n  failed.\n- [periph-smoketest](periph-smoketest): Runs one of the smoke test for the\n  drivers. The smoke test differs from unit tests as they require real hardware\n  to confirm that the driver being tested works.\n- [videosink](videosink): Demonstrates how to provide display contents to HTTP\n  clients.\n\n\n## Troubleshooting\n\nHaving trouble getting the tools to run? File [an\nissue](https://github.com/periph/cmd/issues) or better visit the [Slack\nchannel](https://gophers.slack.com/messages/periph/). You can get an [invite\nhere](https://invite.slack.golangbridge.org/).\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/cmd/blob/main/AUTHORS) and\n[CONTRIBUTORS](https://github.com/periph/cmd/blob/main/CONTRIBUTORS).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperiph%2Fcmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperiph%2Fcmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperiph%2Fcmd/lists"}