Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chunky

Version large files in a git repo without Git LFS. Splits any file over a size cap into sub-100MB chunks, gitignores the originals, and stores the chunks plus a checksum manifest in .chunky/. Rebuilds and hash-verifies on demand.

Use (from inside your video repo)

nix run github:you/chunky            # chunk: detect >100MB files, split into .chunky/, update .gitignore
nix run github:you/chunky#rebuild    # reassemble originals from .chunky/ and verify against the manifest
nix run github:you/chunky#verify     # re-check existing files against the manifest

Then commit .chunky/ and .gitignore. The big files stay ignored; a fresh clone runs #rebuild to restore them.

Knobs (env vars)

  • CHUNKY_THRESHOLD_MB — detection threshold (default 100)
  • CHUNKY_PIECE — chunk piece size, must stay under 100MB (default 95M)

Layout

  • .chunky/<path>.partNNN — byte chunks of each original (committed)
  • .chunky/manifest.sha256 — sha256 of each original (committed)
  • originals — gitignored, rebuilt locally

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages