{"id":20989277,"url":"https://github.com/assemblyai-community/realtime-react-example","last_synced_at":"2025-05-14T18:31:49.282Z","repository":{"id":243717979,"uuid":"712518937","full_name":"AssemblyAI-Community/realtime-react-example","owner":"AssemblyAI-Community","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-10T21:32:22.000Z","size":187,"stargazers_count":9,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-24T19:02:44.518Z","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/AssemblyAI-Community.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":"2023-10-31T16:17:30.000Z","updated_at":"2024-06-24T19:02:48.279Z","dependencies_parsed_at":"2024-06-10T21:26:02.080Z","dependency_job_id":"30d36c2a-9b9a-47e5-a084-40da05386857","html_url":"https://github.com/AssemblyAI-Community/realtime-react-example","commit_stats":null,"previous_names":["assemblyai-examples/realtime-react-example","assemblyai-community/realtime-react-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Frealtime-react-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Frealtime-react-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Frealtime-react-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Frealtime-react-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AssemblyAI-Community","download_url":"https://codeload.github.com/AssemblyAI-Community/realtime-react-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225305017,"owners_count":17453261,"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":"2024-11-19T06:24:23.469Z","updated_at":"2024-11-19T06:24:24.019Z","avatar_url":"https://github.com/AssemblyAI-Community.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AssemblyAI Real-Time Microphone Transcription-React Example\n\nThis open-source repo provided by AssemblyAI displays how to use our Real-time API with the React framework.\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, the app displays the text in the browser. This is accomplished using Express for our backend and React for our frontend.\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://www.assemblyai.com/app/)!\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 `real-time-react`.\n3. Run `npm install` to ensure all dependencies are installed.\n4. Add a `.env` file to the `server` folder. Add your AssemblyAI key to the `.env` file. You can find your API key on the \"Account\" page in your dashboard [here](https://www.assemblyai.com/app/account). Copy and paste it into the `.env` file replacing \"YOUR-PERSONAL-API-KEY\" with your own key:\n\n```\nASSEMBLYAI_API_KEY=\"YOUR-PERSONAL-API-KEY\"\n```\n\n5. Start the app with the command `npm start`. The app will run on port 3000. Open `http://localhost:3000/` in your browser and click \"Record\" to receive live transcription.\n\n## Further Documentation\n\n- [AssemblyAI Real-Time Documentation](https://www.assemblyai.com/docs/speech-to-text/streaming)\n- [recordrtc](https://www.npmjs.com/package/recordrtc)\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-community%2Frealtime-react-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassemblyai-community%2Frealtime-react-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemblyai-community%2Frealtime-react-example/lists"}