Coder Social home page Coder Social logo

tarteel-voice's Introduction

Tarteel-voice

The node.js micro service for Tarteel's voice recognition and follow along features.

Note that you'll need API keys for Iqra and Google Cloud voice to run it locally. Contact one of the admins to receive them

Usage

Clone the repository then:

yarn install
yarn build     # Build the code
yarn run test  # Run test suite
yarn dev       # Start the dev server

You may replace yarn with npm if you prefer.

Environment Setup

  1. Update KEY_FILE_PATH in config/audioConstants.js to point to your GCP credentials.
  2. Update the .env with the required credentials:
cp .example.env .env

Troubleshooting

System Watch

If you run across an error like so:

[nodemon] Internal watch failed: ENOSPC: System limit for number of file watchers reached...

Run the following:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Port Issues

If you get an address usage error

Error: listen EADDRINUSE: address already in use :::5000

Run

lsof -ti:3000 | xargs kill; lsof -ti:5000 | xargs kill

If you get an inspector address usage error

Starting inspector on 127.0.0.1:9229 failed: address already in use

change the --inspect flag in the watch:server script in package.json to another port number.

tarteel-voice's People

Contributors

fdalvi avatar ananasship avatar

Forkers

hadilotfy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.