{"id":19245097,"url":"https://github.com/rxtoolkit/stt-deepgram","last_synced_at":"2026-06-10T20:31:32.807Z","repository":{"id":214799054,"uuid":"337544655","full_name":"rxtoolkit/stt-deepgram","owner":"rxtoolkit","description":"👂 RxJS operator for realtime speech-to-text (STT/S2T) using Deepgram speeh-to-text","archived":false,"fork":false,"pushed_at":"2024-02-16T18:39:24.000Z","size":3622,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T09:34:07.305Z","etag":null,"topics":["ai","fp","functional-programming","observables","package","reactive-programming","rxjs","speech-to-text","stt","transcription"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rxtoolkit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-02-09T21:43:59.000Z","updated_at":"2024-01-02T15:35:22.000Z","dependencies_parsed_at":"2023-12-30T22:09:19.002Z","dependency_job_id":"1c6dc408-8c09-4bdb-bac7-4f3bdd1f315e","html_url":"https://github.com/rxtoolkit/stt-deepgram","commit_stats":null,"previous_names":["rxtoolkit/stt-deepgram"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rxtoolkit/stt-deepgram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxtoolkit%2Fstt-deepgram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxtoolkit%2Fstt-deepgram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxtoolkit%2Fstt-deepgram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxtoolkit%2Fstt-deepgram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rxtoolkit","download_url":"https://codeload.github.com/rxtoolkit/stt-deepgram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxtoolkit%2Fstt-deepgram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34170162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["ai","fp","functional-programming","observables","package","reactive-programming","rxjs","speech-to-text","stt","transcription"],"created_at":"2024-11-09T17:26:37.764Z","updated_at":"2026-06-10T20:31:32.791Z","avatar_url":"https://github.com/rxtoolkit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @rxtk/stt-deepgram\n\u003e 👂 An RxJS operator for real-time speech-to-text (STT/S2T) streaming using the Deepgram speech-to-text API.\n\n```bash\nnpm i @rxtk/stt-deepgram\n```\n\n```bash\nyarn add @rxtk/stt-deepgram\n```\n\n⚠️ To run the Deepgram transcription pipeline, you will need to provide a deepgram username and password.\n\n⚠️ node.js only. This has not been tested on Browsers but it might be possible to make it work.  If you get it working, please make a PR!\n\n## Demo\nCreate a .env file with your `DEEPGRAM_PASSWORD` and `DEEPGRAM_USERNAME`:\n```bash\necho 'DEEPGRAM_PASSWORD=MYPASSWORD' \u003e\u003e .env\necho 'DEEPGRAM_USERNAME=MYUSERNAME' \u003e\u003e .env\n```\n\nRun the demo!\n```bash\nyarn build # you must build the code before running the demo\nyarn demo run\n```\n\n## API\n\n### `toDeepgram`\nStream audio speech data to transcription service via WebSocket and get transcripts back:\n```js\nimport {map} from 'rxjs/operators';\nimport {toDeepgram} from '@rxtk/stt-deepgram';\n\n// The pipeline can take a stream of audio chunks encoded as \n// LINEAR16 (PCM encoded as 16-bit integers) in the form of a Buffer\nconst buffer$ = pcmChunkEncodedAs16BitIntegers$.pipe(\n  map(chunk =\u003e Buffer.from(chunk, 'base64')),\n  toDeepgram({\n    username: process.env.DEEPGRAM_USERNAME,\n    password: process.env.DEEPGRAM_PASSWORD,\n  })\n);\nbuffer$.subscribe(console.log); // log transcript output\n```\n\n\u003e ⚠️ Pay attention to the endcoding of the audio data.  The operator only accepts PCM data encoded as 16-bit integers. For example, LINEAR16 encoding usually works.\n\n## Guides\n- [Introduction to audio data](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Audio_concepts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxtoolkit%2Fstt-deepgram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frxtoolkit%2Fstt-deepgram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxtoolkit%2Fstt-deepgram/lists"}