davehorton / cautious-enigma

A simple audio conferencing application that integrates with Deepgram for real-time transcriptions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cautious-enigma Build Status

An audio conferencing application that integrates with Deepgram to provide transcriptions of conference audio. The application also records conference audio and includes a simple web GUI and REST provisioning api.

Installation

The application requires a mysql database with the provided schema. The database can be installed on the same server as the application, or a remote server. The application configuration file (see example) provides connectivity information for the database.

The application also requires a drachtio server and Freeswitch (built using this ansible role or equivalent).

Once the database schema and user has been created, copy the example configuration file to 'config/local.json' and edit as appropriate. Then run

npm install

to install the application and build the react client, and

npm start

to start the application.

Testing

To run the included test suite for the REST provisioning api, you will need to have a mysql server installed on your laptop/server. You will need to set the MYSQL_ROOT_PASSWORD env variable to the mysql root password before running the tests. The test suite creates a database and user in your mysql server to run the tests against, and removes it when done. The database, user, and password are specified in config/local-test.json.

MYSQL_ROOT_PASSWORD=foobar npm test

About

A simple audio conferencing application that integrates with Deepgram for real-time transcriptions


Languages

Language:JavaScript 99.1%Language:CSS 0.4%Language:HTML 0.3%Language:Dockerfile 0.2%