@jamiexiongr/panda-hub 0.1.9 → 0.1.11
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 +32 -32
- package/bin/panda-hub.cjs +3 -3
- package/dist/chunk-ABDBJQSF.mjs +37896 -0
- package/dist/{chunk-AEQMWH7D.mjs → chunk-JY3C7BVD.mjs} +8 -1
- package/dist/{chunk-ACDZTJKM.mjs → chunk-QEWCSAJZ.mjs} +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/{hub-web-push-KM4VOXLQ.mjs → hub-web-push-C4D7EV3C.mjs} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{src-MV7FXZYF.mjs → src-YQZMKGKR.mjs} +45 -2
- package/dist/web/assets/{diagnostics-page-l9_xAlKR.js → diagnostics-page-alYFKOv4.js} +1 -1
- package/dist/web/assets/index-CUZJj6Ss.css +1 -0
- package/dist/web/assets/index-DamKy_Z8.js +142 -0
- package/dist/web/assets/{session-diff-preview-BEUxjpKW.js → session-diff-preview-Dum-BJbr.js} +1 -1
- package/dist/web/assets/web-BabjKXO0.js +1 -0
- package/dist/web/assets/web-C6gTc3M_.js +1 -0
- package/dist/web/assets/web-CvRFts-H.js +1 -0
- package/dist/web/assets/web-NGsqRsgv.js +1 -0
- package/dist/web/assets/web-lpHs9Cyy.js +1 -0
- package/dist/web/icon.svg +1 -1
- package/dist/web/index.html +5 -5
- package/dist/web/panda-ink-logo.svg +70 -70
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-WFHIGEWQ.mjs +0 -12409
- package/dist/web/assets/index-CS-6-Vd4.css +0 -1
- package/dist/web/assets/index-CYNrVOF2.js +0 -131
package/README.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# @jamiexiongr/panda-hub
|
|
2
|
-
|
|
3
|
-
Published hub runtime for Panda, including the built web UI.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
panda-hub
|
|
9
|
-
panda-hub tailscareserv
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
`tailscareserv` and `--tailscale-serve` both enable automatic `tailscale serve` publishing.
|
|
13
|
-
|
|
14
|
-
When enabled, hub startup will:
|
|
15
|
-
|
|
16
|
-
- detect whether `tailscale` is available and online
|
|
17
|
-
- run `tailscale serve --bg`
|
|
18
|
-
- print the generated Tailscale HTTPS URL in the startup log
|
|
19
|
-
|
|
20
|
-
## Environment
|
|
21
|
-
|
|
22
|
-
- `PANDA_HUB_PORT`
|
|
23
|
-
Local hub listen port. Default: `4343`
|
|
24
|
-
- `PANDA_HUB_TAILSCALE_SERVE_PORT`
|
|
25
|
-
Tailscale HTTPS port. Default: `443`
|
|
26
|
-
- `PANDA_TAILSCALE_SERVE=1`
|
|
27
|
-
Optional env alternative to the startup flag
|
|
28
|
-
|
|
29
|
-
## Notes
|
|
30
|
-
|
|
31
|
-
- Tailscale Serve publishes a tailnet HTTPS address, not a public Internet address.
|
|
32
|
-
- This is the recommended way to run the installable PWA on mobile, because the bundled hub serves the built web assets over HTTPS.
|
|
1
|
+
# @jamiexiongr/panda-hub
|
|
2
|
+
|
|
3
|
+
Published hub runtime for Panda, including the built web UI.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
panda-hub
|
|
9
|
+
panda-hub tailscareserv
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
`tailscareserv` and `--tailscale-serve` both enable automatic `tailscale serve` publishing.
|
|
13
|
+
|
|
14
|
+
When enabled, hub startup will:
|
|
15
|
+
|
|
16
|
+
- detect whether `tailscale` is available and online
|
|
17
|
+
- run `tailscale serve --bg`
|
|
18
|
+
- print the generated Tailscale HTTPS URL in the startup log
|
|
19
|
+
|
|
20
|
+
## Environment
|
|
21
|
+
|
|
22
|
+
- `PANDA_HUB_PORT`
|
|
23
|
+
Local hub listen port. Default: `4343`
|
|
24
|
+
- `PANDA_HUB_TAILSCALE_SERVE_PORT`
|
|
25
|
+
Tailscale HTTPS port. Default: `443`
|
|
26
|
+
- `PANDA_TAILSCALE_SERVE=1`
|
|
27
|
+
Optional env alternative to the startup flag
|
|
28
|
+
|
|
29
|
+
## Notes
|
|
30
|
+
|
|
31
|
+
- Tailscale Serve publishes a tailnet HTTPS address, not a public Internet address.
|
|
32
|
+
- This is the recommended way to run the installable PWA on mobile, because the bundled hub serves the built web assets over HTTPS.
|
package/bin/panda-hub.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import('../dist/cli.mjs')
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import('../dist/cli.mjs')
|