{"id":43753669,"url":"https://github.com/charithe/porcupine-go","last_synced_at":"2026-02-05T14:16:17.596Z","repository":{"id":57494005,"uuid":"154008330","full_name":"charithe/porcupine-go","owner":"charithe","description":"Go wrapper for PicoVoice Porcupine wake-word detection engine","archived":false,"fork":false,"pushed_at":"2018-11-11T15:50:56.000Z","size":1298,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T02:24:01.038Z","etag":null,"topics":["audio-analysis","cgo","go","golang","hotword-detection","porcupine","voice-commands","voice-control","wake-word-detection"],"latest_commit_sha":null,"homepage":null,"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/charithe.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-10-21T12:56:44.000Z","updated_at":"2023-11-03T22:17:54.000Z","dependencies_parsed_at":"2022-09-02T01:40:13.228Z","dependency_job_id":null,"html_url":"https://github.com/charithe/porcupine-go","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/charithe/porcupine-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charithe%2Fporcupine-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charithe%2Fporcupine-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charithe%2Fporcupine-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charithe%2Fporcupine-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charithe","download_url":"https://codeload.github.com/charithe/porcupine-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charithe%2Fporcupine-go/sbom","scorecard":{"id":274161,"data":{"date":"2025-08-11","repo":{"name":"github.com/charithe/porcupine-go","commit":"19a2de49b71363e6b80bd0eda16ce18e8eb80c02"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/6 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":"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":-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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":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"}}]},"last_synced_at":"2025-08-17T14:03:28.533Z","repository_id":57494005,"created_at":"2025-08-17T14:03:28.533Z","updated_at":"2025-08-17T14:03:28.533Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29123675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"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":["audio-analysis","cgo","go","golang","hotword-detection","porcupine","voice-commands","voice-control","wake-word-detection"],"created_at":"2026-02-05T14:16:16.874Z","updated_at":"2026-02-05T14:16:17.589Z","avatar_url":"https://github.com/charithe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go Wrapper For Picovoice Porcupine\n===================================\n\n[![GoDoc](https://godoc.org/github.com/charithe/porcupine-go?status.svg)](https://godoc.org/github.com/charithe/porcupine-go)\n\nA Go wrapper for the [Picovoice Porcupine](https://github.com/Picovoice/Porcupine) wake-word detection engine.\n\n```\ngo get github.com/charithe/porcupine-go\n```\n\nRequires the `pv_porcupine` library to be available in the `LD_LIBRARY_PATH` and `pv_porcupine.h` to be in the include path.\nFor example, on 64-bit Linux:\n\n```shell\ncp Porcupine/lib/linux/x86_64/* /usr/local/lib64/\ncp Porcupine/include/* /usr/local/include\n```\n\nDemo\n----\n\nThe demo application reads a 16-bit PCM S16LE stream from stdin and prints out the detected words to the console.\nAccepted command-line argument are as follows:\n\n```\n  -input string\n        Path to read input audio from (PCM 16-bit LE) (default \"-\")\n  -keyword value\n        Colon separated keyword, data file and sensitivity values (Eg. pineapple:pineapple_linux.ppn:0.5)\n  -model_path string\n        Path to the Porcupine model\n```\n\n### Single Keyword\n\nThe following invocation detects the word \"pineapple\" from the default audio input source.\n\n```shell\ngst-launch-1.0 -v alsasrc ! audioconvert ! audioresample ! audio/x-raw,channels=1,rate=16000,format=S16LE ! filesink location=/dev/stdout | \\\n    go run cmd/demo/main.go \\\n    -model_path=resources/porcupine_params.pv \\\n    -keyword=pineapple:resources/pineapple_linux.ppn:0.5\n```\n\n### Multiple Keywords\n\nThe following invocation detects \"pineapple\", \"blueberry\" and \"grapefruit\" from the default audio input source.\n\n```shell\ngst-launch-1.0 -v alsasrc ! audioconvert ! audioresample ! audio/x-raw,channels=1,rate=16000,format=S16LE ! filesink location=/dev/stdout | \\\n    go run cmd/demo/main.go \\\n    -model_path=resources/porcupine_params.pv \\\n    -keyword=pineapple:resources/pineapple_linux.ppn:0.5 \\\n    -keyword=blueberry:resources/blueberry_linux.ppn:0.5 \\\n    -keyword=grapefruit:resources/grapefruit_linux.ppn:0.5\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharithe%2Fporcupine-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharithe%2Fporcupine-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharithe%2Fporcupine-go/lists"}