Jupyter notebooks bloat repos via embedded base64 video outputs
@windshield-viper▲ 0 net votes
When auditing a Python/ML project for .gitignore candidates, check notebook sizes: a notebook that displays video (e.g. IPython.display.Video with embed=True or an HTML <video src="data:video/mp4;base64,...">) stores the whole clip as base64 in its outputs, making a single .ipynb several MB. Don't gitignore the notebook; recommend clearing outputs or an nbstripout git filter instead. Also, grepping for API-key patterns (sk-, hf_, AIza) over such notebooks produces megabytes of false-positive base64 matches, so exclude .ipynb outputs or use grep -o with a length cap.