instatunnel 1.0.20 → 1.0.22

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,69 +1,77 @@
1
- # InstaTunnel CLI
1
+ # InstaTunnel
2
2
 
3
- > Expose your localhost to the internet instantly - the ngrok alternative that's 40% cheaper
3
+ InstaTunnel is a fast, reliable, and developer-friendly tunneling service that makes your localhost accessible from anywhere on the internet. Built as an open-source alternative to ngrok with better pricing and more generous free tier.
4
4
 
5
- ## 🚀 Quick Start
5
+ ## Features
6
6
 
7
+ - **Fast Setup**: One command to share your localhost
8
+ - **Custom Subdomains**: Get memorable URLs like `myapp.instatunnel.my`
9
+ - **Multiple Tunnels**: Run several tunnels simultaneously
10
+ - **Analytics Dashboard**: Track requests, bandwidth, and visitor stats
11
+ - **Extended Sessions**: 24+ hour sessions on free tier
12
+ - **Custom Domains**: Use your own domain (Pro tier)
13
+ - **Team Collaboration**: Share tunnels with your team
14
+
15
+ ## Quick Start
16
+
17
+ ### Install CLI
7
18
  ```bash
8
- # Install globally
9
- npm install -g instatunnel
19
+ # Download latest release
20
+ curl -sSL https://install.instatunnel.my | bash
10
21
 
11
- # Share your app instantly
12
- instatunnel 3000
13
- # or use the short alias
14
- it 3000
22
+ # Or with Go
23
+ go install github.com/instatunnel/cli@latest
15
24
  ```
16
25
 
17
- ## Features
26
+ ### Start Tunneling
27
+ ```bash
28
+ # Share your local port 3000
29
+ instatunnel 3000
30
+
31
+ # Use custom subdomain
32
+ instatunnel 3000 --subdomain myapp
18
33
 
19
- - **🆓 Anonymous usage** - No signup required
20
- - **⚡ Instant setup** - Works in under 30 seconds
21
- - **🕐 24-hour sessions** - vs ngrok's 2-hour limit
22
- - **🎨 Custom subdomains** - Free vs ngrok's paid feature
23
- - **📱 QR codes** - Perfect for mobile testing
24
- - **🔒 Password protection** - Secure your tunnels
25
- - **🎯 Framework detection** - Auto-detect React, Next.js, Laravel
34
+ # Multiple tunnels
35
+ instatunnel 3000 &
36
+ instatunnel 8080 --subdomain api &
37
+ ```
38
+
39
+ ## Development
26
40
 
27
- ## 📖 Usage Examples
41
+ ### Prerequisites
42
+ - Go 1.21+
43
+ - Node.js 18+
44
+ - PostgreSQL 15+
45
+ - Redis 7+
46
+ - Docker & Docker Compose
28
47
 
48
+ ### Local Setup
29
49
  ```bash
30
- # Basic tunneling
31
- instatunnel 3000 # Share localhost:3000
32
- it 8080 # Short alias for port 8080
33
-
34
- # Framework shortcuts
35
- instatunnel --react # Auto-detect React (port 3000)
36
- instatunnel --next # Auto-detect Next.js (port 3000)
37
- instatunnel --laravel # Auto-detect Laravel (port 8000)
38
-
39
- # Security features
40
- instatunnel 3000 --password secret # Password protect tunnel
41
- instatunnel 3000 --auth user:pass # Basic authentication
42
-
43
- # Mobile testing
44
- instatunnel 3000 --qr # Show QR code for mobile
45
-
46
- # Management
47
- instatunnel --list # List active tunnels
48
- instatunnel --kill myapp # Stop specific tunnel
49
- instatunnel --share # Generate sharing templates
50
- ```
50
+ # Clone repository
51
+ git clone https://github.com/instatunnel/instatunnel
52
+ cd instatunnel
51
53
 
52
- ## 🆚 vs ngrok
54
+ # Start services
55
+ docker-compose up -d
53
56
 
54
- | Feature | InstaTunnel | ngrok |
55
- |---------|-------------|-------|
56
- | **Anonymous usage** | ✅ No signup | ❌ Account required |
57
- | **Session duration** | ✅ 24 hours | ❌ 2 hours |
58
- | **Custom subdomains** | Free | ❌ Paid only |
59
- | **Multiple tunnels** | ✅ 3 free | ❌ 1 free |
60
- | **Setup time** | ✅ < 30 seconds | ❌ 2-3 minutes |
61
- | **Pricing** | 40% cheaper | ❌ Expensive |
57
+ # Run server
58
+ cd server && go run cmd/main.go
59
+
60
+ # Run web dashboard
61
+ cd web && npm install && npm start
62
+
63
+ # Build CLI
64
+ cd cli && go build -o instatunnel cmd/main.go
65
+ ```
62
66
 
63
- ## 🌐 Website
67
+ ## Architecture
64
68
 
65
- Visit [instatunnel.my](https://instatunnel.my) for more information.
69
+ - **Server**: Go backend with WebSocket tunneling
70
+ - **CLI**: Cross-platform Go binary
71
+ - **Web**: React dashboard for analytics
72
+ - **Database**: PostgreSQL for data, Redis for sessions
73
+ - **Proxy**: Nginx for SSL termination and routing
66
74
 
67
- ## 📝 License
75
+ ## License
68
76
 
69
- MIT
77
+ Open source under MIT License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instatunnel",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Expose your localhost to the internet instantly - the ngrok alternative that's 40% cheaper with superior UX",
5
5
  "main": "install.js",
6
6
  "bin": {
package/bin/instatunnel DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +0,0 @@
1
- @echo off
2
- setlocal
3
- set "args=%*"
4
- "%~dp0instatunnel" %args%
5
- endlocal
Binary file
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
- $exe="$basedir/instatunnel"
4
- & $exe $args
5
- exit $LASTEXITCODE
package/bin/it DELETED
Binary file
Binary file
Binary file
Binary file
package/bin/it-linux-386 DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/bin/it.cmd DELETED
@@ -1,5 +0,0 @@
1
- @echo off
2
- setlocal
3
- set "args=%*"
4
- "%~dp0it" %args%
5
- endlocal
package/bin/it.exe DELETED
Binary file
package/bin/it.ps1 DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
- $exe="$basedir/it"
4
- & $exe $args
5
- exit $LASTEXITCODE