@servelink/serve 0.8.2 → 0.8.3
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/LICENSE +23 -0
- package/README.md +39 -18
- package/package.json +27 -12
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Proprietary License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 swyftlabs
|
|
4
|
+
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
This software and its source code are the exclusive property of swyftlabs and
|
|
8
|
+
are protected by copyright law. No part of this software may be copied,
|
|
9
|
+
modified, merged, published, distributed, sublicensed, transferred, sold,
|
|
10
|
+
reproduced, or used in any form or by any means — including for commercial
|
|
11
|
+
purposes, reverse engineering, or the creation of derivative works — without
|
|
12
|
+
the prior express written permission of swyftlabs.
|
|
13
|
+
|
|
14
|
+
This software is provided "AS IS", without warranty of any kind, express or
|
|
15
|
+
implied, including but not limited to the warranties of merchantability,
|
|
16
|
+
fitness for a particular purpose, and noninfringement. In no event shall the
|
|
17
|
+
authors or copyright holders be liable for any claim, damages, or other
|
|
18
|
+
liability, whether in an action of contract, tort, or otherwise, arising from,
|
|
19
|
+
out of, or in connection with the software or the use or other dealings in the
|
|
20
|
+
software.
|
|
21
|
+
|
|
22
|
+
The absence of a license does not grant any permission. All rights not
|
|
23
|
+
expressly granted herein are reserved to swyftlabs.
|
package/README.md
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
# @servelink/serve
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
**You already ask your AI to make things. Now ask it to share them.**
|
|
4
|
+
|
|
5
|
+
serve gives anything on your machine a public HTTPS link. Say "serve me this" to
|
|
6
|
+
your AI agent and get a URL back — one you can text to a friend, drop into a
|
|
7
|
+
Slack thread, or put on a slide. It works the same whether you built a Next.js
|
|
8
|
+
app or asked for a sales deck.
|
|
9
|
+
|
|
10
|
+
Every link lives in one of two places, and you move between them with a
|
|
11
|
+
sentence:
|
|
12
|
+
|
|
13
|
+
- **Live from your machine.** The link points at whatever is running on your
|
|
14
|
+
computer right now. Change a heading and the person holding the link sees the
|
|
15
|
+
new heading. Close your laptop and the link goes quiet.
|
|
16
|
+
- **Kept alive on ours.** serve holds a copy, so the link still opens with your
|
|
17
|
+
machine shut.
|
|
18
|
+
|
|
19
|
+
serve is a hosted service: create an account, log in once, and your links live
|
|
20
|
+
at `*.servelink.cc`. Details at [servelink.cc](https://servelink.cc).
|
|
12
21
|
|
|
13
22
|
## Install
|
|
14
23
|
|
|
@@ -18,11 +27,6 @@ npm i -g @servelink/serve
|
|
|
18
27
|
npx @servelink/serve
|
|
19
28
|
```
|
|
20
29
|
|
|
21
|
-
npm automatically installs the platform package that matches your OS/arch. If
|
|
22
|
-
your platform is unsupported by npm, install via the
|
|
23
|
-
[Homebrew tap](https://github.com/servelink-swyftlabs/homebrew-tap) or a release
|
|
24
|
-
archive from [serve-dist](https://github.com/servelink-swyftlabs/serve-dist).
|
|
25
|
-
|
|
26
30
|
## Use
|
|
27
31
|
|
|
28
32
|
```sh
|
|
@@ -31,8 +35,25 @@ serve # run the MCP server for AI coding agents
|
|
|
31
35
|
serve mcp # explicit MCP form
|
|
32
36
|
```
|
|
33
37
|
|
|
34
|
-
The primary interface is **MCP
|
|
35
|
-
|
|
36
|
-
|
|
38
|
+
The primary interface is **MCP**. With `serve` registered in your AI coding
|
|
39
|
+
agent, the agent can publish a file, a directory, or an already-running dev
|
|
40
|
+
server and hand back a public HTTPS URL. In any client that reads `mcpServers`:
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{ "mcpServers": { "serve": { "command": "npx", "args": ["-y", "@servelink/serve"] } } }
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## What this package is
|
|
47
|
+
|
|
48
|
+
A thin launcher for the native `serve` binary. The binary ships in a
|
|
49
|
+
per-platform package (`@servelink/serve-darwin-arm64`, `-darwin-x64`,
|
|
50
|
+
`-linux-arm64`, `-linux-x64`, `-win32-x64`) installed as an
|
|
51
|
+
**optionalDependency**, so npm picks the one matching your OS and architecture.
|
|
52
|
+
There is no postinstall and nothing is downloaded at install time, so npm never
|
|
53
|
+
runs or prompts about lifecycle scripts, and the binary that runs is exactly the
|
|
54
|
+
CI-published release artifact — no Go code is compiled or fetched here.
|
|
37
55
|
|
|
38
|
-
|
|
56
|
+
If npm has no package for your platform, install from the
|
|
57
|
+
[Homebrew tap](https://github.com/servelink-swyftlabs/homebrew-tap) or take a
|
|
58
|
+
release archive from
|
|
59
|
+
[serve-dist](https://github.com/servelink-swyftlabs/serve-dist).
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servelink/serve",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.8.3",
|
|
4
|
+
"description": "You already ask your AI to make things. Now ask it to share them. serve gives anything on your machine a public HTTPS link — live from your computer, or hosted so it outlives the session.",
|
|
5
|
+
"mcpName": "cc.servelink/serve",
|
|
6
|
+
"homepage": "https://servelink.cc",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/servelink-swyftlabs/serve-mcp.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/servelink-swyftlabs/serve-mcp/issues"
|
|
13
|
+
},
|
|
5
14
|
"bin": {
|
|
6
15
|
"serve": "bin/serve.js"
|
|
7
16
|
},
|
|
@@ -10,14 +19,15 @@
|
|
|
10
19
|
},
|
|
11
20
|
"files": [
|
|
12
21
|
"bin/",
|
|
13
|
-
"README.md"
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
14
24
|
],
|
|
15
25
|
"optionalDependencies": {
|
|
16
|
-
"@servelink/serve-darwin-arm64": "0.8.
|
|
17
|
-
"@servelink/serve-darwin-x64": "0.8.
|
|
18
|
-
"@servelink/serve-linux-arm64": "0.8.
|
|
19
|
-
"@servelink/serve-linux-x64": "0.8.
|
|
20
|
-
"@servelink/serve-win32-x64": "0.8.
|
|
26
|
+
"@servelink/serve-darwin-arm64": "0.8.3",
|
|
27
|
+
"@servelink/serve-darwin-x64": "0.8.3",
|
|
28
|
+
"@servelink/serve-linux-arm64": "0.8.3",
|
|
29
|
+
"@servelink/serve-linux-x64": "0.8.3",
|
|
30
|
+
"@servelink/serve-win32-x64": "0.8.3"
|
|
21
31
|
},
|
|
22
32
|
"engines": {
|
|
23
33
|
"node": ">=18"
|
|
@@ -31,13 +41,18 @@
|
|
|
31
41
|
"x64",
|
|
32
42
|
"arm64"
|
|
33
43
|
],
|
|
34
|
-
"license": "
|
|
44
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
35
45
|
"keywords": [
|
|
46
|
+
"mcp",
|
|
47
|
+
"model-context-protocol",
|
|
48
|
+
"claude",
|
|
49
|
+
"ai-agent",
|
|
50
|
+
"localhost",
|
|
51
|
+
"expose-localhost",
|
|
36
52
|
"tunnel",
|
|
37
53
|
"ngrok",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"mcp",
|
|
54
|
+
"share-link",
|
|
55
|
+
"static-hosting",
|
|
41
56
|
"cli"
|
|
42
57
|
]
|
|
43
58
|
}
|