Autizmo Movie Night https://movie-night.autizmo.xyz
Go to file
joeyak 3915c3491c Add setup information for vscode 2019-03-20 23:45:22 -04:00
common Added color names as possible arguements for /color 2019-03-19 22:56:01 -04:00
static Fixing scrollbar showing up again when notify box is mroe than one line 2019-03-20 00:08:08 -04:00
wasm Added color names as possible arguements for /color 2019-03-19 22:56:01 -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
Makefile Update build scripts 2019-03-16 22:24:35 -04:00
chatclient.go Parse X-Forwarded-For header if provided 2019-03-20 16:57:29 -04:00
chatcommands.go Added color names as possible arguements for /color 2019-03-19 22:56:01 -04:00
chatroom.go Fix removing clients from the clients map 2019-03-20 20:41:11 -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
notes.txt Initial commit 2019-03-10 11:42:12 -04:00
readme.md Add setup information for vscode 2019-03-20 23:45:22 -04:00
settings.go Parse X-Forwarded-For header if provided 2019-03-20 16:57:29 -04:00
settings_example.json Add a limit to the title length 2019-03-16 21:06:16 -04:00

readme.md

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"
    }
}