Categorygithub.com/itchio/wharf
module
0.0.0-20220124234656-189a01902d17
Repository: https://github.com/itchio/wharf.git
Documentation: pkg.go.dev

# README

wharf

Build Status build status codecov Go Report Card GoDoc MIT licensed

wharf is a protocol for incrementally transferring software builds over the network using minimal time/bandwidth.

It is used in production at https://itch.io to allow creators to quickly iterate & players to keep their library always up-to-date.

This repository contains the reference golang implementation of the wharf protocol, along with the reference protobuf definition files.

The complete spec is available online, as a book:

And can be contributed to via its GitHub repository:

See also

butler is the https://itch.io command-line tool and is a wharf client. It's the easiest way to try out wharf without having to code anything yourself.

Hacking on wharf

wharf is a pretty typical golang project, all its dependencies are open-source, it even has a few tests.

Regenerating protobuf code

protoc --go_out=. pwr/*.proto

protobuf v3 is required, as we use the 'proto3' syntax.

The tlc (containers) and bsdiff packages work similarly.

License

Licensed under MIT License, see LICENSE for details.

Contains modified code from the following projects:

# Packages

No description provided by the author
Package bsdiff is a generated protocol buffer package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package pwr is a generated protocol buffer package.
No description provided by the author
No description provided by the author
No description provided by the author
Package wire is a generated protocol buffer package.
Package wsync computes a list of operations needed to mutate one file into another file, re-using as much of the former as possible.
No description provided by the author