Git Product home page Git Product logo

esa-layouts-shared's Introduction

ESA Marathon

The greatest speedrunning event Europe has ever seen

Requirements

  • Go
  • Docker / RethinkDB
  • Gulp
  • Npm

Local development

  1. Set up your local .env file base don the .example.env
  2. Download dependencies with go get and npm install (or yarn)
  3. Run docker-compose up -d to initialize the Database
  4. Migrate the DB by running go run cmd/dbinit.go (add --seed to insert default data)
  5. Compile styles, js and html with npm run gulp
  6. Run fresh or go run main.go
  7. Add some cool features

Production build

  1. Clone repository and set up .env file
  2. Run docker build -t esa:latest .
  3. Run docker-compose up -d
  4. (First time setup) Run docker exec -it {containerID} /bin/sh and go run cmd/dbinit.go --seed

esa-layouts-shared's People

Contributors

zoton2 avatar

Watchers

 avatar  avatar  avatar  avatar

esa-layouts-shared's Issues

Add shared Vue.js component for media box

As we already have the extension and dashboard parts, I'd be nice to have something for the graphics too, although it has to be a component as it's not going to take up a whole page, so things need to be taken into consideration in relation to, for example, Vuex storage.

For non-charity events, it would probably not show anything from the tracker (TBD), so options to turn these on/off may be needed, or we may need to just check they don't show anyway (as it relies on the extension to supply this information anyway).

Check how dependencies work

I am not sure how the dependencies we have work and if some should be under dependencies instead of devDependencies or not, because the way this bundle is set up is a bit different from the usual bundles, and from how I usually do development. If I run into any bugs with dependencies, this should be the first thing to check.

Add system to normalize audio of videos added via NodeCG's "Assets" feature

Issue was originally opened here: speedcontrol/nodecg-speedcontrol#112
It would be best if we add a shared component for all the bundles we need it for which can be added/activated when needed. Original text is below in case that issue is unavailable.

Prerequisites
Requires ffmpeg-normalize and ffmpeg installed.

Use case
ffmpeg-normalize simplifies using ffmpeg to normalise audio levels in video. Normally this takes several steps and is difficult to script. I use ffmpeg-normalize before uploading each glitch intermission and video advert, it'd be a nice QOL improvement for nodecg to run this command for me after an upload completes

The command I normally use is as follows, it supports wildcards. It will need more arguments to force an output folder, and the source file is not automatically deleted.

ffmpeg-normalize *.mp4 -ext mp4 -c:a aac

mediabox: only run when visible, queue alerts

As the title says, make it so it can somehow detect if it's visible in OBS or not on the live output and "pause" if needed, so alerts are always able to be seen and not "hidden" if the media box cannot be seen.

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.