Added git lfs
This commit is contained in:
parent
e5e60999bf
commit
e92f36474a
2 changed files with 40 additions and 1 deletions
18
.gitattributes
vendored
18
.gitattributes
vendored
|
|
@ -1,6 +1,22 @@
|
|||
# Git LFS tracking for large media and binaries
|
||||
|
||||
# Binaries in bin/
|
||||
bin/* filter=lfs diff=lfs merge=lfs -text
|
||||
bin/TwitchDownloaderCLI* filter=lfs diff=lfs merge=lfs -text
|
||||
bin/ffmpeg filter=lfs diff=lfs merge=lfs -text
|
||||
# Video files under archive (raw/ and common video extensions)
|
||||
archive/**/video/** filter=lfs diff=lfs merge=lfs -text
|
||||
archive/**/video/raw/** filter=lfs diff=lfs merge=lfs -text
|
||||
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
||||
*.mkv filter=lfs diff=lfs merge=lfs -text
|
||||
*.mov filter=lfs diff=lfs merge=lfs -text
|
||||
# Large archives and executables
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.exe filter=lfs diff=lfs merge=lfs -text
|
||||
*.dll filter=lfs diff=lfs merge=lfs -text
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
bin/ffmpeg filter=lfs diff=lfs merge=lfs -text
|
||||
bin/ffmpeg.exe filter=lfs diff=lfs merge=lfs -text
|
||||
bin/TwitchDownloaderCLI filter=lfs diff=lfs merge=lfs -text
|
||||
bin/TwitchDownloaderCLI.exe filter=lfs diff=lfs merge=lfs -text
|
||||
|
|
|
|||
23
README.md
23
README.md
|
|
@ -1,6 +1,29 @@
|
|||
# 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:
|
||||
|
||||
```powershell
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue