This is a Golang project to build a self hosted "tube"-style video player for watching your own video collection over HTTP or hosting your own channel for others to watch.
Some of the key features include:
/feed.xml
)Currently only supports MP4 video files so you may need to re-encode your media to MP4 using something like ffmpeg.
Since all of the video info comes from metadata it's also useful to have a metadata editor such as EasyTAG (which supports attaching images as thumbnails too).
By default the server is configured to run on 127.0.0.1:0 which will assign a random port every time you run it. This is to avoid conflicting with other applications and to ensure privacy. You can configure this to be any specific host:port by editing config.json
before running the server. You can also change the RSS feed details and library path from config.json
.
tube
executable to start server (this will output the URL for accessing from a browser)videos
directorygo get github.com/wybiral/tube
cd $GOPATH/src/github.com/wybiral/tube
go run main.go
(this will output the URL for accessing from a browser)$GOPATH/src/github.com/wybiral/tube/videos