{"id":21492144,"url":"https://github.com/colddsam/speech2text-converter","last_synced_at":"2025-10-04T04:42:48.080Z","repository":{"id":213970656,"uuid":"735362567","full_name":"colddsam/Speech2Text-Converter","owner":"colddsam","description":"A React application that converts audio speech to text and passes it into a web service for processing.","archived":false,"fork":false,"pushed_at":"2023-12-30T14:35:33.000Z","size":4653,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T11:23:14.160Z","etag":null,"topics":["api","gemini","googlecloud","react","speech-to-text","translator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/colddsam.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}},"created_at":"2023-12-24T16:30:56.000Z","updated_at":"2023-12-26T21:08:13.000Z","dependencies_parsed_at":"2023-12-28T16:23:50.735Z","dependency_job_id":null,"html_url":"https://github.com/colddsam/Speech2Text-Converter","commit_stats":null,"previous_names":["colddsam/speech2text-converter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/colddsam/Speech2Text-Converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colddsam%2FSpeech2Text-Converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colddsam%2FSpeech2Text-Converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colddsam%2FSpeech2Text-Converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colddsam%2FSpeech2Text-Converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colddsam","download_url":"https://codeload.github.com/colddsam/Speech2Text-Converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colddsam%2FSpeech2Text-Converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266901,"owners_count":25958733,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","gemini","googlecloud","react","speech-to-text","translator"],"created_at":"2024-11-23T15:22:59.894Z","updated_at":"2025-10-04T04:42:48.062Z","avatar_url":"https://github.com/colddsam.png","language":"JavaScript","readme":" # Speech2Text Converter\n\nA React application that converts audio speech to text and passes it into a web service for processing.\n\n## Features\n\n* Convert audio speech to text using the Web Speech API.\n* Translate the text into a different language using the Google Translate API.\n* Generate a response to the text using the Google Generative AI API.\n* Copy the response to the clipboard.\n\n## Installation\n\n```\ngit clone https://github.com/colddsam/speech2text-converter.git\ncd speech2text-converter\nnpm install\n```\n\n## Usage\n\n1. Start the development server:\n\n```\nnpm start\n```\n\n2. Open http://localhost:3000 in your browser.\n\n3. Click the microphone button to start listening.\n\n4. Speak into the microphone.\n\n5. The text of what you said will appear in the text box.\n\n6. Click the translate button to translate the text into a different language.\n\n7. The translation will appear in the text box.\n\n8. Click the send button to generate a response to the text.\n\n9. The response will appear in the text box.\n\n10. Click the copy button to copy the response to the clipboard.\n\n## How it works\n\nThe application uses the Web Speech API to convert audio speech to text. The text is then translated into a different language using the Google Translate API. The translation is then passed to the Google Generative AI API to generate a response. The response is then displayed in the text box and can be copied to the clipboard.\n\n## Components\n\n### App.jsx\n\nThe main component of the application. It renders the user interface and handles the state of the application.\n\n* The `handleStartListening` function starts listening for audio input.\n* The `handleStopListening` function stops listening for audio input.\n* The `handleTranslateVoice` function translates the audio input into text.\n* The `handleTranslateText` function translates the text into a different language.\n* The `GenRes` function generates a response to the text.\n* The `handleCopy` function copies the text to the clipboard.\n\n### HoverButton.jsx\n\nA component that renders a button that displays a tooltip when hovered over.\n\n* The `setCurrentLanguage` function sets the current language of the application.\n\n### GenRes.jsx\n\nA component that generates a response to the text using the Google Generative AI API.\n\n* The `GenRes` function generates the response.\n\n## Contributing\n\nContributions are welcome! Please read the [contributing guidelines](https://github.com/your-username/speech2text-converter/blob/main/CONTRIBUTING.md) before submitting a pull request.\n\n## License\n\nThis project is licensed under the MIT License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolddsam%2Fspeech2text-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolddsam%2Fspeech2text-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolddsam%2Fspeech2text-converter/lists"}