Transcribe.js
Transcribe speech to text in the browser.
What it is
Transcribe.js is a JavaScript library that provides a high level api/interface for the wasm build of whisper.cpp.
Features
- transcribe audio/video files (formats supported by the browser)
- load media and model file from URL or use File object (eg. from file input)
- output detailed JSON
- optional dtw word level timestamps
- optional translate to english
- experimental media stream support
Examples
- File Transcriber
- Stream Transcriber (experimental) (doesn't work in firefox)
- Code Examples
Packages
All packages are under @transcribe namespace.
Package | Description |
---|---|
@transcribe/shout | Wasm build based on whisper.cpp. Contains Module file including the wasm binary and a separate webworker file. |
@transcribe/transcriber | FileTranscriber and StreamTranscriber for transcribing media files or streams. |
Support (ideas, code, coffee)
Please support this project if you can. Code, coffee or any other support, everything is very welcome and appreciated.
If this or any other open source software has saved you and/or your team time in development, tell your boss and ask them to donate to open source projects. Thank you, you are awesome!