This container uses Python, Selenium, and Firefox to monitor and seed live streams of a PeerTube channel headlessly.
- Set proper pause timing for calling the API.
- Make the scripts so they call the API once instead of three times
- Replace the text file variables with envroment variables.
- Do final tests.
The api_url environment variable is used to input the user's API URL. Example API URL: https://example.tube/api/v1/accounts/channelname/videos
If the API URL is not set, the default is to follow and seed Jupiter Broadcasting live streams on their instance.
You can run the container two ways manually or thru Docker Compose. Manually:
docker run --env api_url="https://example.tube/api/v1/accounts/channelname/videos" tyrsarm/peertube-headless-seeder
Docker Compose: There's an example docker-compose.yml in this repository for easy installation and use.
Source Code: https://github.com/tyrsarm/peertube-headless-seeder