custom owncast theme https://github.com/owncast/owncast
|
1 week ago | |
---|---|---|
cachingproxy | 1 week ago | |
facecam | 1 week ago | |
styles | 2 weeks ago | |
.gitignore | 1 week ago | |
Dockerfile | 1 week ago | |
README.md | 2 weeks ago | |
avatar.jpg | 2 weeks ago | |
banner.png | 1 week ago | |
build.sh | 1 week ago | |
config.yml | 1 week ago | |
content.md | 2 weeks ago | |
favicon.ico | 2 weeks ago | |
index.html | 2 weeks ago | |
logo.png | 2 weeks ago | |
logo.svg | 2 weeks ago | |
metadata.html | 2 weeks ago | |
owncast-logo.svg | 2 weeks ago | |
run.sh | 2 weeks ago | |
static.gif | 2 weeks ago | |
static2.gif | 2 weeks ago | |
tree.txt | 2 weeks ago |
custom owncast theme
https://github.com/owncast/owncast
When I first set up owncast I was trying to use an nginx configuration to enable me to run owncast on my workstation (better at transcoding video) but keep the site up even when my workstation is shut down.
However nginx is not very good at active health checks (ok, maybe I was too lazy to figure out how to upgrade it 😳) and it would always seem to load extremely slowly when the workstation was not running owncast. nginx would take a little bit of time to time out before falling back to the cached version, and this was exacerbated by the way that owncast loads its 20-or-so javascript files one at a time.
I know its silly, but I decided to simply write up the exact caching proxy I wanted in Go instead.
I pushed it to docker hub as a multi-arch docker container: https://hub.docker.com/r/sequentialread/owncast-caching-proxy/tags?page=1&ordering=last_updated
I used this docker-compose configuration on my web server to front owncast,
which runs on my laptop (192.168.0.46
is my laptop's IP address on my home network):
stream:
image: sequentialread/owncast-caching-proxy:0.0.15
command: 192.168.0.46:8080
volumes:
- /dockerdata/owncast-caching-proxy/cache:/app/cache
expose:
- "8080"
environment:
DEBUG: 0
For more information see: https://sequentialread.com/how-to-stream-with-owncast-on-a-low-powered-server