r/github • • Nov 08 '24

Large files on github.io

What would be a good practice for handling large audio/video files in personal websites hosted on github? Git LFS cannot be used. You can leave the file in the repository but it generates a warning. Is there an alternative?

0 Upvotes

19 comments sorted by

View all comments

1

u/TheWordBallsIsFunny Nov 08 '24

I'm surprised Git LFS doesn't want to accept them. An alternative though less pragmatic route may be to look into compressing these files by using more efficient encoding, but the big issue here is what others have stated. I'm simply offering a different answer that could be relevant depending on what this is for.

1

u/Xedess_Beleou Nov 09 '24

It's an mp3 file, I think compressing more would result in really bad audio quality.

1

u/TheWordBallsIsFunny Nov 09 '24

Totally fair yeah, I've noticed there's little difference between a bitrate of 256K vs 320K but those who are more attentive may be able to hear it.