Skip to content

v0.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 00:19
· 53 commits to main since this release
9166722

Borg 0.12.0 maps the networks around you on the Neighbors page and listens for the devices that announce themselves. It also finds names with typos in them and shows every long job in one panel, with toasts when jobs start and end. Homebrew installs it now, as borg and as borgcmd.

Network

  • A map of your networks. 5 Neighbors gives each interface that is up a heading, tunnels and VPNs included. Under it are the devices on its link, the networks it reaches through a router or a tunnel, and an Internet row for its way out. The way internet traffic takes right now is marked in use, so Wi-Fi and a cable, or a VPN on top, show side by side.
  • Routed networks. Borg reads them from the route table, and D finds more. It asks first, then tries .1 and .254 of up to 512 /24 networks through the way out and traces each answer. Hosts behind a router show via and the router.
  • Scan any network. S opens Scan network on the selected row's network. ↑ and ↓ step through the attached and routed ones, and you can type any network from /24 to /30.
  • Listen for neighbors. H listens to the broadcast and multicast traffic on an interface and adds the hosts it hears, with the names and device types they announce over ARP, IPv6 neighbor discovery, mDNS, SSDP, NetBIOS, LLMNR and DHCP. LLDP and CDP name the switch and port. Borg sends nothing while it listens. Listening runs as a job in Alt-J for 30 seconds, 1 or 5 minutes, or until you stop it, and works on tunnels that carry Ethernet, such as OpenVPN tap devices and ZeroTier.
  • Reports. Ctrl-S saves a port scan or the Neighbors page as Markdown, JSON or CSV, readable by you alone. Borg keeps the last 10 scans of each host, and O opens them.

Jobs

  • Jobs panel. Alt-J lists copies, moves, deletes, archive changes, replaces, searches, size counts, index builds, port scans and listening, running and finished. Space or Enter folds a job's details, and the selected job shows its keys as buttons.
  • Toasts. The bottom-right corner says when a job starts, ends or waits for an answer. Alt-X closes them, and Alt-G opens what the newest finished job made. A question that comes while you type waits until your keys rest for 2 seconds. Job notifications in F9 → Options → Settings turns the toasts off.

Find

  • Names with typos. Ctrl-F, quick find and the results filter also find names close to what you typed: one typo in a word of 4 to 8 letters, two in a longer one, letters left out (qtrly finds quarterly-sales.csv) and the digits of a number in any order (1986 finds scan_8619.pdf). Digits are never changed, so 2024 never finds 2023. Also find names with typos and shuffled digits in the Ctrl-F dialog, typos:no in a query or typos under [search] turns it off.
  • Sorted by match. Name searches open with exact names first, then close ones, and the matched letters are underlined. Search → Sort by match brings that order back after another sort.

Process watcher (Linux)

  • Freezing is off by default. Freeze: what the watcher catches, now in the Command menu below Watch: unusual process starts and in Options → Plugins, turns it on. While both are on, the entry shows learning, waits for review or active. Earlier versions wrote freeze = true into config.toml whenever they saved a setting, so check this entry before you turn the watcher on.
  • A shell that ends quickly, such as a preinstall script during pnpm install in a Docker build, no longer raises Shell on a network socket.

Fixes

  • After you type and erase text at the command line, Borg no longer says the shell is busy when an update or another command needs it.
  • The update offer is shorter. Its footer lists the keys.

Homebrew

brew install 0xcd21h/tap/borg-commander installs Borg on macOS and Linux, with no developer tools needed. Homebrew links it as borg and as borgcmd. Where BorgBackup already owns borg, Borg runs as borgcmd, and the background service and the agent setup find it under either name.

Updating

From 0.11.0, borg update installs it and moves your open sessions to the new version.

From 0.8.3 to 0.10.0, run borg update and then restart Borg once. If you run the background service, also run borg service stop and then borg service start.

Borg 0.8.2 and earlier cannot download an update larger than 10 MiB. Install again instead:

curl -fsSL https://raw.githubusercontent.com/0xcd21h/borg-commander/main/scripts/install.sh | sh

With Homebrew, run brew upgrade borg-commander and restart Borg. Cargo installations should use Cargo.

Downloads

Borg binaries are provided for Linux and macOS on x86_64 and ARM64. Linux Borg and relay binaries are static MUSL builds. Each archive has a SHA-256 checksum file and its Ed25519 signature (.sha256.sig).

The relay container image is ghcr.io/0xcd21h/borg-relay:0.12.0 for linux/amd64 and linux/arm64.