• Stars
    star
    117
  • Rank 300,690 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ”‰ A web app to play, visualize, and annotate your audio files for machine learning

EchoML

Play, visualize, and annotate your audio files

Screenshot

List of containers and files

Play, visualize, and annotate your audio files

Supported storage providers

  • Azure blob storage

Run

Set variables

Variables can either be set in environment (appropriate for production docker deployments) or in one of the appropriate [environment].json file in /config (ie; development.json or production.json)

Required Environment Variables

The following variables are REQURED and can be either set in one of the config json files or in your environment

Variable Type Description
HOSTNAME string The hostname for http.createServer to listen on
PORT string The port for http.createServer to listen on; must be 4000 when in dev so local port forwarding works
AUTH_KEY string Random string which will be used to hash your user sessions
MONGO_HOST string Host of your MongoDB database; usually in mongodb://your.host.name:port/collection format; note username and password not passed here
MONGO_USERNAME string MongoDB Username
MONGO_PASSWORD string MongoDB Password
STORAGE_ACCOUNT string Azure storage account name
STORAGE_ACCESS_KEY string Azure storage access key

Optional Configs

These variables are optional and can be set in one of the config json files

Variable type Description
cors boolean If true, cors is enabled to allow different clients to ping server
log object Settings for the logger; refer to the default setup for example

Development

To start both back and front ends in one command:

yarn run dev

Or you can start both indvidually if you want some quieter logs

Start back-end node server.

yarn run server

Start the frontend dev server with

yarn run start

Open your browser and connect to http://localhost:3000.

Production Build

Build bundle.

yarn run build

Start server.

yarn run prod

Open your browser and connect to http://localhost.

Run with Docker

To update the code and rebuild the image:

Build the docker image

docker build -t echoml .

To run the image, either pull my image from docker hub or use your own.

Run the docker image

docker run -p 80:80 -it --rm -e PORT='80' -e MONGO_HOST='<your mongo host>' -e MONGO_USERNAME='<your mongo username>' -e MONGO_PASSWORD='your mongo password' -e STORAGE_ACCOUNT='your azure storage name' -e STORAGE_ACCESS_KEY='your azure storage access key' ritazh/echoml:latest

Acknowledgement

Leverages the awesome waveform.js

License

MIT License

More Repositories

1

l2tpvpn-docker-pi

L2TP/IPsec VPN Server with Raspberry Pi andΒ Docker
Shell
53
star
2

k8s-ml

🎱 A demonstration of existing machine learning toolkits on Kubernetes
Python
52
star
3

psp-gatekeeper-policies

Shell
32
star
4

devopsfun

πŸ”§ Introductory hands-on training for open source devops workflow - from code to deployment
JavaScript
23
star
5

s3proxydocker

🚒 Dockerize your s3proxy instance - run s3proxy in a docker container anywhere!
Makefile
16
star
6

speech-to-text-demo

An application that updates its own user interface based on user's voice commands using speech recognition and machine learning
JavaScript
14
star
7

k8s-azure-kms

Azure KMS plugin for Kubernetes
Go
10
star
8

slack-textmeme

🎨 A Slackbot that creates a meme with text
JavaScript
9
star
9

azure-saltstack-elasticsearch

Shell
7
star
10

facedetect-bot

πŸ€– A bot that detects users in a picture and returns their contact info.
JavaScript
7
star
11

botframework-hipchatchannel

A sample custom channel for Microsoft Bot Framework using DirectLine
JavaScript
7
star
12

glusterfs-azure

Deploy GlusterFS on Azure; GlusterFS Volumes for Kubernetes ☁️ πŸ—„οΈ
Shell
5
star
13

k8s-azurekeyvault-sidecar

Go
4
star
14

wasm-policies

Rust
4
star
15

azure-s3proxy-cf-demo

☁️ Sample app to show S3Proxy enabling the same code base to get content from AWS S3 and Azure Storage
Java
4
star
16

decodedconf-oss-paas

🌴 Content for "Host Your Own Open Source Heroku" session at the Decoded Conference
CSS
2
star
17

ESP8266-Azure-IOT

☁️ Stream data from/to ESP8266 to/from Azure IoT using MQTT protocol
C
2
star
18

electron-windows-media

πŸ“· Access native Windows WinRT camera stream and detect faces from Electron
JavaScript
2
star
19

aspnetcoreapp-cf

A simple ASP.NET Core web application for the ASP.NET Core CF buildpack.
C#
1
star
20

electron-speech-analysis

JavaScript
1
star
21

bioimageclassification

Python
1
star
22

acs-aks-migrate

Script to migrate from ACS Kubernetes clusters to ACS or AKS cluster
Shell
1
star
23

k8s-mypublicip

Python
1
star
24

peoplefinder-azurefunction

βš™οΈ πŸ™‡β€β™€οΈ An application that allows people to find other people with common interests using Azure Functions
JavaScript
1
star