|
|
10 months ago | |
|---|---|---|
| .github/workflows | 10 months ago | |
| api_ping | 2 years ago | |
| backfiller | 2 years ago | |
| bus_analyzer | 2 years ago | |
| buscribe | 10 months ago | |
| buscribe-web | 10 months ago | |
| buscribe_api | 10 months ago | |
| chat_archiver | 11 months ago | |
| common | 10 months ago | |
| cutter | 10 months ago | |
| db_scripts | 6 years ago | |
| downloader | 2 years ago | |
| graphs | 2 years ago | |
| monitoring | 2 years ago | |
| nginx | 10 months ago | |
| playlist_manager | 12 months ago | |
| postgres | 10 months ago | |
| restreamer | 10 months ago | |
| segment_coverage | 2 years ago | |
| sheetsync | 10 months ago | |
| thrimbletrimmer | 10 months ago | |
| thrimshim | 10 months ago | |
| zulip_bots | 10 months ago | |
| .gitignore | 2 years ago | |
| .gitmodules | 3 years ago | |
| .prettierrc.yaml | 4 years ago | |
| .travis.yml | 6 years ago | |
| DATABASE.md | 1 year ago | |
| INSTALL.md | 2 years ago | |
| LICENSE | 6 years ago | |
| README.md | 2 years ago | |
| SecurityModel.md | 6 years ago | |
| build | 10 months ago | |
| docker-compose.jsonnet | 10 months ago | |
| generate-docker-compose | 6 years ago | |
| generate-flamegraph | 7 years ago | |
| get-build-tag | 6 years ago | |
| initial-design-doc.pdf | 7 years ago | |
| k8s.jsonnet | 2 years ago | |
README.md
Wubloader is a system for saving, re-serving and cutting into videos of a target twitch (or probably other HLS, but some twitch specifics are assumed) stream.
It was designed to serve the needs of the Video Strike Team as part of Desert Bus For Hope.
A full design doc can be read at initial-design-doc.pdf, but a brief overview of the components:
downloadergrabs segments from twitch and saves them to diskrestreamerserves segments from disk as well as playlist files allowing them to be streamedbackfillerqueries restreamers of other servers in order to pick up segments this server doesn't have already, ie. it replicates missing segments.cutterinteracts with a database to perform cutting jobssheetsyncsyncs specifc database columns to a google doc which is the primary operator interface.thrimshimacts as an interface between thethrimbletrimmereditor and the database.thrimbletrimmeris a browser based video editor.segment_coverageregularly checks whether there is complete segment coverage for each hour.playlist_manageradds videos to youtube playlists depending on tags.chat_archiverrecords twitch chat messages and merges them with records from other nodes.databasehosts a Postgres database to store events to be edited.nginxprovides a webserver through which the other components are exposed to the outside world.commonprovides code shared between the other components.monitoringprovides dashboards to allow the wubloader to be monitored.
Usage
All components are built as docker images.
Components which access the disk expect a shared directory mounted at /mnt.
A docker-compose file is provided to run all components. See docker-compose.jsonnet
to set configuration options, then generate the compose file with ./generate-docker-compose.
Then run docker-compose up.
There is also a kubernetes-based option, but it is less configurable and only fully supports replication and editing nodes. Basic support for running the database and playlist_manager has been added, but not tested. See k8s.jsonnet for details.
Further details of installing and configuring the backfiller are provided in INSTALL.md.