{"id":17364730,"url":"https://github.com/tejasq/react-praise","last_synced_at":"2026-02-27T11:02:10.040Z","repository":{"id":47999307,"uuid":"135816284","full_name":"TejasQ/react-praise","owner":"TejasQ","description":"A React binding for Praise.","archived":false,"fork":false,"pushed_at":"2022-12-09T09:42:24.000Z","size":253,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T13:44:39.719Z","etag":null,"topics":["react","speech-recognition","web-speech-api"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/TejasQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-02T12:35:35.000Z","updated_at":"2023-03-10T09:08:46.000Z","dependencies_parsed_at":"2023-01-25T21:01:06.366Z","dependency_job_id":null,"html_url":"https://github.com/TejasQ/react-praise","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/TejasQ%2Freact-praise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TejasQ%2Freact-praise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TejasQ%2Freact-praise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TejasQ%2Freact-praise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TejasQ","download_url":"https://codeload.github.com/TejasQ/react-praise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991531,"owners_count":21194893,"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":["react","speech-recognition","web-speech-api"],"created_at":"2024-10-15T20:43:27.756Z","updated_at":"2026-02-27T11:02:05.003Z","avatar_url":"https://github.com/TejasQ.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-praise\n\n\u003e Do React things with your voice.\n\nThis is a project that binds the (experimental) [voice-invoked function tool, Praise](https://github.com/tejasq/praise), with React, allowing a user to use [SpeechRecognition](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition) within [React](https://reactjs.org/). Please keep in mind that this API _is_ experimental and that this tool comes with all of the standard caveats of Praise.\n\n## Getting Started\n\n* `yarn add praise react-praise` to your already existing React app.\n\n## Usage\n\nreact-praise gives you a component whose children get the return value of a voice-invoked function. For example, here's how you can display everything a user says.\n\n[![Edit react-praise demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/rvr80nr9m)\n\n```jsx\nimport React from \"react\";\nimport { render } from \"react-dom\";\nimport Praise from \"react-praise\";\n\nconst myPhrases = {\n  \"*\": phrase =\u003e \"You said \" + phrase\n};\n\nconst MyAppWithVoice = props =\u003e (\n  \u003cPraise phrases={myPhrases}\u003e{output =\u003e \u003ch2\u003e{output}\u003c/h2\u003e}\u003c/Praise\u003e\n);\n\nrender(\u003cMyAppWithVoice /\u003e, document.getElementById(\"root\"));\n```\n\n### Options\n\nreact-praise supports all of the options that [Praise](https://github.com/tejasq/praise) does, but as props; React-style.\n\n## Examples\n\n* [JSConf EU 2018 Slides](https://github.com/tejasq/jsconf-eu-2018-slides) by me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejasq%2Freact-praise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejasq%2Freact-praise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejasq%2Freact-praise/lists"}