Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting started

Building

Loggerhead is a Rust crate. You need a recent stable Rust toolchain and a working Python environment (Breezy is invoked through PyO3 via breezyshim).

cargo build --release

The resulting binary is target/release/loggerhead-serve.

Running

Point loggerhead-serve at a branch or a directory of branches:

./target/release/loggerhead-serve ~/path/to/branch

By default the server listens on port 8080, so browse to http://localhost:8080/ to see the branch.

If you pass a directory that contains several branches, Loggerhead presents a simple directory listing at /, with each branch mounted under /<name>/.

Loggerhead re-reads the branch data on every request, so you can update your branches while the server is running and see the changes the next time you reload.

See loggerhead-serve for every command-line option.

Hiding branches

To hide a branch from Loggerhead, add the following to ~/.config/breezy/locations.conf under the branch's section:

[/path/to/branch]
http_serve = False