Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@speechly/react-ui
Advanced tools
Website | Docs | Discussions | Blog | Podcast
Ready made Speechly UI components to build a reactive voice interface to a React or Next.js app.
If you want to build a custom interface for you web app, you may want to check out react-client library for direct access to Speechly API.
Make sure you have created and deployed a Speechly application. Take note of the App ID, you'll need it shortly.
You'll also need a React app. Use your existing app, or create a new one using:
npx create-react-app my-app
Install Speechly React client and Speechly React UI components:
npm install @speechly/react-client
npm install @speechly/react-ui
Import SpeechProvider
and wrap the app with it, passing the App ID of your Speechly application:
// index.js
import { SpeechProvider } from '@speechly/react-client';
<React.StrictMode>
<SpeechProvider appId="YOUR_APP_ID">
<App />
</SpeechProvider>
</React.StrictMode>
Import the required UI components and take them into use:
// App.js
import {
PushToTalkButton,
BigTranscript,
IntroPopup
} from "@speechly/react-ui";
function App() {
return (
<div className="App">
<BigTranscript placement="top" />
<PushToTalkButton placement="bottom" captureKey=" " />
<IntroPopup />
</div>
);
}
Start the development server:
npm run start
Navigate to http://localhost:3000 to see your app running!
FAQs
Speechly UI Components
The npm package @speechly/react-ui receives a total of 48 weekly downloads. As such, @speechly/react-ui popularity was classified as not popular.
We found that @speechly/react-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.