@jamiexiongr/panda-hub 0.1.9 → 0.1.12

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 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')