{"id":18247486,"url":"https://github.com/vagr9k/voicebot","last_synced_at":"2026-05-05T14:31:15.852Z","repository":{"id":42071389,"uuid":"173493103","full_name":"Vagr9K/VoiceBot","owner":"Vagr9K","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-22T16:41:56.000Z","size":327,"stargazers_count":0,"open_issues_count":25,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-09T05:03:26.846Z","etag":null,"topics":["discord","discord-bot","discord-js","hotword-detection","multithreading","n-api","nodejs","speech-recognition","speech-to-text","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vagr9K.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":"2019-03-02T20:01:01.000Z","updated_at":"2021-05-11T11:03:17.000Z","dependencies_parsed_at":"2022-08-12T04:01:16.659Z","dependency_job_id":null,"html_url":"https://github.com/Vagr9K/VoiceBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vagr9K/VoiceBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagr9K%2FVoiceBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagr9K%2FVoiceBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagr9K%2FVoiceBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagr9K%2FVoiceBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vagr9K","download_url":"https://codeload.github.com/Vagr9K/VoiceBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vagr9K%2FVoiceBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["discord","discord-bot","discord-js","hotword-detection","multithreading","n-api","nodejs","speech-recognition","speech-to-text","typescript"],"created_at":"2024-11-05T09:31:23.238Z","updated_at":"2026-05-05T14:31:15.832Z","avatar_url":"https://github.com/Vagr9K.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VoiceBot\n\nVoiceBot is a discord bot that support voice commands.\n\nInvite the bot to your channel and then pronounce `{keyword} play {song name}` to play your favorite song!\n\n## Demo\n\n[![Demo](https://img.youtube.com/vi/vRwp--RoJdo/0.jpg)](https://www.youtube.com/watch?v=vRwp--RoJdo)\n\nWhy `Terminator`? It seems to be the most consistently detected hotword.\n\nWhy `Mozart`? It's not copyrighted.\n\n## How does this work\n\nConsult [my blog post](https://vagr9k.me/using-n-api-for-high-performance-voice-command-detection-in-discord) about the design decisions if you're interested.\n\n## How to use\n\nNOTE: This project is in an alpha stage an relies on a native N-API module [native-voice-command-detector](https://github.com/Vagr9K/native-voice-command-detector) for high performance, multithreaded hotword detection and speech recognition. Consult [its documentation](https://github.com/Vagr9K/native-voice-command-detector#building) on how to build it.\n\nTo use the bot:\n\n- Setup a `.env` configuration file:\n\n  ```\n    DISCORD_BOT_TOKEN=YOUR_BOT_TOKEN\n    DISCORD_BOT_PREFIX='terminator ' # Or any other prefix used for text commands\n    YOUTUBE_API_KEY=YOUR_YOUTUBE_API_KEY # For searching songs\n    GCLOUD_SPEECH_TO_TEXT_API_KEY=YOUR_CLOUD_KEY # For native-voice-command-detector\n    PV_KEYWORD_PATH= # For native-voice-command-detector\n    PV_MODEL_PATH= # For native-voice-command-detector\n    PV_SENSITIVITY=0.5 # For native-voice-command-detector\n    MAX_VOICE_BUFFER_TTL=200 # For native-voice-command-detector\n    MAX_COMMAND_LENGTH=3000 # For native-voice-command-detector\n    MAX_COMMAND_SILENCE_LENGTH=1000 # For native-voice-command-detector\n  ```\n\n  Consult [native-voice-command-detector](https://github.com/Vagr9K/native-voice-command-detector) documentation for the explanation of the last parameters.\n\n- Install the dependencies via `yarn`\n- Launch the bot via `yarn start`\n\n## Copyright\n\nCopyright (c) 2019 Ruben Harutyunyan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagr9k%2Fvoicebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvagr9k%2Fvoicebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagr9k%2Fvoicebot/lists"}