No description
  • Python 64.7%
  • C# 21.7%
  • HTML 10.1%
  • PowerShell 1.6%
  • Batchfile 0.7%
  • Other 1.2%
Find a file
2026-02-22 23:12:11 +01:00
.github/instructions Refactor code structure for improved readability and maintainability 2026-02-21 10:40:12 +01:00
bin Refactor code structure for improved readability and maintainability 2026-02-09 21:56:17 +01:00
config feat: add upload options for pre-merge, merged, and standalone chat videos 2026-02-11 17:44:34 +01:00
dotnet Refactor global configuration page and navigation; add media library page; enhance streamer configuration with detailed options 2026-02-22 23:06:40 +01:00
modules feat: enhance chat downloading with stream monitoring and improved file paths 2026-02-18 18:11:53 +01:00
.gitattributes Added git lfs 2026-02-22 23:12:11 +01:00
.gitignore Refactor global configuration page and navigation; add media library page; enhance streamer configuration with detailed options 2026-02-22 23:06:40 +01:00
.python-version Updated script 2026-02-09 21:29:47 +01:00
extra.md Update extra.md 2022-12-16 10:04:56 -05:00
IMPROVEMENTS.md Updated script 2026-02-09 21:29:47 +01:00
install-pyenv-win.ps1 My improvements 2026-02-09 19:01:24 +01:00
loopstart.bat Updated script 2026-02-09 21:29:47 +01:00
only-vod-chat.py Refactor code structure for improved readability and maintainability 2026-02-21 10:40:12 +01:00
README.md Added git lfs 2026-02-22 23:12:11 +01:00
requirements.txt Add chat_downloader support with fallback for live chat downloads 2026-02-10 23:42:22 +01:00
run_chat_only.py feat: enhance chat downloading with stream monitoring and improved file paths 2026-02-18 18:11:53 +01:00
run_tests.ps1 Chat monitors stream to end 2026-02-11 13:23:14 +01:00
start.bat Add chat_downloader support with fallback for live chat downloads 2026-02-10 23:42:22 +01:00
start_chat_only.bat feat: add standalone chat downloader script and batch file for testing 2026-02-15 09:38:58 +01:00
startmulti - Copy.bat My improvements 2026-02-09 19:01:24 +01:00
startmulti.bat My improvements 2026-02-09 19:01:24 +01:00
test_twitch_archive.py feat: add upload options for pre-merge, merged, and standalone chat videos 2026-02-11 17:44:34 +01:00
test_twitch_archive_simple.py feat: add upload options for pre-merge, merged, and standalone chat videos 2026-02-11 17:44:34 +01:00
twitch-archive.py Implemented features 2026-02-22 23:06:18 +01:00
UpgradePlan.md Refactor code structure for improved readability and maintainability 2026-02-21 10:40:12 +01:00
UpgradePlan2.md Refactor code structure for improved readability and maintainability 2026-02-21 10:40:12 +01:00

Twitch Archive

Inspired by https://github.com/EnterGin/Auto-Stream-Recording-Twitch

Git LFS

This repository stores large media files (recorded video and some binaries). Use Git LFS to manage large objects.

Quick setup (Windows):

  1. Install Git LFS: git lfs install
  2. Ensure .gitattributes is committed (this repo includes one).
  3. If you already have large files tracked by normal Git, migrate them:
git lfs install
git lfs track "*.mp4" "*.mkv" "bin/*"
git add .gitattributes
git add -A
git commit -m "Migrate large files to LFS"
git push origin main

Notes:

  • Git LFS needs server-side support. If using GitHub, enable Git LFS on the remote and ensure you have sufficient bandwidth/storage quota.
  • You can customize tracked patterns in .gitattributes.

Python script to check, download live stream, VOD, chat and upload them to any cloud storage supported by rclone.

FFmpeg 8.0 Enhanced

Now with FFmpeg 8.0+ support featuring hardware acceleration and performance improvements!

Requirements

Getting started

  1. Install Python 3.x
  2. Install Streamlink 5.1.x
  3. If you want to upload to any cloud storage using rclone, configure rclone.
  4. git clone https://github.com/piero0920/Twitch-Archive.git
  5. cd Twitch-Archive
  6. pip install -r requirements.txt
  7. Edit the .env.sample and rename it to .env
CLIENT-ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CLIENT-SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OAUTH-PRIVATE-TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # optional to record without ADS or download sub-only VODS
  1. Copy config.sample.json to config.json and edit it with your settings (username, quality, paths, etc.)
  2. run Python twitch-archive.py or for multiple streamers Python twitch-archive.py -u streamer

...