devtunnel-cli 3.0.30 → 3.0.32

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 CHANGED
@@ -1,119 +1,125 @@
1
- # DevTunnel 🚀
2
-
3
- **Share your local dev servers worldwide - Zero config tunnel for any framework**
4
-
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
- [![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)](https://github.com/maiz-an/DevTunnel-CLI)
7
- [![npm version](https://img.shields.io/npm/v/devtunnel-cli)](https://www.npmjs.com/package/devtunnel-cli)
8
-
9
- 🌐 **Website:** [devtunnel-cli.vercel.app](https://devtunnel-cli.vercel.app) | 📦 **npm:** [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli) | 💻 **GitHub:** [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI)
10
-
11
- ---
12
-
13
- ## ⚡ Quick Start
14
-
15
- ### Step-by-Step Guide
16
-
17
- **1. Install DevTunnel (one-time setup):**
18
- ```bash
19
- npm install -g devtunnel-cli
20
- ```
21
-
22
- **2. Navigate to your project directory:**
23
- ```bash
24
- cd your-project
25
- ```
26
-
27
- **3. Have your app running (in one terminal):**
28
- ```bash
29
- npm run dev
30
- # OR php artisan serve (Laravel)
31
- # OR XAMPP / Live Server (PHP/HTML)
32
- # HTML: optional — DevTunnel can start a built-in server
33
- ```
34
-
35
- **4. Run DevTunnel (in another terminal, same directory):**
36
- ```bash
37
- cd your-project # Same directory as your project
38
- devtunnel-cli # Auto-detects project type and port!
39
- ```
40
-
41
- **That's it!** DevTunnel auto-detects Node, Laravel, HTML, and PHP/XAMPP projects.
42
-
43
- ---
44
-
45
- ## ✨ Features
46
-
47
- - 🤖 **Fully Automatic** - Cloudflare bundled, no installation needed
48
- - 🎯 **Zero Config** - No project changes needed
49
- - 🔗 **Smart Proxy** - Bypasses Vite/React restrictions
50
- - 🌍 **Cross-Platform** - Windows, macOS, Linux
51
- - 🚀 **Any Framework** - Node, React, Laravel, plain HTML, PHP/XAMPP
52
- - 📄 **HTML** - Default port 5500; built-in static server if none running
53
- - 🐘 **PHP/XAMPP** - Port 80; supports htdocs subfolders (e.g. http://localhost/YourProject/)
54
- - 🔄 **Multi-Service** - Cloudflare, Ngrok, LocalTunnel fallback
55
- - 📹 **Streaming Support** - Handles video/audio files (with limitations for large files)
56
-
57
- ---
58
-
59
- ## 💡 How to Use
60
-
61
- **Important:** Run `devtunnel-cli` from the same directory as your project!
62
-
63
- 1. **Install DevTunnel** (one-time): `npm install -g devtunnel-cli`
64
- 2. **Go to your project**: `cd your-project` (Node, Laravel, HTML, or XAMPP folder)
65
- 3. **Have your app running**: `npm run dev`, `php artisan serve`, or XAMPP. For HTML, optional — DevTunnel can serve it.
66
- 4. **Open a new terminal** in the same project directory
67
- 5. **Run DevTunnel**: `devtunnel-cli` (auto-detects project type and port!)
68
- 6. **Get your public URL** and share it! 🌍
69
-
70
- **Example (Node):**
71
- ```bash
72
- # Terminal 1
73
- cd my-react-app
74
- npm run dev
75
-
76
- # Terminal 2 - same directory
77
- cd my-react-app
78
- devtunnel-cli
79
- ```
80
-
81
- **Works with:** Vite, React, Next.js, Express, NestJS, Laravel, plain HTML, PHP/XAMPP, and any HTTP/HTTPS server.
82
-
83
- ---
84
-
85
- ## 📖 Documentation
86
-
87
- - [Features](docs/FEATURES.md)
88
- - [Troubleshooting](docs/TROUBLESHOOTING.md)
89
- - [Contributing](docs/CONTRIBUTING.md)
90
- - [License](docs/LICENSE)
91
-
92
- ---
93
-
94
- ## 🛠️ Requirements
95
-
96
- - Node.js 16+ (download from [nodejs.org](https://nodejs.org))
97
- - Internet connection
98
- - Your dev server running
99
-
100
- **No other installations needed!** Cloudflare is automatically bundled on first run.
101
-
102
- ---
103
-
104
- ## 📄 License
105
-
106
- MIT License - see [LICENSE](docs/LICENSE)
107
-
108
- ---
109
-
110
- **Latest on [npm](https://www.npmjs.com/package/devtunnel-cli)** | Made with ❤️ for developers worldwide
111
-
112
- ---
113
-
114
- ## 📦 Links
115
-
116
- - **Website**: [devtunnel-cli.vercel.app](https://devtunnel-cli.vercel.app)
117
- - **npm**: [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli)
118
- - **GitHub**: [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI)
119
- - **Issues**: [GitHub Issues](https://github.com/maiz-an/DevTunnel-CLI/issues)
1
+ # DevTunnel-CLI 🚀
2
+
3
+ **Share your local dev servers worldwide - Zero config tunnel for any framework**
4
+
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
+ [![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)](https://github.com/maiz-an/DevTunnel-CLI)
7
+ [![npm version](https://img.shields.io/npm/v/devtunnel-cli)](https://www.npmjs.com/package/devtunnel-cli)
8
+
9
+ 🌐 **Website:** [www.devtunnel-cli.mzieos.com](https://www.devtunnel-cli.mzieos.com) | 📦 **npm:** [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli) | 💻 **GitHub:** [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI)
10
+
11
+ ---
12
+
13
+ ## ⚡ Quick Start
14
+
15
+ ### Step-by-Step Guide
16
+
17
+ **1. Install DevTunnel (one-time setup):**
18
+ ```bash
19
+ npm install -g devtunnel-cli
20
+ ```
21
+
22
+ **2. Navigate to your project directory:**
23
+ ```bash
24
+ cd your-project
25
+ ```
26
+
27
+ **3. Have your app running (in one terminal):**
28
+ ```bash
29
+ npm run dev
30
+ # OR php artisan serve (Laravel)
31
+ # OR XAMPP / Live Server (PHP/HTML)
32
+ # HTML: optional — DevTunnel can start a built-in server
33
+ ```
34
+
35
+ **4. Run DevTunnel (in another terminal, same directory):**
36
+ ```bash
37
+ cd your-project # Same directory as your project
38
+ devtunnel-cli # Auto-detects project type and port!
39
+ ```
40
+
41
+ **That's it!** DevTunnel auto-detects Node, Laravel, HTML, and PHP/XAMPP projects.
42
+
43
+ ---
44
+
45
+ ## ✨ Features
46
+
47
+ - 🤖 **Fully Automatic** - Cloudflare bundled, no installation needed
48
+ - 🎯 **Zero Config** - No project changes needed
49
+ - 🔗 **Smart Proxy** - Bypasses Vite/React restrictions
50
+ - 🌍 **Cross-Platform** - Windows, macOS, Linux
51
+ - 🚀 **Any Framework** - Node, React, Laravel, plain HTML, PHP/XAMPP
52
+ - 📄 **HTML** - Default port 5500; built-in static server if none running
53
+ - 🐘 **PHP/XAMPP** - Port 80; supports htdocs subfolders (e.g. http://localhost/YourProject/)
54
+ - 🔄 **Multi-Service** - Cloudflare, Ngrok, LocalTunnel fallback
55
+ - 📹 **Streaming Support** - Handles video/audio files (with limitations for large files)
56
+
57
+ ---
58
+
59
+ ## 💡 How to Use
60
+
61
+ **Important:** Run `devtunnel-cli` from the same directory as your project!
62
+
63
+ 1. **Install DevTunnel** (one-time): `npm install -g devtunnel-cli`
64
+ 2. **Go to your project**: `cd your-project` (Node, Laravel, HTML, or XAMPP folder)
65
+ 3. **Have your app running**: `npm run dev`, `php artisan serve`, or XAMPP. For HTML, optional — DevTunnel can serve it.
66
+ 4. **Open a new terminal** in the same project directory
67
+ 5. **Run DevTunnel**: `devtunnel-cli` (auto-detects project type and port!)
68
+ 6. **Get your public URL** and share it! 🌍
69
+
70
+ **Example (Node):**
71
+ ```bash
72
+ # Terminal 1
73
+ cd my-react-app
74
+ npm run dev
75
+
76
+ # Terminal 2 - same directory
77
+ cd my-react-app
78
+ devtunnel-cli
79
+ ```
80
+
81
+ **Works with:** Vite, React, Next.js, Express, NestJS, Laravel, plain HTML, PHP/XAMPP, and any HTTP/HTTPS server.
82
+
83
+ ---
84
+
85
+ ## 📖 Documentation
86
+
87
+ - [Features](docs/FEATURES.md)
88
+ - [Troubleshooting](docs/TROUBLESHOOTING.md)
89
+ - [Contributing](docs/CONTRIBUTING.md)
90
+ - [License](docs/LICENSE)
91
+
92
+ ---
93
+
94
+ ## 🛠️ Requirements
95
+
96
+ - Node.js 16+ (download from [nodejs.org](https://nodejs.org))
97
+ - Internet connection
98
+ - Your dev server running
99
+
100
+ **No other installations needed!** Cloudflare is automatically bundled on first run.
101
+
102
+ ---
103
+
104
+ ## 📄 License
105
+
106
+ MIT License - see [LICENSE](docs/LICENSE)
107
+
108
+ ---
109
+
110
+ **Latest on [npm](https://www.npmjs.com/package/devtunnel-cli)** | Made with ❤️ for developers worldwide
111
+
112
+ ---
113
+
114
+ ## 🔍 Search keywords
115
+
116
+ Find this project as: **DevTunnel**, **devtunnel**, **dev-tunnel**, **Dev-Tunnel**, **DevTunnel-CLI**, **devtunnel-cli**, **dev-tunnel-cli**, **Dev-Tunnel-CLI**. Official site: [www.devtunnel-cli.mzieos.com](https://www.devtunnel-cli.mzieos.com) · GitHub: [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI) · npm: [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli).
117
+
118
+ ---
119
+
120
+ ## 📦 Links
121
+
122
+ - **Website**: [www.devtunnel-cli.mzieos.com](https://www.devtunnel-cli.mzieos.com)
123
+ - **npm**: [devtunnel-cli](https://www.npmjs.com/package/devtunnel-cli)
124
+ - **GitHub**: [maiz-an/DevTunnel-CLI](https://github.com/maiz-an/DevTunnel-CLI)
125
+ - **Issues**: [GitHub Issues](https://github.com/maiz-an/DevTunnel-CLI/issues)
package/package.json CHANGED
@@ -1,74 +1,81 @@
1
- {
2
- "name": "devtunnel-cli",
3
- "version": "3.0.30",
4
- "type": "module",
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, Laravel (PHP), HTML, and more.",
6
- "main": "src/core/start.js",
7
- "files": [
8
- "README.md",
9
- "src"
10
- ],
11
- "bin": {
12
- "devtunnel-cli": "src/core/RUN.js"
13
- },
14
- "scripts": {
15
- "start": "node src/core/RUN.js",
16
- "dev": "node src/core/RUN.js",
17
- "run": "node src/core/RUN.js",
18
- "tunnel": "node src/core/index.js"
19
- },
20
- "keywords": [
21
- "dev tunnel",
22
- "devtunnel",
23
- "localhost tunnel",
24
- "cloudflare tunnel",
25
- "ngrok alternative",
26
- "ngrok",
27
- "localtunnel",
28
- "dev-server",
29
- "share localhost",
30
- "public-url",
31
- "port forwarding",
32
- "local development",
33
- "vite tunnel",
34
- "react dev server",
35
- "nextjs tunnel",
36
- "nestjs",
37
- "express",
38
- "laravel",
39
- "php",
40
- "html",
41
- "backend",
42
- "frontend",
43
- "proxy",
44
- "development tools",
45
- "web development",
46
- "tunnel service",
47
- "local server sharing",
48
- "dev server proxy",
49
- "cloudflare tunnel cli",
50
- "ngrok alternative free",
51
- "zero config tunnel",
52
- "development",
53
- "localhost"
54
- ],
55
- "author": "maiz",
56
- "license": "MIT",
57
- "repository": {
58
- "type": "git",
59
- "url": "git+https://github.com/maiz-an/DevTunnel-CLI.git"
60
- },
61
- "bugs": {
62
- "url": "https://github.com/maiz-an/DevTunnel-CLI/issues"
63
- },
64
- "homepage": "https://devtunnel-cli.vercel.app",
65
- "engines": {
66
- "node": ">=16.0.0"
67
- },
68
- "dependencies": {
69
- "http-proxy": "^1.18.1",
70
- "localtunnel": "^2.0.2",
71
- "prompts": "^2.4.2"
72
- },
73
- "devDependencies": {}
74
- }
1
+ {
2
+ "name": "devtunnel-cli",
3
+ "version": "3.0.32",
4
+ "type": "module",
5
+ "description": "DevTunnel-CLI (DevTunnel, devtunnel, dev-tunnel) - Share local dev servers worldwide. Zero config tunnel. npm install -g devtunnel-cli. Works with Vite, React, Laravel, HTML, PHP/XAMPP.",
6
+ "main": "src/core/start.js",
7
+ "files": [
8
+ "README.md",
9
+ "src"
10
+ ],
11
+ "bin": {
12
+ "devtunnel-cli": "src/core/RUN.js"
13
+ },
14
+ "scripts": {
15
+ "start": "node src/core/RUN.js",
16
+ "dev": "node src/core/RUN.js",
17
+ "run": "node src/core/RUN.js",
18
+ "tunnel": "node src/core/index.js"
19
+ },
20
+ "keywords": [
21
+ "DevTunnel-CLI",
22
+ "DevTunnel",
23
+ "devtunnel",
24
+ "dev-tunnel",
25
+ "Dev-Tunnel",
26
+ "devtunnel-cli",
27
+ "dev-tunnel-cli",
28
+ "Dev-Tunnel-CLI",
29
+ "dev tunnel",
30
+ "localhost tunnel",
31
+ "cloudflare tunnel",
32
+ "ngrok alternative",
33
+ "ngrok",
34
+ "localtunnel",
35
+ "dev-server",
36
+ "share localhost",
37
+ "public-url",
38
+ "port forwarding",
39
+ "local development",
40
+ "vite tunnel",
41
+ "react dev server",
42
+ "nextjs tunnel",
43
+ "nestjs",
44
+ "express",
45
+ "laravel",
46
+ "php",
47
+ "html",
48
+ "backend",
49
+ "frontend",
50
+ "proxy",
51
+ "development tools",
52
+ "web development",
53
+ "tunnel service",
54
+ "local server sharing",
55
+ "dev server proxy",
56
+ "cloudflare tunnel cli",
57
+ "ngrok alternative free",
58
+ "zero config tunnel",
59
+ "development",
60
+ "localhost"
61
+ ],
62
+ "author": "maiz",
63
+ "license": "MIT",
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "git+https://github.com/maiz-an/DevTunnel-CLI.git"
67
+ },
68
+ "bugs": {
69
+ "url": "https://github.com/maiz-an/DevTunnel-CLI/issues"
70
+ },
71
+ "homepage": "https://www.devtunnel-cli.mzieos.com",
72
+ "engines": {
73
+ "node": ">=16.0.0"
74
+ },
75
+ "dependencies": {
76
+ "http-proxy": "^1.18.1",
77
+ "localtunnel": "^2.0.2",
78
+ "prompts": "^2.4.2"
79
+ },
80
+ "devDependencies": {}
81
+ }