home-hosted 0.9.7 β 0.9.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.
- package/README.md +19 -3
- package/dist/cli.js +433 -80
- package/dist/cli.js.map +1 -1
- package/docs/RESTORE_DEMO.md +35 -9
- package/docs/UI_CREATION.md +2 -2
- package/docs/demo/blank-host-restore.sh +10 -9
- package/package.json +1 -1
- package/uis/stock/dist/assets/de-bpsNMi6m.js +1 -0
- package/uis/stock/dist/assets/es-DDmL2M4L.js +1 -0
- package/uis/stock/dist/assets/fr-Bt_Ada9D.js +1 -0
- package/uis/stock/dist/assets/index-BdB75ugb.css +2 -0
- package/uis/stock/dist/assets/{index-B_sxxM8r.js β index-CC5-LZ39.js} +13 -11
- package/uis/stock/dist/assets/ja-BBk-_Z4Q.js +1 -0
- package/uis/stock/dist/assets/ko-Cd55rvyJ.js +1 -0
- package/uis/stock/dist/assets/ru-Dbon-iuU.js +1 -0
- package/uis/stock/dist/assets/vi-CjeD5IZq.js +1 -0
- package/uis/stock/dist/assets/zh-CN-CAMCsc0B.js +1 -0
- package/uis/stock/dist/index.html +2 -2
- package/uis/stock/dist/ui.json +3 -3
- package/uis/stock/dist/assets/de-C34BkPFS.js +0 -1
- package/uis/stock/dist/assets/es-BAj9Zo80.js +0 -1
- package/uis/stock/dist/assets/fr-DGxemstM.js +0 -1
- package/uis/stock/dist/assets/index-BtE1z5wU.css +0 -2
- package/uis/stock/dist/assets/ja-CcXwl2h6.js +0 -1
- package/uis/stock/dist/assets/ko-CqnWVcYB.js +0 -1
- package/uis/stock/dist/assets/ru-Dq1ya0_t.js +0 -1
- package/uis/stock/dist/assets/vi-_jghKc3d.js +0 -1
- package/uis/stock/dist/assets/zh-CN-__2SVCrZ.js +0 -1
package/README.md
CHANGED
|
@@ -285,7 +285,7 @@ can be told what to be: *"Help me build a UI for home-hosted: nostalgic game the
|
|
|
285
285
|
| π **Ordered startup** | `dependsOn` waits for a dependency to be *healthy* β not merely spawned. `stop-all`/`down` stop dependents before their dependencies; stopping one server names the dependents it leaves running. [SERVERS.md](./docs/SERVERS.md#field-reference) |
|
|
286
286
|
| π **Logs** | Live per-server stream, buffer plus rotated files on disk, search, filter to one stream, download, one click to clear. |
|
|
287
287
|
| π **Resources** | CPU and RSS of the whole process tree, with an optional memory ceiling that triggers a restart. |
|
|
288
|
-
| π‘οΈ **Host vitals** |
|
|
288
|
+
| π‘οΈ **Host vitals** | CPU usage, memory, swap, disk and CPU temperature, plus the load average as a per-cpu count, with thresholds that notify once and again on recovery. |
|
|
289
289
|
| π€ **Token API** | Scripts and agents drive it with `Authorization: Bearer` β no browser, no session. [β](#-agents-scripts-and-tools) |
|
|
290
290
|
| π **Notifications** | One list of **destinations** β Telegram chats and webhooks (ntfy, Discord, Slack, your own endpoint) β on crash, unhealthy, forced restart, recovery, host thresholds and DNS changes. The event toggles and throttle are set once, and each destination may inherit them or carry its own. [Setup here](./docs/NOTIFICATIONS.md). |
|
|
291
291
|
| π **Dynamic DNS** | Keep hostnames pointed at your public IP β Cloudflare, Namecheap, Spaceship, Porkbun, GoDaddy, Gandi and more. [DDNS.md](./docs/DDNS.md) |
|
|
@@ -360,7 +360,7 @@ restarts itself), and how hand-edits are validated: [SERVERS.md](./docs/SERVERS.
|
|
|
360
360
|
| `home-hosted stop <id>` | stop one server, nothing else (`--workspace <id>`) |
|
|
361
361
|
| `home-hosted restart <id>` | restart one server, nothing else (`--workspace <id>`) β the same as the panel's per-server Restart |
|
|
362
362
|
| `home-hosted logs` | read the panel's own console output β the file `up` redirects it into (`--lines`, `--follow`, `--json`) |
|
|
363
|
-
| `home-hosted backup` | list, create or restore an archive without a browser, **and without the panel running** (`create --all --confirm`, `restore <name> --all --confirm`, `--password`, `--include`) β see [RESTORE_DEMO.md](./docs/RESTORE_DEMO.md), and `dump`/`load` hooks in [SERVERS.md](./docs/SERVERS.md) |
|
|
363
|
+
| `home-hosted backup` | list, create or restore an archive without a browser, **and without the panel running** (`create --all --exclude global:secrets --confirm`, `restore <name> --all --confirm`, `--password`, `--include`, `--exclude`) β see [RESTORE_DEMO.md](./docs/RESTORE_DEMO.md), and `dump`/`load` hooks in [SERVERS.md](./docs/SERVERS.md) |
|
|
364
364
|
| `home-hosted set-password` | set the panel password without opening a browser; a running panel picks it up at once and signs every existing session out |
|
|
365
365
|
| `home-hosted set-token` | set the API token scripts and agents use (`--generate`, `--clear`) |
|
|
366
366
|
| `home-hosted migrate` | bring every config up to the schema this release understands (`--dry-run`, `--yes`) |
|
|
@@ -380,7 +380,7 @@ up -p/--port --host --open --no-autostart --foreground --print-co
|
|
|
380
380
|
down (no flags)
|
|
381
381
|
status --json
|
|
382
382
|
logs --lines <n> --follow --json
|
|
383
|
-
backup [list|create|restore] [<name>] (--include <ids> | --all) --password --confirm --json
|
|
383
|
+
backup [list|create|restore] [<name>] (--include <ids> | --all) [--exclude <ids>] --password --confirm --json
|
|
384
384
|
start, stop <id> [-w/--workspace <id>] (both need the panel up)
|
|
385
385
|
restart [<id>] [-w/--workspace <id>] (no id: the panel; with one: that server)
|
|
386
386
|
init --dir --name --pm --no-install -y/--yes
|
|
@@ -518,6 +518,22 @@ stores `intervalMs` β with a retention of its own (`Keep automatic`). The two
|
|
|
518
518
|
room for its own. Both land in the same directory, and an automatic archive is named `auto-β¦` so you
|
|
519
519
|
can tell them apart β a name you drop in by hand with that prefix is treated as one, so do not use it.
|
|
520
520
|
|
|
521
|
+
**What an automatic backup contains** is yours to choose: *What an automatic backup contains β
|
|
522
|
+
Chooseβ¦* offers the same two-level list as *Create backupβ¦*, and writes the result into the schedule
|
|
523
|
+
as `scope`. Two modes, the same two the CLI has:
|
|
524
|
+
|
|
525
|
+
- **Only these** β the archive carries only what you tick. The command-line spelling is
|
|
526
|
+
`--include <ids>`.
|
|
527
|
+
- **Everything except** β the archive carries everything but what you tick, *including workspaces you
|
|
528
|
+
add later*. The command-line spelling is `--all --exclude <ids>`.
|
|
529
|
+
|
|
530
|
+
Leave it at **Everything** (no `scope` in the file) and the schedule keeps taking the whole default
|
|
531
|
+
scope β every workspace plus `includePaths` β which is exactly what a schedule written before this
|
|
532
|
+
existed means. That is also the only setting that follows a workspace you add tomorrow; a stored list
|
|
533
|
+
of ids does not, because it names today's ids. Ticking everything in the dialog is therefore saved as
|
|
534
|
+
no scope at all, not as the list it currently amounts to. An empty selection is refused: it cannot be
|
|
535
|
+
told apart from "everything" in the file, and it would capture nothing.
|
|
536
|
+
|
|
521
537
|
<details>
|
|
522
538
|
<summary><b>π Restoring a secret</b></summary>
|
|
523
539
|
|