{"id":21573561,"url":"https://github.com/falkern/py-assistant","last_synced_at":"2025-06-15T01:34:01.910Z","repository":{"id":259864124,"uuid":"879670335","full_name":"Falkern/py-assistant","owner":"Falkern","description":"A Python-based Text-to-Speech and Speech Recognition CLI tool. ","archived":false,"fork":false,"pushed_at":"2024-10-28T10:50:45.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T13:16:06.060Z","etag":null,"topics":["cli","command-line-tool","open-source","python","voice","voice-assistant","voice-recognition"],"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/Falkern.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-10-28T10:45:35.000Z","updated_at":"2024-10-28T10:52:16.000Z","dependencies_parsed_at":"2024-10-28T14:04:49.424Z","dependency_job_id":"8711efb9-adef-456e-baa0-bc6c33bc953f","html_url":"https://github.com/Falkern/py-assistant","commit_stats":null,"previous_names":["falkern/vc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fpy-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fpy-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fpy-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Falkern%2Fpy-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Falkern","download_url":"https://codeload.github.com/Falkern/py-assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244168363,"owners_count":20409506,"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":["cli","command-line-tool","open-source","python","voice","voice-assistant","voice-recognition"],"created_at":"2024-11-24T12:07:23.297Z","updated_at":"2025-03-18T06:27:17.930Z","avatar_url":"https://github.com/Falkern.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyAssistant\n\nPyAssistant is a Python-based Text-to-Speech (TTS) and Speech Recognition CLI tool. It allows users to interact with the system using voice commands, and it can respond with spoken text. This CLI tool can tell jokes, provide weather information, and repeat what the user says.\n\n## Features\n\n- **Voice Interaction**: Recognizes and processes voice commands.\n- **Text-to-Speech**: Converts text to speech using different voices and adjustable speech rates.\n- **Jokes**: Tells a predefined joke when prompted.\n- **Weather Information**: Fetches and speaks the current weather for a specified city.\n- **Logging**: Logs all interactions to a file.\n\n## Requirements\n\n- Python 3.x\n- `speech_recognition` library\n- `pyttsx3` library\n- `requests` library\n- `python-dotenv` library\n- Microphone for voice input\n- Internet connection for weather information\n\n## Installation\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/Falkern/py-assistant.git\n   cd py-assistant\n   ```\n\n2. Install the required libraries:\n\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n3. Create a `.env` file in the project directory and add your OpenWeatherMap API key:\n   ```\n   API_KEY=your_openweathermap_api_key\n   ```\n\n## Usage\n\n1. Run the application:\n\n   ```sh\n   python tts.py\n   ```\n\n2. Follow the prompts to select a voice and set the speech rate.\n\n3. Speak into the microphone when prompted. The application will recognize your speech and respond accordingly.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- [SpeechRecognition](https://pypi.org/project/SpeechRecognition/)\n- [pyttsx3](https://pypi.org/project/pyttsx3/)\n- [OpenWeatherMap](https://openweathermap.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalkern%2Fpy-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalkern%2Fpy-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalkern%2Fpy-assistant/lists"}