Skip to main content

Getting started

This walks you from zero to a running boincrs TUI connected to your local BOINC daemon. It takes about five minutes on a machine that already has BOINC installed.

1. Prerequisites

  • A local BOINC client running with GUI RPC enabled.
  • The GUI RPC password — typically in gui_rpc_auth.cfg (on Linux often at /etc/boinc-client/gui_rpc_auth.cfg).
  • Rust (stable) + cargo.
  • A reachable BOINC endpoint (default 127.0.0.1:31416).
  • Optional: project authenticator keys to auto-attach projects.
note

The GUI RPC password is not the same as your project website passwords. Find it in the gui_rpc_auth.cfg file that BOINC writes during install.

2. Clone and build

git clone https://github.com/jakenherman/boincrs.git
cd boincrs
cargo build --release

The release binary lands at:

  • Linux / macOS: ./target/release/boincrs
  • Windows: .\target\release\boincrs.exe

3. Configure the environment

Copy the template and fill in what applies:

cp .env.example .env

Minimum fields for a local run:

BOINCRS_ENDPOINT=127.0.0.1:31416
BOINCRS_PASSWORD_FILE=/etc/boinc-client/gui_rpc_auth.cfg

Optional auto-attach (see Configuration for the full list):

BOINCRS_PRIMEGRID_ACCOUNT_KEY=your_primegrid_authenticator
BOINCRS_ASTEROIDS_ACCOUNT_KEY=your_asteroids_authenticator

boincrs auto-loads .env at startup if one exists in the working directory. You can also source it manually:

set -a && source .env && set +a

4. Run it

cargo run
# or
./target/release/boincrs

You should see three panes — Projects, Tasks, Transfers — plus a Selected Task header at the top.

5. Learn the core keys

KeysAction
tab / shift-tabMove focus between panes
left / rightSame as above
j / k or arrowsMove selection within the focused pane
rRefresh (or force reconnect when retrying)
qQuit
y / n / EscConfirm / cancel destructive actions

Full list: Keyboard reference.

6. Verify

From the repo root:

cargo test

See Testing for live-daemon and integration options.

Troubleshooting

  • Auth fails on connect. Confirm BOINCRS_PASSWORD_FILE points at your gui_rpc_auth.cfg and that BOINC's GUI RPC is listening on the endpoint.
  • Blank panes. Press r to force a refresh; if the daemon is down, the UI will show retrying state with a countdown.
  • Colors look odd. Set NO_COLOR=1; boincrs uses text labels for all critical state so nothing important relies on color.
  • Need a snapshot for a bug report. Press D in the TUI to write a boincrs-diag-<epoch>.txt file.

Next: Configuration or Usage.