devtunnel-cli 3.0.32 โ 3.0.34
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 +5 -4
- package/package.json +4 -3
- package/src/core/start.js +3 -3
- package/src/utils/pages/index.html +65 -20
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://github.com/maiz-an/DevTunnel-CLI)
|
|
7
7
|
[](https://www.npmjs.com/package/devtunnel-cli)
|
|
8
8
|
|
|
9
|
-
๐ **Website:** [
|
|
9
|
+
๐ **Website:** [maizan.me/devtunnel-cli](https://maizan.me/devtunnel-cli) | ๐ฆ **npm:** [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli) | ๐ป **GitHub:** [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI)
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -52,6 +52,7 @@ devtunnel-cli # Auto-detects project type and port!
|
|
|
52
52
|
- ๐ **HTML** - Default port 5500; built-in static server if none running
|
|
53
53
|
- ๐ **PHP/XAMPP** - Port 80; supports htdocs subfolders (e.g. http://localhost/YourProject/)
|
|
54
54
|
- ๐ **Multi-Service** - Cloudflare, Ngrok, LocalTunnel fallback
|
|
55
|
+
- ๐ **Multiple Ports** - DevTunnel-CLI supports multiple ports; auto-detects or lets you choose
|
|
55
56
|
- ๐น **Streaming Support** - Handles video/audio files (with limitations for large files)
|
|
56
57
|
|
|
57
58
|
---
|
|
@@ -107,19 +108,19 @@ MIT License - see [LICENSE](docs/LICENSE)
|
|
|
107
108
|
|
|
108
109
|
---
|
|
109
110
|
|
|
110
|
-
**Latest on [npm](https://www.npmjs.com/package/devtunnel-cli)** | Made with
|
|
111
|
+
**Latest on [npm](https://www.npmjs.com/package/devtunnel-cli)** | Made with โค๏ธ for developers worldwide
|
|
111
112
|
|
|
112
113
|
---
|
|
113
114
|
|
|
114
115
|
## ๐ Search keywords
|
|
115
116
|
|
|
116
|
-
Find this project as: **DevTunnel**, **devtunnel**, **dev-tunnel**, **Dev-Tunnel**, **DevTunnel-CLI**, **devtunnel-cli**, **dev-tunnel-cli**, **Dev-Tunnel-CLI**.
|
|
117
|
+
Find this project as: **DevTunnel**, **devtunnel**, **dev-tunnel**, **Dev-Tunnel**, **DevTunnel-CLI**, **devtunnel-cli**, **dev-tunnel-cli**, **Dev-Tunnel-CLI**. npm (install here): [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli) ยท Docs: [maizan.me/devtunnel-cli](https://maizan.me/devtunnel-cli) ยท GitHub: [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI).
|
|
117
118
|
|
|
118
119
|
---
|
|
119
120
|
|
|
120
121
|
## ๐ฆ Links
|
|
121
122
|
|
|
122
|
-
- **Website**: [
|
|
123
|
+
- **Website**: [maizan.me/devtunnel-cli](https://maizan.me/devtunnel-cli)
|
|
123
124
|
- **npm**: [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli)
|
|
124
125
|
- **GitHub**: [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI)
|
|
125
126
|
- **Issues**: [GitHub Issues](https://github.com/maiz-an/DevTunnel-CLI/issues)
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devtunnel-cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.34",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "DevTunnel-CLI (DevTunnel, devtunnel, dev-tunnel) - Share local dev servers worldwide. Zero config
|
|
5
|
+
"description": "DevTunnel-CLI (DevTunnel, devtunnel, dev-tunnel) - Share local dev servers worldwide. Zero config, supports multiple ports. npm install -g devtunnel-cli. Works with Vite, React, Laravel, HTML, PHP/XAMPP.",
|
|
6
6
|
"main": "src/core/start.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"README.md",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"devtunnel-cli",
|
|
27
27
|
"dev-tunnel-cli",
|
|
28
28
|
"Dev-Tunnel-CLI",
|
|
29
|
+
"multiple ports",
|
|
29
30
|
"dev tunnel",
|
|
30
31
|
"localhost tunnel",
|
|
31
32
|
"cloudflare tunnel",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"bugs": {
|
|
69
70
|
"url": "https://github.com/maiz-an/DevTunnel-CLI/issues"
|
|
70
71
|
},
|
|
71
|
-
"homepage": "https://
|
|
72
|
+
"homepage": "https://maizan.me/devtunnel-cli",
|
|
72
73
|
"engines": {
|
|
73
74
|
"node": ">=16.0.0"
|
|
74
75
|
},
|
package/src/core/start.js
CHANGED
|
@@ -17,10 +17,10 @@ function getPackageVersion() {
|
|
|
17
17
|
const pkgPath = join(PROJECT_ROOT, "package.json");
|
|
18
18
|
if (existsSync(pkgPath)) {
|
|
19
19
|
const pkg = JSON.parse(readFileSync(pkgPath, "utf8"));
|
|
20
|
-
return pkg.version || "3.0.
|
|
20
|
+
return pkg.version || "3.0.34";
|
|
21
21
|
}
|
|
22
22
|
} catch (err) {}
|
|
23
|
-
return "3.0.
|
|
23
|
+
return "3.0.34";
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// Helper to run command
|
|
@@ -272,7 +272,7 @@ async function main() {
|
|
|
272
272
|
console.log("โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ");
|
|
273
273
|
console.log("Repository: https://github.com/maiz-an/DevTunnel-CLI");
|
|
274
274
|
console.log("npm Package: https://www.npmjs.com/package/devtunnel-cli");
|
|
275
|
-
console.log("Website: https://
|
|
275
|
+
console.log("Website: https://maizan.me/devtunnel-cli");
|
|
276
276
|
console.log("โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ");
|
|
277
277
|
console.log("");
|
|
278
278
|
|
|
@@ -1,40 +1,83 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
+
|
|
3
4
|
<head>
|
|
4
5
|
<meta charset="UTF-8">
|
|
5
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<meta name="description"
|
|
7
|
-
|
|
7
|
+
<meta name="description"
|
|
8
|
+
content="DevTunnel - Share local dev servers worldwide. Zero configuration tunnel for any framework. Install via npm: npm install -g devtunnel-cli">
|
|
9
|
+
<meta name="keywords"
|
|
10
|
+
content="dev tunnel, localhost tunnel, cloudflare, ngrok, port forwarding, local development, vite, react, nextjs, laravel, php, html, npm install, devtunnel">
|
|
8
11
|
<meta name="author" content="maiz">
|
|
9
12
|
<meta name="robots" content="index, follow">
|
|
10
|
-
<link rel="canonical" href="https://
|
|
13
|
+
<link rel="canonical" href="https://maizan.me/devtunnel-cli/">
|
|
11
14
|
<meta property="og:title" content="DevTunnel - Share Local Servers Worldwide">
|
|
12
|
-
<meta property="og:description"
|
|
13
|
-
|
|
15
|
+
<meta property="og:description"
|
|
16
|
+
content="Zero configuration tunnel for any framework. Install via npm: npm install -g devtunnel-cli">
|
|
17
|
+
<meta property="og:url" content="https://maizan.me/devtunnel-cli/">
|
|
14
18
|
<meta property="og:type" content="website">
|
|
15
|
-
<meta property="og:image" content="https://
|
|
19
|
+
<meta property="og:image" content="https://maizan.me/devtunnel-cli/og-image.png">
|
|
16
20
|
<meta name="twitter:card" content="summary_large_image">
|
|
17
21
|
<meta name="twitter:title" content="DevTunnel - Share Local Servers Worldwide">
|
|
18
22
|
<meta name="twitter:description" content="Zero configuration tunnel for any framework">
|
|
19
|
-
<meta name="twitter:image" content="https://
|
|
23
|
+
<meta name="twitter:image" content="https://maizan.me/devtunnel-cli/og-image.png">
|
|
20
24
|
<title>DevTunnel - Share Local Servers Worldwide</title>
|
|
21
25
|
<style>
|
|
22
|
-
body {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
body {
|
|
27
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
28
|
+
max-width: 800px;
|
|
29
|
+
margin: 0 auto;
|
|
30
|
+
padding: 20px;
|
|
31
|
+
line-height: 1.6;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
color: #3b82f6;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.badge {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
padding: 4px 8px;
|
|
41
|
+
background: #3b82f6;
|
|
42
|
+
color: white;
|
|
43
|
+
border-radius: 4px;
|
|
44
|
+
margin: 5px;
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.links {
|
|
49
|
+
margin: 20px 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.links a {
|
|
53
|
+
margin-right: 15px;
|
|
54
|
+
color: #3b82f6;
|
|
55
|
+
text-decoration: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
code {
|
|
59
|
+
background: #f4f4f4;
|
|
60
|
+
padding: 2px 6px;
|
|
61
|
+
border-radius: 3px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
pre {
|
|
65
|
+
background: #1e293b;
|
|
66
|
+
color: #f1f5f9;
|
|
67
|
+
padding: 15px;
|
|
68
|
+
border-radius: 5px;
|
|
69
|
+
overflow-x: auto;
|
|
70
|
+
}
|
|
29
71
|
</style>
|
|
30
72
|
</head>
|
|
73
|
+
|
|
31
74
|
<body>
|
|
32
75
|
<h1>๐ DevTunnel</h1>
|
|
33
76
|
<p><strong>Share your local dev servers worldwide - Zero config tunnel for any framework</strong></p>
|
|
34
|
-
|
|
77
|
+
|
|
35
78
|
<div class="links">
|
|
36
79
|
<a href="https://www.npmjs.com/package/devtunnel-cli" class="badge">๐ฆ npm Package</a>
|
|
37
|
-
<a href="https://
|
|
80
|
+
<a href="https://maizan.me/devtunnel-cli" class="badge">๐ Website</a>
|
|
38
81
|
<a href="https://github.com/maiz-an/DevTunnel-CLI" class="badge">๐ป GitHub</a>
|
|
39
82
|
</div>
|
|
40
83
|
|
|
@@ -57,17 +100,19 @@ devtunnel-cli</code></pre>
|
|
|
57
100
|
</ul>
|
|
58
101
|
|
|
59
102
|
<h2>๐ Documentation</h2>
|
|
60
|
-
<p>Complete documentation in the <a href="https://github.com/maiz-an/DevTunnel-CLI/tree/main/docs">docs/</a> folder
|
|
103
|
+
<p>Complete documentation in the <a href="https://github.com/maiz-an/DevTunnel-CLI/tree/main/docs">docs/</a> folder.
|
|
104
|
+
</p>
|
|
61
105
|
|
|
62
106
|
<h2>๐ Links</h2>
|
|
63
107
|
<ul>
|
|
64
108
|
<li><a href="https://www.npmjs.com/package/devtunnel-cli">npm Package (devtunnel-cli)</a></li>
|
|
65
|
-
<li><a href="https://
|
|
109
|
+
<li><a href="https://maizan.me/devtunnel-cli">Official Website</a></li>
|
|
66
110
|
<li><a href="https://github.com/maiz-an/DevTunnel-CLI">GitHub Repository</a></li>
|
|
67
111
|
<li><a href="https://github.com/maiz-an/DevTunnel-CLI/issues">Report Issues</a></li>
|
|
68
112
|
</ul>
|
|
69
113
|
|
|
70
114
|
<hr>
|
|
71
|
-
<p><small>Version 3.0.
|
|
115
|
+
<p><small>Version 3.0.34 | Made with โค๏ธ for developers worldwide</small></p>
|
|
72
116
|
</body>
|
|
73
|
-
|
|
117
|
+
|
|
118
|
+
</html>
|