| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
⚠️ ARCHIVED: Use stream-proxy-ng (will be integrated soon)
stream-proxy
A streaming proxy for livestreams and videos for Librarian.
Usage
stream-proxy should be run seperately on another domain using a reverse proxy such as Caddy.
Docker (recommended)
Add the following to your docker-compose.yml file. Images for arm64 are currently unavailable, follow the instructions to build from source.
stream-proxy:
image: registry.gitlab.com/overtime-zone-wildfowl/stream-proxy:latest
ports:
- 3001:3001
restart: unless-stopped
To start, run sudo docker-compose up -d. Enable in Librarian by adding the following to your config.yml file, then restart Librarian:
ENABLE_LIVE_STREAM: true
LIVE_STREAMING_URL: 'https://your.domain.tld/live'
Build from source
You will need to install Rust. Then run the following commands:
git clone https://codeberg.org/librarian/stream-proxy
cd stream-proxy
To build:
cargo build --release
The output will be at target/release/stream-proxy and can be run with the command ./target/release/stream-proxy.
Enable in Librarian by adding the following to your config.yml file, then restart Librarian:
ENABLE_LIVE_STREAM: true
LIVE_STREAMING_URL: 'https://your.domain.tld/live'