@yuuki824/kanshi 0.1.0 → 0.1.1

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/.env.example CHANGED
@@ -1,8 +1,8 @@
1
1
  # Copy to .env to override. Every value here is the built-in default.
2
2
 
3
- # Bind address. The Tailscale IP of this host keeps the dashboard off the LAN
4
- # and off the public interface; 0.0.0.0 exposes it everywhere.
5
- KANSHI_HOST=100.73.243.14
3
+ # Bind address. Localhost keeps the dashboard private. Use this host's
4
+ # Tailscale IP to share it on a tailnet; 0.0.0.0 exposes it everywhere.
5
+ KANSHI_HOST=127.0.0.1
6
6
  KANSHI_PORT=8100
7
7
 
8
8
  # Live metrics
package/README.md CHANGED
@@ -4,9 +4,9 @@ A one-page, mobile-first glance at this homeserver: live CPU and RAM, a
4
4
  Filelight-style storage treemap, and `docker stats` for every container — no
5
5
  historical storage, no alerting, no external services.
6
6
 
7
- Reachable from any device on the tailnet:
7
+ By default it is reachable only from the local machine:
8
8
 
9
- http://homeserver.tail7ec1d9.ts.net:8100
9
+ http://localhost:8100
10
10
 
11
11
  ## Install with npx
12
12
 
@@ -10,10 +10,9 @@ services:
10
10
  network_mode: host
11
11
 
12
12
  environment:
13
- # Bind to the Tailscale IP only not the LAN, not the public interface.
14
- # Reachable at http://homeserver.tail7ec1d9.ts.net:8100 from any device on
15
- # the tailnet. Set to 0.0.0.0 to also expose it on the LAN.
16
- KANSHI_HOST: "${KANSHI_HOST:-100.73.243.14}"
13
+ # Localhost is safe for a package install. Set this to a Tailscale IP to
14
+ # share it on a tailnet, or 0.0.0.0 only behind an authenticated proxy.
15
+ KANSHI_HOST: "${KANSHI_HOST:-127.0.0.1}"
17
16
  KANSHI_PORT: "${KANSHI_PORT:-8100}"
18
17
 
19
18
  # Live poll cadence. Each tick is one /containers/json plus one /stats per
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuuki824/kanshi",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Launch the Kanshi Docker host dashboard with npx.",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {