gohere 0.2.0 → 0.3.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 +11 -3
- package/package.json +1 -1
- package/vendor/linux-x64/gohere +0 -0
- package/vendor/win32-x64/gohere.exe +0 -0
package/README.md
CHANGED
|
@@ -52,6 +52,12 @@ Route to a known target port:
|
|
|
52
52
|
gohere --target 5173 -- npm run dev
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
+
Open the project URL in your browser:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
gohere --open
|
|
59
|
+
```
|
|
60
|
+
|
|
55
61
|
For static folders, `gohere` serves `index.html`. You can also open a specific file, for example `gohere about.html`, which routes to `http://myproject.localhost/about.html`.
|
|
56
62
|
|
|
57
63
|
CSS, images, and scripts are served normally.
|
|
@@ -71,14 +77,14 @@ about.html -> http://myproject.localhost/about.html
|
|
|
71
77
|
gohere list
|
|
72
78
|
gohere list --verbose
|
|
73
79
|
gohere stop
|
|
74
|
-
gohere
|
|
80
|
+
gohere prune
|
|
75
81
|
gohere doctor
|
|
76
82
|
gohere uninstall
|
|
77
83
|
```
|
|
78
84
|
|
|
79
85
|
`gohere list --verbose` shows host, target, status, PID, and working directory.
|
|
80
86
|
|
|
81
|
-
Route status can be `ready`, `dead`, or `unknown`. `
|
|
87
|
+
Route status can be `ready`, `dead`, or `unknown`. `prune` removes only routes that are confidently dead.
|
|
82
88
|
|
|
83
89
|
## Uninstall
|
|
84
90
|
|
|
@@ -107,6 +113,8 @@ On Linux/WSL, first-time setup may ask for permission so the router can bind to
|
|
|
107
113
|
|
|
108
114
|
On Windows, first-time setup starts the local router directly on `127.0.0.1:80`.
|
|
109
115
|
|
|
116
|
+
When used from WSL, `gohere` reuses a running Windows router automatically.
|
|
117
|
+
|
|
110
118
|
## Platform support
|
|
111
119
|
|
|
112
120
|
Current target: Linux / WSL and Windows.
|
|
@@ -123,7 +131,7 @@ The npm package currently targets Linux x64 and Windows x64.
|
|
|
123
131
|
- no LAN sharing
|
|
124
132
|
- no custom TLDs
|
|
125
133
|
- no project config files
|
|
126
|
-
- no browser auto-open
|
|
134
|
+
- no browser auto-open by default
|
|
127
135
|
|
|
128
136
|
## License
|
|
129
137
|
|
package/package.json
CHANGED
package/vendor/linux-x64/gohere
CHANGED
|
Binary file
|
|
Binary file
|