{"id":19032838,"url":"https://github.com/nomadsdev/verbal-control","last_synced_at":"2026-05-03T18:30:18.404Z","repository":{"id":255150392,"uuid":"848692494","full_name":"nomadsdev/verbal-control","owner":"nomadsdev","description":"VerbalControl is a Python tool that runs system commands based on voice commands. It uses speech recognition to listen for specific phrases and execute corresponding commands, streamlining task automation with voice control.","archived":false,"fork":false,"pushed_at":"2024-08-29T03:16:34.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T04:28:54.366Z","etag":null,"topics":["automation","command-execution","command-line-interface","microphone","python","speech-recognition","speech-to-text","voice-command","voice-control"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nomadsdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-28T08:23:38.000Z","updated_at":"2024-08-29T03:16:38.000Z","dependencies_parsed_at":"2024-08-28T09:47:38.995Z","dependency_job_id":"ff14ec95-7d7d-4d2f-ac31-1c1f782f02da","html_url":"https://github.com/nomadsdev/verbal-control","commit_stats":null,"previous_names":["nomadsdev/verbal-control"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fverbal-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fverbal-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fverbal-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fverbal-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nomadsdev","download_url":"https://codeload.github.com/nomadsdev/verbal-control/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240082974,"owners_count":19745327,"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":["automation","command-execution","command-line-interface","microphone","python","speech-recognition","speech-to-text","voice-command","voice-control"],"created_at":"2024-11-08T21:31:56.727Z","updated_at":"2026-05-03T18:30:18.365Z","avatar_url":"https://github.com/nomadsdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VerbalControl \n \n**VerbalControl** is a Python-based project that allows users to control system commands using voice commands. It listens for specific voice phrases and executes predefined commands based on the recognized phrases. \n \n## Features \n \n- **Voice Command Recognition:** Utilizes Google's Speech Recognition API to understand spoken commands. \n- **Command Execution:** Executes system commands as specified in a configuration file. \n- **Customizable Commands:** Commands and trigger phrases are configurable via text files. \n- **Command Logging:** Logs executed commands to a file for history tracking. \n- **Error Handling:** Includes basic error handling for speech recognition and command execution. \n \n## Installation \n \n1. **Clone the repository:** \n```bash \ngit clone https://github.com/nomadsdev/verbal-control.git \n``` \n \n2. **Navigate to the project directory:** \n```bash \ncd verbal-control \n``` \n \n3. **Install the required dependencies:** \n```bash \npip install -r requirements.txt \n``` \n \n## Configuration \n \n1. **Create `commands.txt`:** This file should contain the voice phrases that trigger the commands. Each phrase should be on a new line. \n```plaintext \nrun command \nexecute script \n``` \n \n2. **Create `command.config`:** This file should contain the system command(s) that you want to execute when a phrase is recognized. \n```plaintext \npython test.py \n``` \n \n3. **Create `config.json`:** This file should contain configuration settings for the project. \n```json \n{ \n\"phrases_file\": \"commands.txt\", \n\"command_file\": \"command.config\", \n\"language\": \"en-US\" \n} \n``` \n \n## Usage \n \n1. **Run the script:** \n```bash \npython voice_command.py \n``` \n \n2. **Speak one of the phrases listed in `commands.txt`.** If recognized, the corresponding command from `command.config` will be executed. \n \n## Command History \n- **Viewing Command History:** The script maintains a log of executed commands in `command_log.txt`. After each command execution, the history is updated. \n```bash \npython voice_command.py \n``` \n \n## Troubleshooting \n \n- **\"Sorry, I did not understand that.\"**: Ensure you are speaking clearly and that the microphone is functioning correctly. \n- **\"Error executing command:\"**: Verify that the command in `command.config` is correct and executable in your environment. \n- **\"Error reading from file:\"**: Check that your `commands.txt`, `command.config`, and `config.json` files are correctly formatted and present in the project directory. \n \n## Dependencies \n- `speech_recognition`: For recognizing spoken commands. \n- `pyaudio`: For accessing the microphone. \n- `subprocess`: For executing system commands. \n \nYou can install these dependencies via: \n```bash \npip install speech_recognition pyaudio \n``` \n \n## Contributing \nIf you would like to contribute to VerbalControl, please fork the repository and submit a pull request. Contributions are welcome! \n \n## License \nThis project is licensed under the MIT License. \n \n## Contact \nFor any questions or feedback, please reach out to support@jmmentertainment.com or open an issue on the GitHub repository. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomadsdev%2Fverbal-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnomadsdev%2Fverbal-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomadsdev%2Fverbal-control/lists"}