Go to file
Mirror 39bd86991e
add readme
Signed-off-by: Mirror <voice@magicalmirro.red>
2022-06-17 15:52:00 +03:00
templates init 2022-06-16 12:07:46 +03:00
.gitignore fix gitignore 2022-06-16 12:09:01 +03:00
README.md add readme 2022-06-17 15:52:00 +03:00
admin.go fixed dumb mistake with authentication timeout 2022-06-17 15:37:19 +03:00
config.go init 2022-06-16 12:07:46 +03:00
go.mod init 2022-06-16 12:07:46 +03:00
go.sum init 2022-06-16 12:07:46 +03:00
logger.go init 2022-06-16 12:07:46 +03:00
main.go init 2022-06-16 12:07:46 +03:00
video.go init 2022-06-16 12:07:46 +03:00

README.md

What is this?

This is a primitive application for streaming video files to Smart-TVs or any device with a browser, with a simple control of the list of these files.

Configuration example

# config.yaml
# just title of the webpage
application_name: "My Marketing Videos"

# path where files will be stored
data_directory: "web"

# ip address to bindgo
listen_address: ":8000"
admin_user: "admin"
admin_password: "abcd@1234"

# increasing this number will cause active clients to reload the page. Useful for hot-fixing client code.
generation: 5

-help option

videopage:
  -config string
        Path to the configuration file (default "config.yaml")
  -rescan
        Rescan the data direcory