kanna-code 0.13.9 → 0.15.0

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
@@ -112,24 +112,40 @@ bun run build
112
112
  ## Usage
113
113
 
114
114
  ```bash
115
- kanna # start with defaults
115
+ kanna # start with defaults (localhost only)
116
116
  kanna --port 4000 # custom port
117
117
  kanna --no-open # don't open browser
118
118
  ```
119
119
 
120
120
  Default URL: `http://localhost:3210`
121
121
 
122
+ ### Network access (Tailscale / LAN)
123
+
124
+ By default Kanna binds to `127.0.0.1` (localhost only). Use `--host` to bind a specific interface, or `--remote` as a shorthand for `0.0.0.0`:
125
+
126
+ ```bash
127
+ kanna --remote # bind all interfaces — browser opens localhost:3210
128
+ kanna --host dev-box # bind to a specific hostname — browser opens http://dev-box:3210
129
+ kanna --host 192.168.1.x # bind to a specific LAN IP
130
+ kanna --host 100.64.x.x # bind to a specific Tailscale IP
131
+ ```
132
+
133
+ When `--host <hostname>` is given, the browser opens `http://<hostname>:3210` automatically. Other machines on your network can connect to the same URL:
134
+
122
135
  ## Development
123
136
 
124
137
  ```bash
125
138
  bun run dev
126
139
  ```
127
140
 
141
+ The same `--remote` and `--host` flags can be used with `bun run dev` for remote development.
142
+ Use `bun run dev --port 4000` to run the Vite client on `4000` and the backend on `4001`.
143
+
128
144
  Or run client and server separately:
129
145
 
130
146
  ```bash
131
147
  bun run dev:client # http://localhost:5174
132
- bun run dev:server # http://localhost:3211
148
+ bun run dev:server # http://localhost:5175
133
149
  ```
134
150
 
135
151
  ## Scripts