Onboarding and help center for BOS
  • Rust 70.2%
  • Svelte 18.5%
  • TypeScript 7.1%
  • CSS 1.8%
  • Shell 1%
  • Other 1.4%
Find a file
2026-11-23 15:22:12 +08:00
.forgejo/workflows Merge pull request 'release: gate stable on a soaked beta RC' (#19) from feature/eco-93-promotion-gate into main 2026-11-06 21:43:50 +08:00
app fix: stable Welcome footer and a visible tour hand-off (HELP-21) 2026-11-07 01:34:17 +08:00
ci ci: bump shared CI to the artifact-only copyback (ECO-110) 2026-11-07 11:27:15 +08:00
content docs(help): correct stopped-marker and shortcut claims (HELP-10) 2026-11-07 19:10:49 +08:00
crates docs(help): correct stopped-marker and shortcut claims (HELP-10) 2026-11-07 19:10:49 +08:00
frontend fix: stable Welcome footer and a visible tour hand-off (HELP-21) 2026-11-07 01:34:17 +08:00
packaging feat: new help window on the bos-settings stack 2026-10-21 17:18:44 +08:00
scripts docs(help): salvage breadbug privacy guides and fix review blockers (HELP-10) 2026-11-07 18:46:17 +08:00
.gitignore feat: new help window on the bos-settings stack 2026-10-21 17:18:44 +08:00
AGENTS.md feat: new help window on the bos-settings stack 2026-10-21 17:18:44 +08:00
bakery.toml feat: new help window on the bos-settings stack 2026-10-21 17:18:44 +08:00
Cargo.lock fix: resolve guides from the bakery install root and embedded fallback (HELP-20) 2026-11-07 00:52:16 +08:00
Cargo.toml fix: resolve guides from the bakery install root and embedded fallback (HELP-20) 2026-11-07 00:52:16 +08:00
CONTRIBUTING.md ci: build dev track and PR checks against dependency main 2026-09-28 06:55:01 +08:00
EVENTS.md Merge pull request 'Align EVENTS.md with BESS-001' (#34) from feature/events-md-compliance into main 2026-11-23 15:22:12 +08:00
LICENSE Add standalone repo scaffolding (README, packaging, CI) 2026-07-15 19:00:30 +08:00
README.md fix: resolve guides from the bakery install root and embedded fallback (HELP-20) 2026-11-07 00:52:16 +08:00

breadhelp

Onboarding and help center for BOS (Bread Operating System): a guide library, a keybind reference read live from ~/.config/hypr/binds.json (Super + / opens it), Ctrl+K search over guides, keybinds, commands and fixes, a troubleshooter with one-click fixes, a short first-run setup (timezone, network, updates, a first snapshot), and a live guided tour overlay that spotlights the real on-screen bread* apps (breadbar, breadbox, ...) instead of walking through a static wizard.

Two binaries:

  • breadhelp: the help window. Tauri (Rust in app/, Svelte in frontend/), the same stack and look as bos-settings. Closing it quits. "Keep ready in the background" (sidebar, off by default) keeps it loaded and hidden instead: Super + / then paints in about 170 ms instead of about 620 ms, for about 200 MB of memory while closed. A hidden resident window reports itself to memory managers and can be unloaded (see EVENTS.md).
  • breadhelp-tour: the tour overlay. Native GTK4 + gtk4-layer-shell, in crates/breadhelp-tour. Started by the help window; exits when the tour ends.

Both share crates/breadhelp-core (content, keybinds, state, setup, fixes).

Split out of the bos repo into its own repo so a breadhelp release doesn't require a BOS ISO release, and vice versa. A bakery product (bakery.toml + bakery CI) and baked into the BOS ISO, not pacman-packaged.

Building

npm --prefix frontend ci && npm --prefix frontend run build
cargo build --release                                              # breadhelp
cargo build --release --manifest-path crates/breadhelp-tour/Cargo.toml   # breadhelp-tour

The tour has its own Cargo workspace on purpose; see the root Cargo.toml. CI runs the same steps through ci/build-all.sh and ci/test-all.sh.

For frontend work, cargo tauri dev in app/ (or npm --prefix frontend run dev and a debug build) gives live reload.

Packaging / releasing

See CONTRIBUTING.md for the single-trunk + tag model. main publishes a bakery dev build; a vX.Y.Z-rc.N tag publishes beta; a vX.Y.Z tag publishes stable. The leftover packaging/ tree is not a pacman source; bakery is canonical (see packaging/README.md).

Content layout

Guides, the onboarding tour and the symptom trees resolve in this order:

  1. ~/.local/share/breadhelp/content/ (user overrides/additions)
  2. /usr/local/share/breadhelp/content/ (bakery system install on BOS: /etc/bakery/config.toml sets prefix = "/usr/local")
  3. /usr/share/breadhelp/content/ (manual or distro system install)
  4. The content/ tree compiled into both binaries as a fallback

A colliding guide directory is replaced wholesale by the higher-precedence copy; there is no field-level merge. bakery.toml ships content/ as content.tar.gz, which bakery extracts to <prefix>/share/breadhelp/content, and the BOS ISO bake copies the builder's extracted tree to /usr/local/share/breadhelp/content. The embedded copy keeps the Learn tab populated when an install's data archive is missing (HELP-20) and lets a source build run without a checkout.

bread event integration

Works the same with or without breadd. When the main window is shown, breadhelp publishes bread.help.opened. See EVENTS.md.