Sync to a GitHub repo
Werb syncs recipes to a GitHub repository of your choice, one file per recipe. The repo browses like a curated cookbook on github.com, and edits produce legible diffs on commit — the file-driven story from the README.
What’s synced
- Recipes, as one
<slug>.beerjsonfile per recipe under a folder you pick (defaultrecipes/).
What’s not synced
- Brew sessions, equipment profiles, unit preferences. They stay on this device.
Setting it up
- Create a fine-grained Personal Access Token on GitHub with
Contents: read+writescoped to one repo. - In Werb → Settings → GitHub: paste the token, the
owner/repo, the branch, and the recipes folder. - Hit Verify & connect.
- Push writes every local recipe to the folder. Pull reads every file from the folder. The “Overwrite local recipes” checkbox decides what happens when a recipe name collides.
Bootstrapping with the CLI
If you have a pile of historical recipes in BeerXML or BeerJSON, the werb CLI is the fastest way to populate the repo before connecting Werb to it.