nrkno / transcriber-frontend

MIT License
32 stars 12 forks source link

Transcriber

Transcriber is a web app using Google speech-to-text API for transcribing audio files. Transcoding, transcription and database is handled by Cloud functions and Firebase, while React JS is used for the web frontend.

Tech overview

Set up

Development

npm run dev

Authentication in development

You need to enable username/password authentication in Firebase Console. Create an user, and set a password. Here is how in June 2019:

Update .env

Add username and password to REACT_APP_FIREBASE_DEV_USERNAME and REACT_APP_FIREBASE_DEV_PASSWORD

Google Analytics

To track events to Google Analytics, enter your GOOGLE_ANALYTICS_PROPERTY_ID in the .env file. The following events are tracked:

All pages

category action label
authentication log out button pressed

Create transcript

category action label
transcript upload failed [file format]
transcript aborted

Transcript page

category action label
transcript export button pressed [type]
transcript delete button pressed
player play button pressed
player pause button pressed
player volume changed
editor fps changed
editor start time changed
editor speaker name set
editor speaker name changed
editor paragraphs joined
editor paragraphs split
editor words changed
editor words deleted
editor undo
editor redo

Browsers targeted

npx browserslist ">0.25% in my stats, not IE > 0"

chrome 69
chrome 68
chrome 67
edge 17
edge 16
firefox 61
ios_saf 11.3-11.4
safari 11.1
safari 11