{"id":21835671,"url":"https://github.com/streamlinedevelopers/test-vapivoice","last_synced_at":"2026-04-18T09:40:31.798Z","repository":{"id":265079571,"uuid":"853963185","full_name":"StreamlineDevelopers/test-vapiVoice","owner":"StreamlineDevelopers","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-27T14:02:53.000Z","size":186,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T14:24:42.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/StreamlineDevelopers.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-09-08T02:54:21.000Z","updated_at":"2024-11-27T14:04:00.000Z","dependencies_parsed_at":"2024-11-27T19:18:34.900Z","dependency_job_id":null,"html_url":"https://github.com/StreamlineDevelopers/test-vapiVoice","commit_stats":null,"previous_names":["szyrelleg-tmq/test-vapivoice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StreamlineDevelopers/test-vapiVoice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamlineDevelopers%2Ftest-vapiVoice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamlineDevelopers%2Ftest-vapiVoice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamlineDevelopers%2Ftest-vapiVoice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamlineDevelopers%2Ftest-vapiVoice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StreamlineDevelopers","download_url":"https://codeload.github.com/StreamlineDevelopers/test-vapiVoice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreamlineDevelopers%2Ftest-vapiVoice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31964541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":[],"created_at":"2024-11-27T20:23:29.150Z","updated_at":"2026-04-18T09:40:31.779Z","avatar_url":"https://github.com/StreamlineDevelopers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vapi Voice Selection Component\n\n## Overview\nThis React component provides a voice selection interface for a Vapi-powered voice assistant. Users can choose from predefined voice options and initiate the voice assistant.\n\n## Features\n- Voice selection dropdown\n- Dynamic voice option loading from JSON\n- Integration with Vapi AI voice assistant\n- Asynchronous voice assistant start functionality\n\n## Prerequisites\n- React 16.8+ (with Hooks support)\n- @vapi-ai/web library\n- voiceOptions.json configuration file\n\n## Installation\n1. Install dependencies:\n```bash\nnpm install react @vapi-ai/web\n```\n\n2. Ensure you have a `voiceOptions.json` file with the following structure:\n```json\n{\n  \"options\": [\n    {\n      \"label\": \"Voice Name\",\n      \"value\": {...voice configuration}\n    }\n  ]\n}\n```\n\n## Configuration\n- Replace `\"api-key\"` with your Vapi API key\n- Update the Vapi assistant ID `\"assistantid\"`\n- Modify the voice update endpoint URL as needed\n\n## Environment Variables\nRecommended to store sensitive information like API keys in `.env` files:\n```\nREACT_APP_VAPI_API_KEY=your_vapi_api_key\nREACT_APP_ASSISTANT_ID=your_assistant_id\n```\n\n## Usage\n```jsx\nimport SelectOption from './SelectOption';\n\nfunction App() {\n  return (\n    \u003cdiv\u003e\n      \u003cSelectOption /\u003e\n    \u003c/div\u003e\n  );\n}\n```\n\n## Error Handling\n- Requires voice selection before starting assistant\n- Handles API request errors\n- Disables start button during loading\n\n## Dependencies\n- React\n- Vapi Web SDK\n- Tailwind CSS (for styling)\n\n## License\n[Add your license information]\n\n## Author\n[Your Name/Organization]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlinedevelopers%2Ftest-vapivoice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlinedevelopers%2Ftest-vapivoice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlinedevelopers%2Ftest-vapivoice/lists"}