Add Pi package extension

This commit is contained in:
Federico Jaramillo Martinez
2026-05-09 20:30:40 +02:00
parent fc24e06324
commit 8b41a2ac12
9 changed files with 211 additions and 14 deletions
+18
View File
@@ -132,6 +132,24 @@ One-line install is also available for users who prefer it:
curl -fsSL https://raw.githubusercontent.com/jmfederico/pi-web/main/install.sh | sh
```
Pi Web is also published as a Pi package. Installing it through Pi exposes a `/pi-web` command inside Pi:
```bash
pi install npm:@jmfederico/pi-web
```
Then in Pi:
```text
/pi-web install
/pi-web status
/pi-web logs
/pi-web restart
/pi-web doctor
```
The Pi command is a convenience wrapper around the same service installer. `/pi-web logs` shows the last 100 journal lines; use `pi-web logs` in a shell when you want to follow logs continuously.
Advanced users may run the binaries however they prefer:
```bash