https://github.com/evancohen/sonus-electron-boilerplate
Example of sonus running in electron
https://github.com/evancohen/sonus-electron-boilerplate
Last synced: 8 months ago
JSON representation
Example of sonus running in electron
- Host: GitHub
- URL: https://github.com/evancohen/sonus-electron-boilerplate
- Owner: evancohen
- License: mit
- Created: 2017-02-17T08:37:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-08T20:26:14.000Z (over 7 years ago)
- Last Synced: 2025-04-04T11:22:46.603Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sonus-electron-boilerplate
Example of [Sonus](https://github.com/evancohen/sonus) running in electron for OSX and Linux.
**What you get:** customizable offline hotword detection and streaming recognition for your stand-alone desktop application.
## Getting Started
1. Clone Repo
2. Get build dependencies (since we'll be compiling some modules from scratch)
```
npm install -g nan
sudo apt-get install libatlas-base-dev
```
3. Install (and keep native electron cache away from your normal cache). This will take some time depending on the speed of your system.
```
HOME=~/.electron-gyp npm install
```
4. Add your Google Cloud Speech `keyfile.json` to the root
5. Run `npm start`
6. Say "Sonus" and then whatever you want
## Known issues
As noted in [snowboy#126](https://github.com/Kitt-AI/snowboy/issues/126), there are issues finding `cblas_sdot` on linux systems. The fix mentioned there has not been tested in this repo yet, but I'm working on a solution.