{"id":32307871,"url":"https://github.com/woodemi/libusb.dart","last_synced_at":"2026-02-22T18:03:21.003Z","repository":{"id":44518081,"uuid":"336431822","full_name":"woodemi/libusb.dart","owner":"woodemi","description":"Dart wrapper via dart:ffi for https://github.com/libusb/libusb","archived":false,"fork":false,"pushed_at":"2022-08-22T16:02:20.000Z","size":1627,"stargazers_count":34,"open_issues_count":8,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-20T22:29:58.807Z","etag":null,"topics":["dart","flutter","libusb"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/woodemi.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}},"created_at":"2021-02-06T01:43:30.000Z","updated_at":"2023-08-20T22:29:58.808Z","dependencies_parsed_at":"2022-08-31T03:50:27.141Z","dependency_job_id":null,"html_url":"https://github.com/woodemi/libusb.dart","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"purl":"pkg:github/woodemi/libusb.dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodemi%2Flibusb.dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodemi%2Flibusb.dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodemi%2Flibusb.dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodemi%2Flibusb.dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woodemi","download_url":"https://codeload.github.com/woodemi/libusb.dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodemi%2Flibusb.dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29721057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"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":["dart","flutter","libusb"],"created_at":"2025-10-23T07:24:40.097Z","updated_at":"2026-02-22T18:03:20.995Z","avatar_url":"https://github.com/woodemi.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libusb\n\nDart wrapper via `dart:ffi` for https://github.com/libusb/libusb\n\n## Environment\n\n- Windows(10)\n- macOS\n- Linux(Ubuntu 18.04 LTS)\n\n## Usage\n\nCheckout example\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: http://example.com/issues/replaceme\n\n## Build\n\n### Prepare llvm(9+)\n\n- Windows: `winget install -e --id LLVM.LLVM`\n- macOS: `brew install llvm`\n- Linux: `sudo apt install libclang-10-dev`\n\n### Build libusb_xxx.dart\n\n- Windows/Linux:\n\n```\npub run ffigen\nmove lib/libusb.dart lib/libusb64.dart\n```\n\nRefactor `timeval` to `timeval64`\n\n- macOS:\n\n```\npub run ffigen\nmv lib/libusb.dart lib/libusb32.dart\n```\n\nRefactor `timeval` to `timeval32`\n\n## Contribute\n\n### Prepare libusb.h\n\nDownload `xxx` verion from `https://github.com/libusb/libusb/releases` and extract `libusb.h`\n\n### Prepare libusb-1.0 dynamic library\n\n- Windows:\n\nDownload `xxx` version from https://github.com/libusb/libusb/releases and extract\n\n```\ncopy libusb-1.0.23\\MS64\\dll\\libusb-1.0.dll libusb-1.0\\\n```\n\n- macOS:\n\nDownload `xxx` version from https://homebrew.bintray.com/bottles/libusb-1.0.23.catalina.bottle.tar.gz and extract\n\n```\ncp libusb/1.0.23/lib/libusb-1.0.dylib libusb-1.0/\n```\n\n- Linux:\n\nDownload `xxx` version from http://old.kali.org/kali/pool/main/libu/libusb-1.0/ and install\n\n```\ncp /lib/x86_64-linux-gnu/libusb-1.0.so.0.xxx libusb-1.0/libusb-1.0.so\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodemi%2Flibusb.dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoodemi%2Flibusb.dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodemi%2Flibusb.dart/lists"}