vosk-api
vosk-api copied to clipboard
How can I implement Ruby client?
Hi, I'm wondering if I could implement a Ruby client for Vosk. How should we process the development? Should we develop it in separate repository or should we write code in this repository and send a PR?
Hi. A PR would be welcome! Both bindings for vosk-api and client example for vosk-server
For API you can use https://github.com/ffi/ffi I suppose. For server https://github.com/imanel/websocket-ruby
@nshmyrev Thank you, I'll take a look at Python code for a close example. If I have any question, I'll post it here.
Sure, let us know please
I even created a template
https://github.com/alphacep/vosk-api/tree/master/ruby
and also pushed to rubygems:
https://rubygems.org/gems/vosk
Nice, after adding real code please add me to collaborators in rubygems!
I added you as an owner! Thank you
Should I build libvosk to test against it?
You'd better download prebuilt library in releases:
https://github.com/alphacep/vosk-api/releases/tag/v0.3.42