{"id":34125924,"url":"https://github.com/gotmc/libusb","last_synced_at":"2025-12-14T23:24:40.320Z","repository":{"id":33581894,"uuid":"37228299","full_name":"gotmc/libusb","owner":"gotmc","description":"Go bindings for the C libusb library.","archived":false,"fork":false,"pushed_at":"2025-08-11T17:13:29.000Z","size":7120,"stargazers_count":99,"open_issues_count":0,"forks_count":32,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-11T17:26:07.213Z","etag":null,"topics":["godoc","libusb","libusb-library","usb"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gotmc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-06-10T23:35:27.000Z","updated_at":"2025-08-11T17:13:32.000Z","dependencies_parsed_at":"2025-08-11T17:16:17.367Z","dependency_job_id":"f81de967-70b3-4d5a-9362-1292c40d6279","html_url":"https://github.com/gotmc/libusb","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/gotmc/libusb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmc%2Flibusb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmc%2Flibusb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmc%2Flibusb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmc%2Flibusb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotmc","download_url":"https://codeload.github.com/gotmc/libusb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmc%2Flibusb/sbom","scorecard":{"id":442045,"data":{"date":"2025-08-11","repo":{"name":"github.com/gotmc/libusb","commit":"b1290eb56e5e37d457098c6f23d499a612beec3e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"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":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Maintained","score":9,"reason":"11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9","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":-1,"reason":"no workflows found","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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"}},{"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"}}]},"last_synced_at":"2025-08-19T05:48:11.620Z","repository_id":33581894,"created_at":"2025-08-19T05:48:11.620Z","updated_at":"2025-08-19T05:48:11.620Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27739052,"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-12-14T02:00:11.348Z","response_time":56,"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":["godoc","libusb","libusb-library","usb"],"created_at":"2025-12-14T23:24:39.790Z","updated_at":"2025-12-14T23:24:40.314Z","avatar_url":"https://github.com/gotmc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libusb\n\nGo bindings for the [libusb C library][libusb-c].\n\n[![GoDoc][godoc badge]][godoc link]\n[![Go Report Card][report badge]][report card]\n[![License Badge][license image]][LICENSE.txt]\n\n# Installation\n\n```bash\n$ go get github.com/gotmc/libusb/v2\n```\n\n## Installing C libusb library\n\nTo use [libusb][] package, you'll need to install the [libusb C\nlibrary][libusb-c] first.\n\n### macOS\n\n```bash\n$ brew install libusb\n```\n\n### Windows\n\nDownload and install the latest Windows libusb binaries from\n[libusb.info][libusb-c].\n\n### Linux\n\n```bash\n$ sudo apt-get install -y libusb-dev libusb-1.0-0-dev\n```\n\n# Documentation\n\nDocumentation can be found at either:\n\n- \u003chttps://godoc.org/github.com/gotmc/libusb\u003e\n- \u003chttp://localhost:6060/pkg/github.com/gotmc/libusb/\u003e after running `$\ngodoc -http=:6060`\n\n## Contributing\n\nContributions are welcome! To contribute please:\n\n1. Fork the repository\n2. Create a feature branch\n3. Code\n4. Submit a [pull request][]\n\n### Testing\n\nPrior to submitting a [pull request][], please run:\n\n```bash\n$ just check\n$ just lint\n$ just unit\n```\n\nTo update and view the test coverage report:\n\n```bash\n$ just cover\n```\n\nNote: This project uses [Just][] as a command runner. To install Just, please\nsee the [installation instructions][just-install].\n\n## Alternatives\n\nThere are other USB Go libraries besides [libusb][]. Below are a few\nalternatives:\n\n- [google/gousb][] — Wraps the [libusb C library][libusb-c] to provde\n  Go-bindings. This library supersedes [kylelemons/gousb][], which was archived\n  in August 2020. Apache-2.0 license.\n- [karalabe/usb][] — Does not require the [libusb C library][libusb-c] to be\n  installed. Written in C to be a cross platform, fully self-contained library\n  for accessing and communicating with USB devices either via HID or low level\n  interrupts. LGPL-3.0 license.\n- [deadsy/libusb][] — Wraps the [libusb C library][libusb-c]. MIT license. As of\n  12-Aug-25, this package hasn't been updated in seven years.\n\n## License\n\n[libusb][] is released under the MIT license. Please see the\n[LICENSE.txt][] file for more information.\n\n[deadsy/libusb]: https://github.com/deadsy/libusb\n[godoc badge]: https://godoc.org/github.com/gotmc/libusb?status.svg\n[godoc link]: https://godoc.org/github.com/gotmc/libusb\n[google/gousb]: https://github.com/google/gousb\n[Just]: https://github.com/casey/just\n[just-install]: https://github.com/casey/just#installation\n[karalabe/usb]: https://github.com/karalabe/usb\n[kylelemons/gousb]: https://github.com/kylelemons/gousb\n[libusb]: https://github.com/gotmc/libusb\n[libusb-c]: http://libusb.info\n[LICENSE.txt]: https://github.com/gotmc/libusb/blob/master/LICENSE.txt\n[license image]: https://img.shields.io/badge/license-MIT-blue.svg\n[pull request]: https://help.github.com/articles/using-pull-requests\n[report badge]: https://goreportcard.com/badge/github.com/gotmc/libusb\n[report card]: https://goreportcard.com/report/github.com/gotmc/libusb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotmc%2Flibusb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotmc%2Flibusb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotmc%2Flibusb/lists"}