{"id":20926532,"url":"https://github.com/chenqianhe/vad-addon","last_synced_at":"2025-04-11T12:23:55.196Z","repository":{"id":65398158,"uuid":"588155096","full_name":"chenqianhe/VAD-addon","owner":"chenqianhe","description":"This repo provides an addon that can perform VAD model reasoning in nodes and electric environments, based on cmake-js and Fastdeploy. Silero VAD is a pre-trained enterprise-grade Voice Activity Detector.","archived":false,"fork":false,"pushed_at":"2023-09-23T03:02:44.000Z","size":182045,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T08:42:41.517Z","etag":null,"topics":["addon","electron","electron-addon","node-addon","nodejs","silero-vad","vad"],"latest_commit_sha":null,"homepage":"","language":"C++","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/chenqianhe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-12T13:10:04.000Z","updated_at":"2025-01-08T10:26:48.000Z","dependencies_parsed_at":"2024-11-18T20:56:08.562Z","dependency_job_id":null,"html_url":"https://github.com/chenqianhe/VAD-addon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenqianhe%2FVAD-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenqianhe%2FVAD-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenqianhe%2FVAD-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenqianhe%2FVAD-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenqianhe","download_url":"https://codeload.github.com/chenqianhe/VAD-addon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401406,"owners_count":21097328,"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","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":["addon","electron","electron-addon","node-addon","nodejs","silero-vad","vad"],"created_at":"2024-11-18T20:39:24.284Z","updated_at":"2025-04-11T12:23:55.177Z","avatar_url":"https://github.com/chenqianhe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"English | [简体中文](README_CN.md)\n\n# VAD-addon\n\nThis project provides an addon that can **perform VAD model reasoning in node and electron environments**, based on [cmake-js](https://github.com/cmake-js/cmake-js) and [Fastdeploy](https://github.com/PaddlePaddle/FastDeploy).\n[**Silero VAD**](https://github.com/snakers4/silero-vad) is a pre-trained enterprise-grade Voice Activity Detector. \n\nOur project supports Windows AMD64(x86_64), macOS x86_64, macOS arm64, Linux AMD64(x86_64), Linux aarch64(arm64).\n\n## Install\n\nThis project uses [**cmake**](https://cmake.org/) and [**npm**](https://www.npmjs.com/)(In Windows, we need [**Visual Studio**](https://visualstudio.microsoft.com) additionally). Go check them out if you don't have them locally installed.\n\n```bash\ngit clone https://github.com/chenqianhe/VAD-addon\n\ncd VAD-addon\n\nnpm install\n```\n\n### In Windows\n\n1. You can refer to [Visual Studio 2019 Create CMake project using C++ SDK](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/en/faq/use_sdk_on_windows.md#33-visual-studio-2019-create-cmake-project-using-c-sdk) for configuration.\n2. You can also use [Clion](https://www.jetbrains.com/clion/) to configure.\n\u003cdetails\u003e\n\u003csummary\u003eClion configuration\u003c/summary\u003e\n\u003cimg width=\"1425\" alt=\"image\" src=\"https://user-images.githubusercontent.com/54462604/213860521-5cf830ef-fa95-460f-8b0a-e44f95a56070.png\"\u003e\n\u003cimg alt=\"image\" src=\"https://user-images.githubusercontent.com/54462604/213860779-46da3900-88f2-408b-950b-5e920c4b744b.png\"\u003e\n\n\u003c/details\u003e\n\n## Usgae\n\n### Default for node addon\n\n```bash\nnpx gulp\n```\n\n### Electron addon\n\n1. Set the configuration according to the [relevant configuration of cmake-js](https://github.com/cmake-js/cmake-js#configuration)\n2. Run\n```bash\nnpx gulp\n```\n\n### Use cmake-js options\n\nThe cmake-js provides some [options](https://github.com/cmake-js/cmake-js#installation), and you can add it directly, just like using cmake-js.\n\n```bash\nnpx gulp [options]\n```\n\u003e Example(When using Clion, we usually need to appoint special cmake path)\n\u003e ```bash\n\u003e npx gulp -c xxx/cmake\n\u003e ```\n\n### Run example in node env\n```bash\nnode index.js\n```\n\u003e Result likes\n\u003e ```\n\u003e[\n\u003e  { start: '0.000000', end: '2.304000' },\n\u003e  { start: '5.056000', end: '7.680000' },\n\u003e  { start: '8.320001', end: '10.496000' }\n\u003e]\n\u003e```\n\n\n## Reference\n\n- [FastDeploy](https://github.com/PaddlePaddle/FastDeploy/)\n- [cmake-js](https://github.com/cmake-js/cmake-js/)\n- [silero-vad](https://github.com/snakers4/silero-vad)\n\n## LICENSE\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenqianhe%2Fvad-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenqianhe%2Fvad-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenqianhe%2Fvad-addon/lists"}