
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Voxy SDK is a real-time speech-to-text transcription system built using Socket.io and plain bash. It allows you to capture audio from your microphone, transcribe speech in real time, and export the transcript as a text file. In addition, it monitors recording status, mode, microphone connection, and template data to enhance the user experience.
.txt files.API_URL for WebSocket-based speech recognitionemail and password for authenticationuserID)npm install mtl-voxy
import useVoxy from 'mtl-voxy';
const voxyInstance = await useVoxy({
apiUrl: '<API_URL>',
email: '<EMAIL>',
password: '<PASSWORD>',
userID: '123',
sampleRate: 16000
});
sampleRate: Determines the number of audio samples captured per second. recordBtnElement.addEventListener('click', async () => {
await voxyInstance.toggleRecording();
});
toggleRecording() method switches the current recording state. If recording is active, it stops the recording; if it is inactive, it starts the recording. This method manages the underlying logic to properly handle state changes and any related asynchronous operations. voxyInstance.getMicrophoneStatus((microphone) => {
document.getElementById("microphone").textContent = microphone;
});
getMicrophoneStatus() method listens for updates about the microphone's state. voxyInstance.getRecordingStatus((isRecording) => {
document.getElementById("record-btn").textContent = isRecording ? "Stop Recording" : "Start Recording";
});
getRecordingStatus() method sets up a callback that receives a boolean (isRecording) indicating whether recording is active. voxyInstance.getModeStatus((mode) => {
document.getElementById("mode").textContent = mode;
});
getModeStatus() method registers a callback that receives the current mode as a parameter. voxyInstance.getTemplate((template) => {
document.getElementById("template").textContent = template;
});
getTemplate()` method provides template-related data voxyInstance.getTranscription((text) => {
document.getElementById("transcript").value += text;
});
getTranscription() is used to register a callback function. This function is called every time new transcription data is received. exportTranscriptionBtnElement.addEventListener('click', () => {
voxyInstance.exportTranscriptionAsTxt(transcriptElement.value);
});
exportReportBtnElement.addEventListener('click', () => {
voxyInstance.exportReportAsTxt(reportElement.value);
});
exportTranscriptionAsTxt() method is designed to take the provided text data and convert it into a downloadable .txt file.exportReportAsTxt() method takes the report data and generates a downloadable .txt file. voxyInstance.errorHandler((error) => {
console.error(error);
});
errorHandler() and passing in a callback function, you are setting up a mechanism to capture any errors that occur within the SDK.useVoxy Parameters| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
apiUrl | String | Yes | None | The WebSocket server URL for speech recognition. |
email | String | Yes | None | The user's email for authentication. |
password | String | Yes | None | The user's password for authentication. |
userID | String | Yes | None | Unique identifier for the user. |
sampleRate | Number | No | 16000 | Defines the number of samples per second in the audio stream. |
FAQs
Voxy SDK
The npm package mtl-voxy receives a total of 2 weekly downloads. As such, mtl-voxy popularity was classified as not popular.
We found that mtl-voxy 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.