
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
react-native-whisper
Advanced tools
React Native implementation of OpenAI's Whisper automatic speech recognition (ASR) model
This is a proof of concept of a JSI library for OpenAI Whisper , it combines a C++ port of Whisper from whisper.cpp and a JSI template from this blog.
import Whisper from 'react-native-whisper'
Whisper.transcribeWavToText(pathOfModel,pathOfAudio,(text)=>{alert(text)})
You can specify the location of the model or .wav audio file by providing either its full path (e.g., file:///path/to/file) or its Unix-style path (e.g., /path/to/file).
This project is in no way stable or complete!! Feel free to contribute.
npm install react-native-whisper
yarn add react-native-whisper
For iOS also run pod install in /ios folder.
If you are using with Expo, run
expo prebuild
You must have Android NDK and CMake installed on android to build the library.
The following methods are implemented.
The relevant code is present in cpp/example.cpp file.
helloWorld():string;
multiplyWithCallback(x:number,y:number,callback:(z:number) => void):void
multiply(x:number,y:number):number
The relevant code on android is in android/cpp-adapter.cpp and ios/SimpleJsi.mm on iOS.
getDeviceName():string
setItem(key:string,value:string):boolean
getItem(key:string):string
import simpleJsiModule from "react-native-jsi-template";
simpleJsiModule.helloWorld() // returns helloworld.
Run the example app for more.
The initial work done by authors of the following libraries has helped a lot in writing the blog and keeping this repo updated.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
React Native implementation of OpenAI's Whisper automatic speech recognition (ASR) model
We found that react-native-whisper demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.