{"id":17869255,"url":"https://github.com/angular-a11y/voicecapture-angular","last_synced_at":"2026-01-16T15:22:38.401Z","repository":{"id":258715520,"uuid":"875420408","full_name":"angular-a11y/voicecapture-angular","owner":"angular-a11y","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-15T04:58:53.000Z","size":1717,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-15T11:36:43.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://voicecapture-angular.web.app","language":"TypeScript","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/angular-a11y.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-19T23:32:07.000Z","updated_at":"2026-01-15T04:55:38.000Z","dependencies_parsed_at":"2024-10-28T10:22:06.218Z","dependency_job_id":"a44ae956-b526-480a-9012-6f874324da9f","html_url":"https://github.com/angular-a11y/voicecapture-angular","commit_stats":null,"previous_names":["angular-a11y/voicewave-angular","angular-a11y/voicecapture-angular"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/angular-a11y/voicecapture-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-a11y%2Fvoicecapture-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-a11y%2Fvoicecapture-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-a11y%2Fvoicecapture-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-a11y%2Fvoicecapture-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular-a11y","download_url":"https://codeload.github.com/angular-a11y/voicecapture-angular/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-a11y%2Fvoicecapture-angular/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2024-10-28T10:01:15.272Z","updated_at":"2026-01-16T15:22:38.215Z","avatar_url":"https://github.com/angular-a11y.png","language":"TypeScript","readme":"# voicecapture-angular\n\n`voicecapture-angular` is an Angular library designed to provide seamless voice capture and transcription capabilities for web applications. With an easy-to-use API, `voicecapture-angular` allows developers to integrate voice recognition features effortlessly, enabling users to interact with applications using their voice. The library offers customizable options for handling voice input and transcription, making it a flexible solution for enhancing user interfaces.\n\n## Installation\n\nTo install `voicecapture-angular`, run the following command:\n\n```bash\nnpm install voicecapture-angular\n```\n\n## Usage Example\n\n```typescript\nimport { Component } from '@angular/core';\nimport { signal, WritableSignal } from 'signals';\nimport { VoiceCapture } from 'voicecapture-angular';\n\n@Component({\n  selector: 'app-voicecapture-example',\n  templateUrl: './voicecapture-example.component.html',\n})\nexport class VoiceCaptureExampleComponent {\n  isVoiceCaptureExample: WritableSignal\u003cboolean\u003e = signal(false);\n  voiceTextTranscript!: string;\n\n  openVoiceCapture() {\n    this.isVoiceCaptureExample.set(true);\n  }\n\n  returnVoiceTranscript(transcript: string) {\n    this.voiceTextTranscript = transcript;\n  }\n}\n```\n\n### HTML Template\n\n```html\n\u003cbutton (click)=\"openVoiceCapture()\"\u003e\n  Open VoiceCapture Example\n\u003c/button\u003e\n\n\u003cvoicecapture-angular\n  [start]=\"isVoiceCaptureExample\"\n  [clipboard]=\"true\"\n  (voiceTranscript)=\"returnVoiceTranscript($event)\"\n/\u003e\n\n@if(voiceTextTranscript) {\n  \u003ch2\u003eTranscript Results\u003c/h2\u003e\n  \u003cp\u003e{{ voiceTextTranscript }}\u003c/p\u003e\n  \u003clabel for=\"voiceTextInput\"\u003eInput Example:\u003c/label\u003e\n  \u003cinput\n    id=\"voiceTextInput\"\n    type=\"text\"\n    [(ngModel)]=\"voiceTextTranscript\"\n    placeholder=\"Texto do Voice Transcript\"\n  /\u003e\n\n  \u003ctextarea\n    id=\"voiceTextArea\"\n    [(ngModel)]=\"voiceTextTranscript\"\n    placeholder=\"Texto do Voice Transcript\"\n  \u003e\u003c/textarea\u003e\n\n  \u003cbutton (click)=\"alertExampleButton()\"\u003e\n    {{ voiceTextTranscript }}\n  \u003c/button\u003e\n}\n```\n\n## Component Setup\n\nIn the `VoiceCaptureExampleComponent`, a `WritableSignal\u003cboolean\u003e` named `isVoiceCaptureExample` is defined and initialized to `false`. The `openVoiceCapture` method sets `isVoiceCaptureExample` to `true`, triggering the voice capture process. The `enableClipboard` property is used to enable clipboard integration.\n\n## Inputs\n\n| Input       | Type                  | Default     | Description                                                                                  |\n|-------------|-----------------------|-------------|----------------------------------------------------------------------------------------------|\n| `start`     | `WritableSignal\u003cboolean\u003e` | `false`     | Controls the initiation of voice capture.                                                    |\n| `lang`      | `string`              | `\"en\"`      | Specifies the language for speech recognition (e.g., `\"pt\"` for Portuguese).                |\n| `mode`      | `string`              | `\"fullscreen\"` | Defines the display mode: `\"float\"` for inline, `\"fullscreen\"` for full-screen.              |\n| `clipboard` | `boolean`             | `false`     | Enables copying the final transcript text to the clipboard automatically.                    |\n\n### Example with Clipboard:\n\n```html\n\u003cvoicecapture-angular [start]=\"isVoiceCaptureExample\" [clipboard]=\"true\" /\u003e\n```\n\n## Outputs\n\n| Output              | Payload     | Description                                                                                     |\n|---------------------|-------------|-------------------------------------------------------------------------------------------------|\n| `voiceTranscript`   | `string`    | Emitted with the transcribed voice input.                                                       |\n\n## Features\n\n- **Real-time Voice Transcription**: Instantly capture and display voice input as text.\n- **Editable Transcripts**: Users can modify the transcribed text through input fields or text areas.\n- **Clipboard Integration**: Automatically copies the final transcript to the clipboard, streamlining user workflows.\n- **Customizable Events**: Easily handle transcription results with customizable output events.\n","funding_links":[],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Oct 26, 2024](/content/2024/10/26/README.md)","Media"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-a11y%2Fvoicecapture-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular-a11y%2Fvoicecapture-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-a11y%2Fvoicecapture-angular/lists"}