devtunnel-cli 3.0.14 → 3.0.15
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 +7 -7
- package/package.json +2 -2
- package/src/core/setup-cloudflared.js +1 -1
- package/src/core/start.js +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
**1. Install DevTunnel (one-time setup):**
|
|
19
19
|
```bash
|
|
20
|
-
npm install -g devtunnel
|
|
20
|
+
npm install -g devtunnel
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
**2. Navigate to your project directory:**
|
|
@@ -35,7 +35,7 @@ npm run dev
|
|
|
35
35
|
**4. Run DevTunnel (in another terminal, same directory):**
|
|
36
36
|
```bash
|
|
37
37
|
cd your-project # Same directory where you run npm start
|
|
38
|
-
devtunnel # Auto-detects project and port!
|
|
38
|
+
devtunnel-cli # Auto-detects project and port!
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
**That's it!** DevTunnel will automatically detect your project and running dev server port.
|
|
@@ -56,13 +56,13 @@ devtunnel # Auto-detects project and port!
|
|
|
56
56
|
|
|
57
57
|
## 💡 How to Use
|
|
58
58
|
|
|
59
|
-
**Important:** Run `devtunnel` from the same directory where you run `npm start` or `npm run dev`!
|
|
59
|
+
**Important:** Run `devtunnel-cli` from the same directory where you run `npm start` or `npm run dev`!
|
|
60
60
|
|
|
61
61
|
1. **Install DevTunnel** (one-time): `npm install -g devtunnel-cli`
|
|
62
62
|
2. **Go to your project**: `cd your-project`
|
|
63
63
|
3. **Start your dev server**: `npm start` or `npm run dev` (keep this running)
|
|
64
64
|
4. **Open a new terminal** in the same project directory
|
|
65
|
-
5. **Run DevTunnel**: `devtunnel` (auto-detects everything!)
|
|
65
|
+
5. **Run DevTunnel**: `devtunnel-cli` (auto-detects everything!)
|
|
66
66
|
6. **Get your public URL** and share it! 🌍
|
|
67
67
|
|
|
68
68
|
**Example:**
|
|
@@ -106,19 +106,19 @@ MIT License - see [LICENSE](docs/LICENSE)
|
|
|
106
106
|
|
|
107
107
|
---
|
|
108
108
|
|
|
109
|
-
**Version 3.0.
|
|
109
|
+
**Version 3.0.14** | Made with ❤️ for developers worldwide
|
|
110
110
|
|
|
111
111
|
---
|
|
112
112
|
|
|
113
113
|
## 🔍 Search Keywords
|
|
114
114
|
|
|
115
|
-
**DevTunnel** | **dev tunnel** | **localhost tunnel** | **cloudflare tunnel** | **ngrok alternative** | **port forwarding** | **local development** | **vite tunnel** | **react dev server** | **nextjs tunnel** | **npm devtunnel** | **
|
|
115
|
+
**DevTunnel** | **dev tunnel** | **localhost tunnel** | **cloudflare tunnel** | **ngrok alternative** | **port forwarding** | **local development** | **vite tunnel** | **react dev server** | **nextjs tunnel** | **npm devtunnel** | **share localhost** | **development tools** | **zero config tunnel**
|
|
116
116
|
|
|
117
117
|
---
|
|
118
118
|
|
|
119
119
|
## 📦 Installation & Links
|
|
120
120
|
|
|
121
|
-
- **npm Package**: [devtunnel
|
|
121
|
+
- **npm Package**: [devtunnel](https://www.npmjs.com/package/devtunnel)
|
|
122
122
|
- **GitHub Repository**: [maiz-an/DevTunnel](https://github.com/maiz-an/DevTunnel)
|
|
123
123
|
- **GitHub Pages**: [maiz-an.github.io/DevTunnel](https://maiz-an.github.io/DevTunnel/)
|
|
124
124
|
- **Official Website**: [devtunnel.vercel.app](https://devtunnel.vercel.app)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devtunnel-cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "DevTunnel - Share local dev servers worldwide. Zero configuration tunnel for any framework. Install via npm: npm install -g devtunnel-cli. Works with Vite, React, Next.js, Express, NestJS and more.",
|
|
6
6
|
"main": "src/core/start.js",
|
|
7
7
|
"bin": {
|
|
8
|
-
"devtunnel": "src/core/RUN.js"
|
|
8
|
+
"devtunnel-cli": "src/core/RUN.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"start": "node src/core/RUN.js",
|
|
@@ -84,7 +84,7 @@ function showPermissionSolutions(dirPath) {
|
|
|
84
84
|
console.log(' 1. Run terminal as Administrator (Right-click → Run as administrator)');
|
|
85
85
|
console.log(' 2. DevTunnel will automatically request admin privileges if needed');
|
|
86
86
|
} else {
|
|
87
|
-
|
|
87
|
+
console.log(' 1. Run with sudo: sudo npm install -g devtunnel-cli');
|
|
88
88
|
}
|
|
89
89
|
console.log(' 2. Check if antivirus is blocking file writes');
|
|
90
90
|
console.log(' 3. Check folder permissions for:', dirPath);
|
package/src/core/start.js
CHANGED
|
@@ -183,12 +183,12 @@ async function main() {
|
|
|
183
183
|
// Show ASCII logo
|
|
184
184
|
showLogo();
|
|
185
185
|
|
|
186
|
-
console.log("DevTunnel v3.0.
|
|
186
|
+
console.log("DevTunnel v3.0.14");
|
|
187
187
|
console.log("Share your local dev servers worldwide");
|
|
188
188
|
console.log("");
|
|
189
189
|
console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━");
|
|
190
190
|
console.log("Repository: https://github.com/maiz-an/DevTunnel");
|
|
191
|
-
console.log("npm Package: https://www.npmjs.com/package/devtunnel
|
|
191
|
+
console.log("npm Package: https://www.npmjs.com/package/devtunnel");
|
|
192
192
|
console.log("Website: https://devtunnel.vercel.app");
|
|
193
193
|
console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━");
|
|
194
194
|
console.log("");
|