Wharf does two patching phases btw, there’s the initial rsync-style patch generated locally by butler for the person uploading. Then it does a second server side pass with bsdiff to generated optimized patch for players. You can run all these stages locally with butler, more info here: https://itch.io/docs/butler/offline.html
Keep me updated, curious to see how your project turns out.