vosk-api
vosk-api copied to clipboard
Replace ffi-napi with koffi to support Electron
Great idea, ff-napi is doomed. Let me check koffi!
I have implemented the workaround solution for my own purposes using ffi-rs (not koffi). Here's the gist.
Should I make a PR?
I haven't tested it with Electron, and also I have some concerns about this call: libvosk.vosk_recognizer_accept_waveform.async. But for the rest, it works perfectly in Node.js 22 without any node-gyp issues
Related issues:
- #1600
- #1465
- #1613
any updates on this? basically the node package is unusable currently :(
Guys, very busy here, we'd so grateful for contributions!