@@ -7,12 +7,12 @@ Breez is an open-source, developer-focused tunneling tool built in Go. It secure
77
88## Core Features
99
10- - ⚡ ** Instant Public URLs** : Expose local ports (` localhost:3000 ` ) to the public internet in seconds.
11- - 🚀 ** Lightweight & Fast** : Single binary written in Go with minimal resource overhead.
12- - 🔄 ** Multiplexed WebSockets** : Efficient HTTP request & response framing over WebSocket connections.
13- - 🌐 ** Random Subdomains** : Auto-allocated clean subdomains for every active tunnel session.
10+ - 🌐 ** Local DNS (` *.breez.local ` )** : Zero-latency local domain resolution directly to your local ports without requiring internet.
11+ - ⚡ ** Instant Public URLs** : Expose local ports (` localhost:3000 ` ) to the public internet via secure WebSocket tunnels.
12+ - 🔀 ** Smart Local Reverse Proxy** : Map custom names (` myapp.breez.local ` ) directly to any local service (` localhost:3000 ` ).
13+ - 🎨 ** Elevated Terminal UI/UX** : Real-time request monitoring with color-coded HTTP method badges, status codes, and latency tracking.
14+ - 🚀 ** Single Lightweight Binary** : High-performance Go binary with minimal resource overhead.
1415- 💻 ** Cross-Platform** : Support for Linux, macOS, and Windows.
15- - 🔒 ** Secure Protocol** : Built for secure HTTP/HTTPS transport.
1616
1717---
1818
@@ -50,35 +50,57 @@ iwr -useb https://raw.githubusercontent.com/devlopersabbir/breez/main/scripts/un
5050
5151## Usage & Examples
5252
53- ### Expose a Local Development Server
53+ ### 1. Local Development ( ` *.breez.local ` )
5454
55- To expose a local web application running on port ` 3000 ` :
55+ Assign a clean, zero-latency local domain to your development server :
5656
5757``` bash
58- breez serve 3000
58+ breez start 3000 --name myapp
5959```
6060
6161** Output:**
62-
6362``` text
64- ✔ Tunnel Created Successfully!
63+ ┌────────────────────────────────────────────────────────┐
64+ │ ☁ BREEZ v0.2.0 ● Online (Local) │
65+ ├────────────────────────────────────────────────────────┤
66+ │ Local Domain: http://myapp.breez.local │
67+ │ Target Port: http://localhost:3000 │
68+ │ DNS Resolver: 127.0.0.1:53 (*.breez.local) │
69+ ├────────────────────────────────────────────────────────┤
70+ │ [o] Open in Browser [c] Copy URL [q] Quit │
71+ └────────────────────────────────────────────────────────┘
72+
73+ Live Request Logs: (monitoring local traffic...)
74+
75+ 14:52:10 GET /api/v1/health [200 OK] 1.2ms
76+ 14:52:12 POST /api/v1/users [201 Created] 14.8ms
77+ 14:52:15 GET /assets/logo.png [304 Cache] 0.8ms
78+ ```
79+
80+ ### 2. Dual Tunnel (Local DNS + Public Internet)
6581
66- Local: http://localhost:3000
67- Public: http://k72mfa.breez.run
82+ Expose your service publicly while keeping local domain access:
6883
69- Status: Connected (Press Ctrl+C to stop)
70- ---------------------------------------------
71- ➜ GET / 200 (12ms)
72- ➜ POST /api/webhooks 200 (35ms)
84+ ``` bash
85+ breez serve 3000 --subdomain myapp
7386```
7487
75- ### Request a Specific Subdomain
88+ ### 3. List Active Routes
7689
7790``` bash
78- breez serve 3000 --subdomain myapp
91+ breez list
92+ ```
93+
94+ ### 4. Local DNS Resolver Setup (macOS)
95+
96+ One-command setup to route ` *.breez.local ` queries locally via ` /etc/resolver ` :
97+
98+ ``` bash
99+ breez dns setup
100+ breez dns status
79101```
80102
81- ### Check Installed Version
103+ ### 5. Check Installed Version
82104
83105``` bash
84106breez version
0 commit comments