This mode can be enabled by ticking the checkbox in Settings -> General
.
Unless the server's certificate and it's private key already exists in xTeVe config directory, xTeVe will generate a self-signed automatically.
Self-signed certificate will only allow TLS mode to start up but not to actually establish a secure connections. For truly working HTTPS, you should generate a certificate by yourself and also add the CA certificate to the client-side certificate storage (where the web browser, Plex etc. is).
Certificate and it's private key should be placed in xTeVe config directory like so:
/home/username/.xteve/certificates/xteve.crt
/home/username/.xteve/certificates/xteve.key
If the certificate is signed by a certificate authority (CA), it should be the concatenation of the server's certificate, any intermediates, and the CA's certificate.
This will also enable copy to clipboad by clicking the green links at the header. (DVR IP,M3U URL,XEPG URL)
Supported OS/ARCH:
Pull from dockerhub:
docker pull senexcrenshaw/xteve:latest
OR build your own image based on Dockerfile from this repository:
git clone https://github.com/SenexCrenshaw/xTeVe.git
cd xTeVe
docker build --tag senexcrenshaw/xteve .
docker create \
--tty \
--publish 34400:34400 \
--name xteve \
senexcrenshaw/xteve
With the specific timezone, ip and port:
docker create \
--tty \
--env TZ=Europe/Amsterdam \
--env XTEVE_PORT=12345 \
--publish 192.168.88.218:12345:12345 \
--name xteve \
senexcrenshaw/xteve
docker start xteve
docker attach xteve
To detach from a container, press Ctrl + C
.
Open http(s)://<ip>:<port>/web/
in browser, for example:
http://192.168.88.218:34400/web/
docker stop xteve
git clone https://github.com/senexcrenshaw/xTeVe.git
go mod tidy
Or
go get github.com/avfs/avfs@latest
go get github.com/gorilla/websocket
go get github.com/kardianos/osext
go get github.com/koron/go-ssdp
go get github.com/samber/lo
go get github.com/stretchr/testify
go get -u ./...
If TypeScript files were changed, run:
tsc -p ./ts/tsconfig.json
Then, to embed updated JavaScript files into the source code (src/webUI.go), run it in development mode at least once:
go build xteve.go
xteve -dev
:exclamation: To not to get CreateFile error, do not forget to switch your binary to "regular" mode after runnning with -dev
flag:
xteve -branch main
or xteve -branch beta
go build xteve.go
Or use convenient cross-compile tool. To build binaries for every OS / architecture pair into ./xteve-build/
folder:
go get github.com/mitchellh/gox
go install github.com/mitchellh/gox
gox -output="./xteve-build/{{.Dir}}_{{.OS}}_{{.Arch}}" ./
When creating a fork, the xTeVe GitHub account must be changed from the source code or the update function disabled.
xteve.go - Line: 29
var GitHub = GitHubStruct{Branch: "main", User: "senexcrenshaw", Repo: "xTeVe", Update: true}
// Branch: GitHub Branch
// User: GitHub Username
// Repo: GitHub Repository
// Update: Automatic updates from the GitHub repository [true|false]
Documentation for setup and configuration is here.