whoisport 0.5.6 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +41 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,8 +1,23 @@
1
1
  # whoisport
2
2
 
3
- [![crates.io](https://img.shields.io/crates/v/whoisport.svg)](https://crates.io/crates/whoisport)
3
+ <!-- Where to get it -->
4
4
  [![CI](https://github.com/dpologdvinity/whoisport/actions/workflows/ci.yml/badge.svg)](https://github.com/dpologdvinity/whoisport/actions/workflows/ci.yml)
5
- [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
5
+ [![Release](https://img.shields.io/github/v/release/dpologdvinity/whoisport.svg)](https://github.com/dpologdvinity/whoisport/releases/latest)
6
+ [![crates.io](https://img.shields.io/crates/v/whoisport.svg)](https://crates.io/crates/whoisport)
7
+ [![PyPI](https://img.shields.io/pypi/v/whoisport.svg)](https://pypi.org/project/whoisport/)
8
+ [![npm](https://img.shields.io/npm/v/whoisport.svg)](https://www.npmjs.com/package/whoisport)
9
+ [![Homebrew](https://img.shields.io/badge/homebrew-dpologdvinity%2Ftap-FBB040.svg)](#install)
10
+
11
+ <!-- What it is -->
12
+ [![Platforms](https://img.shields.io/badge/platforms-Linux%20%7C%20macOS%20%7C%20Windows-informational.svg)](#install)
13
+ [![MSRV](https://img.shields.io/crates/msrv/whoisport.svg)](Cargo.toml)
14
+ [![License: MIT](https://img.shields.io/github/license/dpologdvinity/whoisport.svg)](LICENSE)
15
+ [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-FE5196.svg)](https://www.conventionalcommits.org/)
16
+
17
+ <!-- How it is doing -->
18
+ [![crates.io downloads](https://img.shields.io/crates/d/whoisport.svg)](https://crates.io/crates/whoisport)
19
+ [![GitHub downloads](https://img.shields.io/github/downloads/dpologdvinity/whoisport/total.svg)](https://github.com/dpologdvinity/whoisport/releases)
20
+ [![Last commit](https://img.shields.io/github/last-commit/dpologdvinity/whoisport.svg)](https://github.com/dpologdvinity/whoisport/commits/master)
6
21
 
7
22
  **Find out what is listening on a port, who started it, and stop it safely.**
8
23
  Works on Linux, macOS and Windows. One small binary, no runtime dependencies.
@@ -48,6 +63,8 @@ ports marked ? are owned by another user; run with sudo to see it
48
63
 
49
64
  | Platform | Command |
50
65
  |----------|---------|
66
+ | Linux, macOS | `curl -fsSL https://github.com/dpologdvinity/whoisport/releases/latest/download/install.sh \| sh` |
67
+ | Windows (PowerShell) | `irm https://github.com/dpologdvinity/whoisport/releases/latest/download/install.ps1 \| iex` |
51
68
  | Any, with Rust | `cargo binstall whoisport` (prebuilt) or `cargo install whoisport` (builds from source) |
52
69
  | Any, with Python | `pipx install whoisport` or `uvx whoisport` |
53
70
  | macOS, Linux | `brew install dpologdvinity/tap/whoisport` |
@@ -55,6 +72,28 @@ ports marked ? are owned by another user; run with sudo to see it
55
72
  | Debian, Ubuntu | download the `.deb` from [Releases](https://github.com/dpologdvinity/whoisport/releases), then `sudo apt install ./whoisport_*.deb` |
56
73
  | Fedora, RHEL | download the `.rpm` from [Releases](https://github.com/dpologdvinity/whoisport/releases), then `sudo dnf install ./whoisport-*.rpm` |
57
74
 
75
+ ### The one-line installers
76
+
77
+ `install.sh` (Linux, macOS) and `install.ps1` (Windows) find the binary for your machine,
78
+ download it, **check its SHA-256 against the release's `SHA256SUMS`**, and only then install
79
+ it. If the check fails, nothing is installed. They need no administrator rights: the
80
+ binary goes to `~/.local/bin` (Linux, macOS) or `%LOCALAPPDATA%\Programs\whoisport`
81
+ (Windows, which is also added to your user `PATH`).
82
+
83
+ ```sh
84
+ # a specific version, or a different directory
85
+ curl -fsSL https://github.com/dpologdvinity/whoisport/releases/latest/download/install.sh | sh -s -- --version v0.5.8 --dir /usr/local/bin
86
+ ```
87
+
88
+ ```powershell
89
+ $env:WHOISPORT_VERSION = 'v0.5.8'; irm https://github.com/dpologdvinity/whoisport/releases/latest/download/install.ps1 | iex
90
+ ```
91
+
92
+ Piping a download into a shell means trusting it, so read the script first if you like
93
+ ([`install.sh`](install.sh), [`install.ps1`](install.ps1)); to pin it, use the URL of a
94
+ specific release, `…/releases/download/v0.5.8/install.sh`. To uninstall, delete the
95
+ `whoisport` binary from that directory.
96
+
58
97
  Or download a binary from the [Releases page](https://github.com/dpologdvinity/whoisport/releases):
59
98
  Linux (static, x86_64 and aarch64), macOS (Apple silicon and Intel) and Windows (x86_64).
60
99
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "whoisport",
3
3
  "description": "Show what is listening on a TCP or UDP port, and optionally kill it",
4
- "version": "0.5.6",
4
+ "version": "0.5.8",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -28,10 +28,10 @@
28
28
  "node": ">=16"
29
29
  },
30
30
  "optionalDependencies": {
31
- "whoisport-linux-x64": "0.5.6",
32
- "whoisport-linux-arm64": "0.5.6",
33
- "whoisport-darwin-x64": "0.5.6",
34
- "whoisport-darwin-arm64": "0.5.6",
35
- "whoisport-windows-x64": "0.5.6"
31
+ "whoisport-linux-x64": "0.5.8",
32
+ "whoisport-linux-arm64": "0.5.8",
33
+ "whoisport-darwin-x64": "0.5.8",
34
+ "whoisport-darwin-arm64": "0.5.8",
35
+ "whoisport-windows-x64": "0.5.8"
36
36
  }
37
37
  }