Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@venkatesh966/speech-text
Advanced tools
A React component seamlessly integrating audio-assistant functionality via the Web Speech API and OpenAI GPT. Users can interact naturally with the application through spoken commands, receiving responses as audio.
Readme
A React component seamlessly integrating audio-assistant functionality via the Web Speech API and OpenAI GPT. Users can interact naturally with the application through spoken commands, receiving responses as audio.
Install the module using npm:
npm install @venkatesh966/speech-text
import React from 'react';
import { SpeechText } from '@venkatesh966/speech-text';
const YourComponent = () => {
const YOUR_OPENAI_API_KEY = 'your_openai_api_key';
return (
<div>
<h1>Your React Component</h1>
<SpeechText
apiKey={YOUR_OPENAI_API_KEY}
containerStyling={{
position: 'relative',
}}
buttonStyle={{
background: 'green'
}}
heading={"MyAPP"}
showReqText={true}
showResponseText={true}
showRecordStatus={true}
/>
</div>
);
};
export default YourComponent;
SpeechText
) for integrating audio-assistant functionality.apiKey
: Your OpenAI API key.containerStyling
: CSS styling for the component container.showResponseText
: Boolean to control whether to display the generated text.showRecordStatus
: Boolean to control whether to display recording status.heading
: Text to display as the heading.buttonStyle
: CSS styling for the recording button.showReqText
: Boolean to control whether to display the text being spoken.API_KEY: Obtain your OpenAI API key by signing up on the OpenAI platform. Pass the API key as a prop to the SpeechText component.
Open source is built by the community for the community. All contributions to this project are welcome! Additionally, if you have any suggestions for enhancements, ideas on how to take the package further, or have discovered a bug, do not hesitate to create a new issue ticket and I will look into it as soon as possible!
FAQs
A React component seamlessly integrating audio-assistant functionality via the Web Speech API and OpenAI GPT. Users can interact naturally with the application through spoken commands, receiving responses as audio.
The npm package @venkatesh966/speech-text receives a total of 5 weekly downloads. As such, @venkatesh966/speech-text popularity was classified as not popular.
We found that @venkatesh966/speech-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.