Autizmo Movie Night https://movie-night.autizmo.xyz
Go to file
joeyak 0de457d28f Change highlighting to be a box instead of the user color
This allows users with hard to read colors to still see mentions
issue #48
2019-03-21 09:27:14 -04:00
common Refactoring of ChatData 2019-03-21 08:47:40 -04:00
static Change highlighting to be a box instead of the user color 2019-03-21 09:27:14 -04:00
wasm Refactoring of ChatData 2019-03-21 08:47:40 -04:00
.gitignore Add user badges 2019-03-16 18:11:27 -04:00
.travis.yml Update build scripts 2019-03-16 22:24:35 -04:00
chatclient.go Change highlighting to be a box instead of the user color 2019-03-21 09:27:14 -04:00
chatcommands.go Added color names as possible arguements for /color 2019-03-19 22:56:01 -04:00
chatroom.go Refactoring of ChatData 2019-03-21 08:47:40 -04:00
connection.go Parse X-Forwarded-For header if provided 2019-03-20 16:57:29 -04:00
errors.go Add more information to error output 2019-03-15 18:57:12 -04:00
favicon.png Replace favicon with something else 2019-03-18 11:21:17 -04:00
handlers.go goimports fixed this 2019-03-20 21:25:01 -04:00
main.go Add Cache-Control header to main.wasm response 2019-03-20 10:59:28 -04:00
Makefile Update build scripts 2019-03-16 22:24:35 -04:00
notes.txt
readme.md Fix some minor readme linting errors 2019-03-20 23:50:18 -04:00
settings_example.json Add a limit to the title length 2019-03-16 21:06:16 -04:00
settings.go Parse X-Forwarded-For header if provided 2019-03-20 16:57:29 -04:00

MovieNight stream server

Build status

This is a single-instance streaming server with chat. Originally written to replace Rabbit as the platform for watching movies with a group of people online.

Build requirements

  • Go 1.12 or newer
  • GNU Make

Install

To just download and run:

go get -u -v github.com/zorchenhimer/MovieNight
MovieNight  -l :8089 -k longSecurityKey

Usage

Now you can use OBS to push a stream to the server. Set the stream URL to

rtmp://your.domain.host/live

and enter the stream key.

Now you can view the stream at

http://your.domain.host:8089/

There is a video only version at

http://your.domain.host:8089/video

and a chat only version at

http://your.domain.host:8089/chat

The default listen port is :8089. It can be changed by providing a new port at startup:

Usage of .\MovieNight.exe:
  -k string
        Stream key, to protect your stream
  -l string
        host:port of the MovieNight (default ":8089")

VsCode Setup

For development of this project in VsCode, the wasm has to be handled specially. Since the architecture is WASM and the OS is js for go wasm files, the tools must have those environment args. This can be solved by adding a .vscode folder at MovieNight\wasm\.vscode and having the settings below. When doing development in the MovieNight\wasm, open the folder in a new vscode instance. This will allow autocomplete to work in the *_wasm.go files.

{
    "go.toolsEnvVars": {
        "GOOS": "js",
        "GOARCH": "wasm"
    }
}