Comment by api_or_ipa
3 years ago
Oh man ~180mb to build a _book_. It's 2023, why hasn't someone figured out a good way to check in photos and other binary objects into a git repo? I'd expect someone in the latex or ML community to have build a pre-commit hook to, I don't know, link & upload to S3 or something, right?
I think git (and vcs in general) could be revolutionary to the way experts in all fields including law, medicine, book editing & publishing, etc can collaborate and track changes on shared documents, but yeah, we really haven't figured out how to handle necessary accoutrements like images without blowing up the repo size.
Otherwise, definitely enjoyed seeing a project layout using directories for chapters. Might crib (with attribution!) the project layout next time I feel like writing something.
I'm not sure what you're suggesting. If you want to version control your images you can, and then they will use up size, if you don't want to, don't version control them. In github, you can also just download the master branch as a zip, instead of cloning, if you don't want the whole history.
Ha, I tried to download the epub file and drop it into Send to Kindle. No go, the limit is 50MB (file is 87MB). I was successful directly importing the pdf version into Kindle.
No go for the PDF for me. They’re all too large. Why even produce an ebook if it’s too large to fit on the most popular ereader? It’s only 177 pages too.
Lots of images, I think. Maybe they are not optimally compressed.
perhaps this is the tool you want?
https://github.com/plaidml/git-big
That's exactly what I was thinking. Super cool.