tabby-server-stats 1.1.0 → 1.1.2
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.
- package/README.md +60 -27
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,27 +1,60 @@
|
|
|
1
|
-
Tabby Server Stats Plugin
|
|
2
|
-
|
|
3
|
-
A plugin for [Tabby Terminal](https://github.com/Eugeny/tabby) that displays real-time server statistics (CPU, RAM, Disk, Network) when connected via SSH.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
# **Tabby Server Stats Plugin**
|
|
2
|
+
|
|
3
|
+
A plugin for [Tabby Terminal](https://github.com/Eugeny/tabby) that displays real-time server statistics (CPU, RAM, Disk, Network) and **custom metrics** when connected via SSH.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## **Features**
|
|
8
|
+
|
|
9
|
+
* **Real-time Monitoring**: Displays CPU usage, RAM usage, Disk usage, and Network upload/download speeds out of the box.
|
|
10
|
+
* **Custom Metrics Engine**: Define your own metrics using shell commands (e.g., GPU usage, Temperature, Docker container count).
|
|
11
|
+
* **Progress Bars**: Visual bars for percentage-based data.
|
|
12
|
+
* **Text Values**: Display raw data with units (e.g., "45°C", "3 Users").
|
|
13
|
+
* **Preset Library**: One-click import for common metrics (GPU, Uptime, Temperature, etc.) from the community repository.
|
|
14
|
+
* **Flexible UI**:
|
|
15
|
+
* **Bottom Bar Mode**: An unobtrusive bar at the bottom of the terminal (docked inside the pane, won't overlap sidebars).
|
|
16
|
+
* **Floating Panel Mode**: A draggable widget that floats over the content.
|
|
17
|
+
* **Highly Customizable**:
|
|
18
|
+
* **Drag & Drop Sorting**: Easily reorder metrics in the settings.
|
|
19
|
+
* **Visual Customization**: Change chart colors, opacity, and layout (Vertical/Horizontal).
|
|
20
|
+
* **Multi-language Support**: Interface available in English and Chinese.
|
|
21
|
+
* **Zero Dependency**: Uses standard Linux commands via the SSH channel. No agent installation required on the server.
|
|
22
|
+
|
|
23
|
+
## **Installation**
|
|
24
|
+
|
|
25
|
+
1. Open **Tabby Settings**.
|
|
26
|
+
2. Go to **Plugins**.
|
|
27
|
+
3. Search for tabby-server-stats.
|
|
28
|
+
4. Click **Install**.
|
|
29
|
+
|
|
30
|
+
## **Usage**
|
|
31
|
+
|
|
32
|
+
The stats will automatically appear when you connect to a Linux server via SSH.
|
|
33
|
+
You can toggle visibility using the "Activity" icon in the toolbar.
|
|
34
|
+
|
|
35
|
+
### **How to use Custom Metrics**
|
|
36
|
+
|
|
37
|
+
Go to **Settings \-\> Server Stats** to manage your metrics.
|
|
38
|
+
|
|
39
|
+
#### **1\. Using the Preset Library (Recommended)**
|
|
40
|
+
|
|
41
|
+
1. Click the **"Fetch from GitHub"** button in the settings panel.
|
|
42
|
+
2. Browse the list of community presets (e.g., NVIDIA GPU, CPU Temp, Uptime).
|
|
43
|
+
3. Click **Add** next to the metric you want.
|
|
44
|
+
4. It will immediately appear in your status bar.
|
|
45
|
+
|
|
46
|
+
#### **2\. Adding Manually**
|
|
47
|
+
|
|
48
|
+
You can define any metric by providing a shell command.
|
|
49
|
+
|
|
50
|
+
* **Label**: Name of the metric (e.g., "GPU").
|
|
51
|
+
* **Command**: A shell command that outputs a **single number or string**.
|
|
52
|
+
* *Example (NVidia GPU)*: `nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits`
|
|
53
|
+
* *Example (Active Users)*: `who | grep -c pts`
|
|
54
|
+
* **Type**:
|
|
55
|
+
* **Progress Bar**: Requires the command to return a number between 0-100.
|
|
56
|
+
* **Text Value**: Displays whatever the command outputs.
|
|
57
|
+
|
|
58
|
+
## **License**
|
|
59
|
+
|
|
60
|
+
MIT
|