An automatic Twitch recorder capable of capturing live streams, chat messages and stream metadata.
Deploy this app to Linode with a free $100 credit!
Depends on a proprietary service outside the user's control
⚠️⚠️⚠️
Until Twitch changes the max quota on Websocket Eventsubs, a public facing HTTPS server is required for this application to function.
A reverse proxy is a good way to get around this: - Nginx - Apache - Caddy - Traefik
etc. I have only tested this with Nginx and letsencrypt.
⚠️⚠️⚠️
ts
instead of mp4
so if the stream or program crashes, the file won't be corrupted.One high-profile streamer VOD of 10 hours at 1080p60 is about 30-50GB.
Post issues/help on the issues tab above. I already run an up-to-date version, so starting fresh might break stuff.
Thanks to the contributors that helped expand the project!
Reminder that I don't use docker myself on my capturing setup, so any specific errors to this are hard to test.
docker-compose pull
and docker-compose up -d
to start it.localhost:8082
/data/storage
directory. Permissions might be an issue.Hub: https://hub.docker.com/r/mrbrax/twitchautomator
The dockerhub build is preconfigured to be hosted at the root (/
) and such, does not work when placed in a subdirectory.
Run docker-compose up --build -d
in the app directory. The docker-compose.yml
file is required.
If you want the public webapp to have a custom base folder, you must provide BASE_URL
and VUE_APP_BASE_URL
in the environment variable settings.
git clone --recurse-submodules https://github.com/MrBrax/LiveStreamDVR.git
(zip download doesn't include submodules, Git helppip install -r requirements.txt
yarn install
might not be required)/twitch-vod-chat
folder and run yarn install
and yarn run buildlib
./client-vue
folder and run yarn install
and yarn run build
./server
folder and run yarn install
and yarn run build
./twitch-chat-dumper
folder and run yarn install
and yarn run build
./server
folder, run yarn run start
to start the server in production mode./data/storage
directory. Permissions might be an issue.Follow this guide to hackjob nginx: https://serversforhackers.com/c/nginx-php-in-subdirectory
--port <number>
Specify port to run the server on.
--debug
Run the server in debug mode.
--dataroot <path>
Specify the data directory to use.
--home
Store the data in the home directory.
TCD_ENABLE_FILES_API=1
Enable the files api, making it possible to download and delete files in storage. This might open up filesystem exploits.
TCD_EXPOSE_LOGS_TO_PUBLIC=1
Make viewing logs in the file manager possible. Requires the above environment variable to be set.
TCD_MIGRATE_OLD_VOD_JSON=1
Migrate old vod json files to the new format. This is automatically done when the server starts. Make sure to back up your data before doing this, as it will overwrite the old files and can't be undone. Bugs might occur, so use with caution.
Please login to review this project.
No reviews for this project yet.
Comments (0)
Please login to join the discussion on this project.