by RustAudio

RustAudio / deepspeech-rs

Rust bindings for the deepspeech library

168 Stars 12 Forks Last release: Not found Other 167 Commits 11 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:



Rust bindings of Mozilla's DeepSpeech library.

The library is open source and performs Speech-To-Text completely offline. They provide pretrained models for English.



  1. Obtain the Deepspeech
    library. The release announcement contains precompiled libraries for various targets.
  2. Download the pretrained models named like
    from the release announcement and extract the zip file to some location.
  3. Add the directory where the
    library lies to your
    environment variables.

You can now invoke the example via:

cargo run --release --example client  

It will print out the recognized sequence on stdout. The format of the audio files is important: only mono files are supported for now.

All codecs that the awesome audrey library supports are supported.

See DeepSpeech's release announcement for more.

Supported versions of DeepSpeech

We currently support version

of the DeepSpeech library. We will always try to provide compatibility with the most recent release possible.


Licensed under Apache 2 or MIT (at your option). For details, see the LICENSE file.

All examples inside the

folder are licensed under the CC-0 license.

The generated bindings (

subdirectory in git,
crate on fall unter the Mozilla Public License, version 2.0.

License of your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed / CC-0 licensed as above, without any additional terms or conditions.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.