Skip to content

lsnet 0.10.0

Choose a tag to compare

@sanford sanford released this 09 Oct 01:58
· 26 commits to main since this release

Tabs for devices and services

The browser's header is now two lines. The first is lsnet and its tabs, 1 Devices and 2 Services: press 1 or 2 to switch. The second sums up the scan in one line: what was scanned, what it's still waiting for, how many addresses are wrong (a conflict, self-assigned or off-subnet; the device's details say why), and anything it couldn't see, like the tip to run with sudo.

What changed since last time is no longer spelled out in the header. The list's marks (+ new, → moved, ~ renamed, - missing) still show it, and printed tables still end with the summary line.

Copy any line of the details

Tab now goes into the details pane (→ and l do too). ↑ and ↓ move through its lines one at a time, and Enter or c copies the one you're on: the MAC address, the hostname, a Bonjour service's name, or just the value of a TXT record (AppleTV14,1 from model = AppleTV14,1). Tab, ←, h or Esc goes back to the list. In the list, c still copies all the details, and Enter or y the IP address.

Narrow terminals

Below 80 columns (was 100), the details no longer squeeze in under the list. The list has the screen, and Tab shows the selected device's details in its place.

Services

In the services view, the port is in bold, so it stands out down a list of one device's services.

Upgrading from 0.9.0

Was Now
Tab switched between devices and services goes into the details and back; 1 and 2 switch
h showed the help goes back from the details to the list; ? shows the help
Below 100 columns details under the list below 80, the list or the details

Printed tables and --json haven't changed.

Download

  • macOS (Apple silicon): brew install sanford/tap/lsnet, or download lsnet-macos-arm64.tar.gz below (signed and notarized)
  • Windows: scoop install sanford/lsnet, or download lsnet-windows-x64.zip below
  • Anywhere with Rust: cargo install lsnet

Full changes: v0.9.0...v0.10.0