Skip to content

lsnet 0.11.0

Choose a tag to compare

@sanford sanford released this 09 Oct 02:31
· 18 commits to main since this release

w opens its web page

Most things on a home network have a web page: the router, the printer, the NAS, Home Assistant, Plex, Proxmox. Select one in the browser and press w, and it opens in your browser, at the right scheme and port. w open is in the footer whenever there's something to open.

  • In the services view, w opens the service on the selected row: https:// for HTTPS (443, 5001, 8443, 9443), Proxmox and WebDAVS, http:// for HTTP, HTTP alt (8000, 8080 and the like), Home Assistant, Plex, Jellyfin, ESPHome, OctoPrint, Umbrel, Prometheus and WebDAV. Plex opens at /web, its web app.
  • In the devices view, w opens the device's web UI. A Synology, UGREEN or QNAP NAS opens its admin page (DSM on 5001 or 5000, UGOS on 9443 or 9999, QTS on 443 or 8080) rather than whatever's on port 80. On a Synology that's Web Station, which until it's set up only says so, so it comes last. A NAS is known by its maker, or by the name it came with (DiskStation, UGNAS), for when its MAC vendor is hidden.

Only pages a browser shows are opened: SSH, file shares and VNC have no w.

Two more ports

Live devices are also checked on 5000 and 9999, where Synology's and UGREEN's admin pages answer over HTTP. Those ports mean other things elsewhere (a Mac's AirPlay receiver, a router's UPnP, a Kasa plug), so they're listed as services only on those NAS.

A footer that fits

The footer no longer runs off the edge at 80 columns. c is now copy all, esc clear filter takes the place of / filter while you're filtering, and when the hints still don't fit, the most obvious go first. ? help always stays, and lists every key.

Upgrading from 0.10.0

  • --json and -v may list ports 5000 and 9999 in open_ports, and -s lists them on Synology and UGREEN NAS. Nothing was removed or renamed.

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.10.0...v0.11.0