@kitlangton/tailcode 0.2.3 → 0.2.5
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 +28 -7
- package/dist/tailcode.js +662 -0
- package/package.json +12 -21
- package/bin/tailcode.ts +0 -75
- package/bunfig.toml +0 -1
- package/src/app.tsx +0 -567
- package/src/flow.ts +0 -115
- package/src/main.tsx +0 -23
- package/src/qr.ts +0 -118
- package/src/runtime.ts +0 -6
- package/src/services/config.ts +0 -28
- package/src/services/errors.ts +0 -14
- package/src/services/opencode.ts +0 -108
- package/src/services/process.ts +0 -52
- package/src/services/tailscale.ts +0 -308
- package/src/state.ts +0 -15
- package/tsconfig.json +0 -11
package/README.md
CHANGED
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
# TailCode
|
|
2
2
|
|
|
3
|
-
TailCode is a
|
|
3
|
+
TailCode is a terminal wizard that connects Tailscale + OpenCode and publishes OpenCode to your tailnet with a shareable URL and QR code.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
## Quick Install
|
|
6
|
+
|
|
7
|
+
Prerequisites: `tailscale` and `opencode` installed and available on your PATH.
|
|
8
|
+
|
|
9
|
+
### Homebrew (recommended)
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
brew tap kitlangton/tap
|
|
13
|
+
brew install tailcode
|
|
14
|
+
tailcode
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Bunx (no global install)
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
bunx @kitlangton/tailcode
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Direct binary
|
|
24
|
+
|
|
25
|
+
Download the latest binary from [GitHub Releases](https://github.com/kitlangton/tailcode/releases/latest), mark it executable, then run it:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
chmod +x ./tailcode
|
|
29
|
+
./tailcode
|
|
30
|
+
```
|
|
10
31
|
|
|
11
32
|
## How It Works
|
|
12
33
|
|
|
@@ -116,7 +137,7 @@ TAILCODE_PORT=4096 TAILCODE_PASSWORD=secret bun run start
|
|
|
116
137
|
|
|
117
138
|
- The published URL is only reachable from devices on your Tailscale tailnet
|
|
118
139
|
- OpenCode is bound to localhost to avoid exposing it on your LAN
|
|
119
|
-
-
|
|
140
|
+
- `tailcode` always opens the setup wizard (use `tailcode --attach` for explicit attach)
|
|
120
141
|
- TailCode shows a local attach command after setup: `opencode attach http://127.0.0.1:4096`
|
|
121
142
|
|
|
122
143
|
## Binary Releases
|