34 lines
959 B
Markdown
34 lines
959 B
Markdown
# owncast-clipper
|
|
WIP: a bot that listens for clip requests from owncast chat and uploads to a configured peertube instance.
|
|
|
|
## Example docker-compose.yml
|
|
```yaml
|
|
version: '3'
|
|
|
|
services:
|
|
owncast:
|
|
image: gabekangas/owncast:latest
|
|
user: 1000:1000
|
|
restart: unless-stopped
|
|
ports:
|
|
- 1935:1935
|
|
volumes:
|
|
- ./data/owncast:/app/data
|
|
|
|
clipper:
|
|
image: code.mch.onl/ety/owncast-clipper:latest
|
|
user: 1000:1000
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- owncast
|
|
volumes:
|
|
- ./data/owncast:/app/data:ro
|
|
- type: tmpfs
|
|
target: /tmp
|
|
environment:
|
|
- PEERTUBE_HOST=https://video.peertube.site # your PeerTube server
|
|
- PEERTUBE_USER=your_peertube_username
|
|
- PEERTUBE_PASS=SuperSecretPassword
|
|
- OWNCAST_HOST=http://owncast:8080 # internal or fully-qualified Owncast server
|
|
- OWNCAST_AUTH=AReallyLongOwncastAccessTokenString # Owncast access token with chat permission
|
|
``` |