Thiagobhmg / vtt-creator

A tool for creating and editing Web Video Text Track (WebVTT) files in your browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VTT Creator

A tool for creating and editing Web Video Text Track (WebVTT) files in your browser.

Check it out at vtt-creator.com.

This repository, along with the backend app, is a full single page app and is open source mostly for portfolio reasons. I don't really expect/support usage of the source code. Use VTT Creator via the live hosted version at vtt-creator.com.

If you're actually interested in running this source code, you'll need:

  • A Google Cloud account
    • VTT Creator will need a Cloud Storage bucket, access to the Cloud Speech to Text API, and a service account with appropriate permissions
  • An AWS account
    • VTT Creator uses Amazon Cognito for user management
  • A Paypal account
  • PostgreSQL
  • The VTT Creator Backend Application

To run this project, you'll also need to supply some environment variables to configure it:

API_URL=<url to wherever you've hosted to backend app>
SPEECH_TO_TEXT_JOB_TIMEOUT=<a number, milliseconds>
DEBUG=<true|false>
COGNITO_CLIENT_ID=<client id for aws cognito client>
COGNITO_DOMAIN=<client domain url for aws cognito>
COGNITO_USER_POOL_ID=<aws cognito pool id>
PAYPAL_CLIENT_ID=<your paypal client id>
SENTRY_DSN=<sentry.io dsn>

Development

Install dependencies with:

npm install

To run the app in dev mode, run:

npm start

By default, the app will be available at http://localhost:3000. To change the port, open up the webpack.dev.js file located in the project root and change the devServer.port entry to your desired port.

To run tests:

npm run test

This project uses karma for its test runner, which runs tests in headless chrome. If you don't have chrome installed, you might have to tweak the karma.conf.js file located in the project root to use a different browser.

License

No license is given. All rights reserved.

About

A tool for creating and editing Web Video Text Track (WebVTT) files in your browser.


Languages

Language:JavaScript 99.6%Language:HTML 0.4%Language:Dockerfile 0.0%