devtunnel-cli 3.0.20 → 3.0.21

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/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "devtunnel-cli",
3
- "version": "3.0.20",
3
+ "version": "3.0.21",
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, Laravel (PHP), HTML, and more.",
6
6
  "main": "src/core/start.js",
7
+ "files": [
8
+ "README.md",
9
+ "src"
10
+ ],
7
11
  "bin": {
8
12
  "devtunnel-cli": "src/core/RUN.js"
9
13
  },
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.17";
20
+ return pkg.version || "3.0.21";
21
21
  }
22
22
  } catch (err) {}
23
- return "3.0.17";
23
+ return "3.0.21";
24
24
  }
25
25
 
26
26
  // Helper to run command
@@ -251,7 +251,7 @@ async function main() {
251
251
  console.log("");
252
252
  console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━");
253
253
  console.log("Repository: https://github.com/maiz-an/DevTunnel");
254
- console.log("npm Package: https://www.npmjs.com/package/devtunnel");
254
+ console.log("npm Package: https://www.npmjs.com/package/devtunnel-cli");
255
255
  console.log("Website: https://devtunnel.vercel.app");
256
256
  console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━");
257
257
  console.log("");
@@ -0,0 +1,182 @@
1
+ # 🌐 DevTunnel Website Information
2
+
3
+ ## 📍 Public Website Repository
4
+
5
+ **GitHub:** https://github.com/maiz-an/DevTunnelPages
6
+
7
+ **Live URL:** https://devtunnel.vercel.app ✅ LIVE
8
+
9
+ **Deployment Date:** January 28, 2026
10
+
11
+ ---
12
+
13
+ ## 🏗️ Architecture
14
+
15
+ ### **This Folder (`src/utils/pages/`):**
16
+ - Contains original HTML/CSS/JS prototype
17
+ - **Private** (in `.gitignore`)
18
+ - For internal reference only
19
+ - Not published to GitHub
20
+
21
+ ### **Public Repository (`DevTunnelPages`):**
22
+ - Next.js 15 + TypeScript version
23
+ - Tailwind CSS styling
24
+ - Vercel-optimized
25
+ - **Public** on GitHub
26
+ - Production-ready
27
+
28
+ ---
29
+
30
+ ## 📁 Files in This Folder
31
+
32
+ ```
33
+ src/utils/pages/
34
+ ├── index.html ← Original HTML landing page
35
+ ├── styles.css ← Original custom CSS
36
+ ├── script.js ← Original JavaScript
37
+ ├── README.md ← Hosting instructions (HTML version)
38
+ ├── PREVIEW.bat ← Windows preview launcher
39
+ └── WEBSITE-INFO.md ← This file (website details)
40
+ ```
41
+
42
+ ---
43
+
44
+ ## 🚀 Deployment Process
45
+
46
+ 1. **Prototype Created:** HTML/CSS/JS version here (private)
47
+ 2. **Converted to Next.js:** Created DevTunnelPages repo
48
+ 3. **Deployed to Vercel:** https://vercel.com/new
49
+ 4. **Auto-Deploy:** Every push to main → automatic rebuild
50
+
51
+ ---
52
+
53
+ ## 🔄 Update Process
54
+
55
+ **To Update the Website:**
56
+
57
+ 1. Clone DevTunnelPages:
58
+ ```bash
59
+ cd G:\GitHubRep
60
+ cd DevTunnelPages
61
+ ```
62
+
63
+ 2. Edit files:
64
+ ```
65
+ app/page.tsx ← Main content
66
+ app/globals.css ← Styles
67
+ ```
68
+
69
+ 3. Test locally:
70
+ ```bash
71
+ npm install
72
+ npm run dev
73
+ ```
74
+
75
+ 4. Push changes:
76
+ ```bash
77
+ git add .
78
+ git commit -m "Update website"
79
+ git push
80
+ ```
81
+
82
+ 5. Vercel auto-deploys in 2-3 minutes ✅
83
+
84
+ ---
85
+
86
+ ## 📊 Tech Stack Comparison
87
+
88
+ | Aspect | This Folder (Private) | DevTunnelPages (Public) |
89
+ |--------|----------------------|------------------------|
90
+ | **Format** | HTML/CSS/JS | Next.js 15 + TypeScript |
91
+ | **Styling** | Custom CSS | Tailwind CSS |
92
+ | **Purpose** | Prototype/Reference | Production Website |
93
+ | **Hosting** | Not hosted | Vercel |
94
+ | **Git** | Ignored (private) | Public repo |
95
+ | **Updates** | Manual edit | Git push → auto-deploy |
96
+
97
+ ---
98
+
99
+ ## 🔗 Important Links
100
+
101
+ - **Public Repo:** https://github.com/maiz-an/DevTunnelPages
102
+ - **Vercel Deploy:** https://vercel.com/new
103
+ - **Main DevTunnel:** https://github.com/maiz-an/DevTunnel
104
+ - **Deployment Guide:** See DevTunnelPages/DEPLOY.md
105
+
106
+ ---
107
+
108
+ ## 🔐 Privacy Note
109
+
110
+ This folder (`src/utils/pages/`) is in `.gitignore` and will NOT be pushed to GitHub.
111
+ Only visible in local repository for development reference.
112
+
113
+ ---
114
+
115
+ ## 💡 Quick Reference
116
+
117
+ **Deploy Command (from DevTunnelPages):**
118
+ ```bash
119
+ git push # Vercel auto-deploys
120
+ ```
121
+
122
+ **Local Preview (from DevTunnelPages):**
123
+ ```bash
124
+ npm run dev # http://localhost:3000
125
+ ```
126
+
127
+ **Production Build (from DevTunnelPages):**
128
+ ```bash
129
+ npm run build
130
+ npm start
131
+ ```
132
+
133
+ ---
134
+
135
+ **Last Updated:** January 28, 2026
136
+ **Status:** ✅ LIVE at https://devtunnel.vercel.app
137
+
138
+ **Latest Changes (Jan 28, 2026):**
139
+ - ✅ Updated to Next.js 15 (latest version)
140
+ - ✅ Added favicons (all sizes)
141
+ - ✅ Updated npm install command to `devtunnel-cli`
142
+ - ✅ Updated terminal demo to show `devtunnel` command
143
+ - ✅ Added SEO metadata (OpenGraph, Twitter, Google Search Console)
144
+ - ✅ Added sitemap.xml and robots.txt
145
+ - ✅ Added npm link to navigation bar
146
+ - ✅ Removed developer name from metadata
147
+ - ✅ Added Google Search Console verification
148
+ - ✅ Added structured data (JSON-LD) for SEO
149
+ - ✅ Updated version to 3.0.10
150
+ - ✅ Added auto-detection feature documentation
151
+ - ✅ Added streaming support documentation
152
+ - ✅ Improved features list with auto-detection
153
+
154
+ ---
155
+
156
+ ## 🎉 Deployment Details
157
+
158
+ **Live Website:** https://devtunnel.vercel.app
159
+
160
+ **Build Stats:**
161
+ - Build Time: ~32 seconds
162
+ - Next.js Version: 15.1.6 (latest)
163
+ - Total Pages: 4
164
+ - First Load JS: 105 kB
165
+ - Status: ✅ Successfully deployed
166
+ - npm Package: `devtunnel-cli@3.0.10` (published and live)
167
+ - Latest Features: Auto-detection, streaming support, improved port detection
168
+
169
+ **Vercel Project:** devtunnel
170
+
171
+ **Auto-Deploy:** ✅ Every push to main branch auto-deploys in ~30 seconds
172
+
173
+ ---
174
+
175
+ ## 🔗 All Links
176
+
177
+ | Purpose | URL |
178
+ |---------|-----|
179
+ | **Live Website** | https://devtunnel.vercel.app |
180
+ | **Website Repo** | https://github.com/maiz-an/DevTunnelPages |
181
+ | **Main DevTunnel** | https://github.com/maiz-an/DevTunnel |
182
+ | **Vercel Dashboard** | https://vercel.com/dashboard |
package/bin/README.md DELETED
@@ -1,40 +0,0 @@
1
- # Bundled Binaries
2
-
3
- This folder contains platform-specific binaries that are automatically downloaded on first run.
4
-
5
- ## Structure
6
-
7
- ```
8
- bin/
9
- ├── win32/
10
- │ └── cloudflared.exe (Windows binary)
11
- ├── darwin/
12
- │ └── cloudflared (macOS binary)
13
- └── linux/
14
- └── cloudflared (Linux binary)
15
- ```
16
-
17
- ## Automatic Setup
18
-
19
- When you run DevTunnel for the first time, it will:
20
- 1. Detect your operating system
21
- 2. Download the appropriate Cloudflare binary (~40MB)
22
- 3. Save it to this folder
23
- 4. Use it for all future runs
24
-
25
- **No manual installation required!**
26
-
27
- ## Manual Setup (Optional)
28
-
29
- If you want to pre-download binaries:
30
-
31
- ```bash
32
- node src/core/setup-cloudflared.js
33
- ```
34
-
35
- ## Notes
36
-
37
- - These files are in `.gitignore` (not pushed to GitHub)
38
- - Downloaded automatically on first run
39
- - Falls back to system-installed cloudflared if download fails
40
- - Version: Cloudflare 2024.8.2 (latest stable)