1.2.0 • Published 1 year ago

huds-hud-hello v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Hello World HUD

This is a small Hello World HUD for the Head-Up-Display Server (HUDS), which acts as a small template for craftig HUDs with the help of the frameworks Vue, Mousetrap and Anime and intentionally without any build-time procedure like a bundler. It also show-cases all essential features of HUDS with the smallest amount of code.

This HUD does nothing more than display a small Hello World banner in the top-left corner, but its colors and text can be configured and the banner can be bounced by either pressing the SPACE key in an OBS Studio interaction window or by sending the underlying REST event to HUDS.

Use the following steps to run the HUD:

  1. Install HUDS and this HUD either as global NPM packages with...

    $ npm install -g huds huds-hud-hello

    ...or just clone the Git repositories (in case you want to fiddle around with the source code) with:

    $ git clone https://github.com/rse/huds
    $ (cd huds && npm install)
    $ git clone https://github.com/rse/huds-hud-hello
    $ (cd huds-hud-hello && npm install)
  2. Start HUDS with either...

    $ huds -a 127.0.0.1 -p 9999 -U hello -P hello -d hello:@huds-hud-hello

    ...or (in case of cloned repositories):

    $ node huds/src/huds-server-cli.js -a 127.0.0.1 -p 9999 -U hello -P hello \
      -d hello:huds-hud-hello,huds-hud-hello/hello.yaml

    HUDS will display its logging output to the terminal.

  3. Start OBS Studio and add a Browser Source to any scene. As its URL use:

    http://hello:hello@127.0.0.1:9999/hello/

    If you want to interact with it, right-click onto the source and choose "Interact". You can press SPACE in the interaction window to let the Hello World banner bounce.

  4. Now you can also remotely trigger the bounce event with:

    curl -D- http://hello:hello@127.0.0.1:9999/hello/event/hello.bounce

    One convenient way to trigger the event during your broadcasting session is to use an Elgato Stream Deck remote control device and use its System:Website function.

1.2.0

1 year ago

1.1.1

1 year ago

1.1.2

1 year ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.9.0

4 years ago