{"id":26359095,"url":"https://github.com/assemblyai/realtime-transcription-browser-js-example","last_synced_at":"2025-03-16T15:58:42.938Z","repository":{"id":41770432,"uuid":"389824522","full_name":"AssemblyAI/realtime-transcription-browser-js-example","owner":"AssemblyAI","description":"Demo of AssemblyAI's Real-Time Websocket API (In Browser with JavaScript)","archived":false,"fork":false,"pushed_at":"2024-02-20T18:54:32.000Z","size":32705,"stargazers_count":78,"open_issues_count":2,"forks_count":30,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-02-20T19:57:17.709Z","etag":null,"topics":[],"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/AssemblyAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-07-27T02:25:26.000Z","updated_at":"2024-02-15T08:30:56.000Z","dependencies_parsed_at":"2023-01-20T01:48:31.098Z","dependency_job_id":"27529fc2-b1ef-4c24-9646-4dd5383c7d53","html_url":"https://github.com/AssemblyAI/realtime-transcription-browser-js-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI%2Frealtime-transcription-browser-js-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI%2Frealtime-transcription-browser-js-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI%2Frealtime-transcription-browser-js-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI%2Frealtime-transcription-browser-js-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AssemblyAI","download_url":"https://codeload.github.com/AssemblyAI/realtime-transcription-browser-js-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893856,"owners_count":20364916,"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":[],"created_at":"2025-03-16T15:58:42.849Z","updated_at":"2025-03-16T15:58:42.921Z","avatar_url":"https://github.com/AssemblyAI.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AssemblyAI Real-Time Transcription Browser Example\n\nThis open-source repo provided by AssemblyAI displays how to use our real-time API in the browser!\n\nIn this app, we grab an audio stream from the user's computer and then send that over a WebSocket to AssemblyAI for real-time transcription. Once AssemblyAI begins transcribing, we display the text in the browser. This is accomplished using Express for our backend and the AudioWorklet to process the raw audio.\n\n## How To Install and Run the Project\n\n##### ❗Important❗\n\n- Before running this app, you need to upgrade your AssemblyAI account. The real-time API is only available to upgraded accounts at this time.\n- Running the app before upgrading will cause an **error with a 402 status code.** ⚠️\n- To upgrade your account you need to add a card. You can do that in your dashboard [here](https://app.assemblyai.com/)!\n\n##### Instructions\n\n1. Clone the repo to your local machine.\n2. Open a terminal in the main directory housing the project. In this case `realtime-transcription-browser-js-example`.\n3. Run `yarn install` to ensure all dependencies are installed.\n4. Create a .env file and set your AssemblyAI API key. Use the [.env.example](./.env.example) as a reference.\n5. Start the application with the command `yarn serve` (will run on port 8000).\n\n## Further Documentation\n\n- [AssemblyAI Real-Time Documentation](https://www.assemblyai.com/docs/speech-to-text/real-time)\n- [MDN AudioWorklet](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Using_AudioWorklet)\n- [Express](https://expressjs.com/)\n\n## Contact Us\n\nIf you have any questions, please feel free to reach out to our Support team - support@assemblyai.com!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemblyai%2Frealtime-transcription-browser-js-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassemblyai%2Frealtime-transcription-browser-js-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemblyai%2Frealtime-transcription-browser-js-example/lists"}