A modern, high-performance desktop application for managing Cloudflare Tunnels with ease. Built with Tauri, Rust, and Vanilla JavaScript.
- 🚀 One-Click Quick Tunnels: Create temporary tunnels without a Cloudflare account.
- 🔐 Multi-Account Management: Securely manage multiple Cloudflare accounts using
cert.pem. - 🔄 Two-Way Synchronization: Sync tunnel configurations between your local app and the Cloudflare Dashboard.
- 📊 Real-time Metrics: Monitor traffic, latency, and connection status.
- 📜 Live Logs: Dedicated terminal view for real-time tunnel output.
- 📦 Portable EXE: Standalone binary for easy distribution.
- 🛡️ Auto-Binary Management: Automatically detects and downloads the correct
cloudflaredversion for your OS.
| Dashboard | Logs |
|---|---|
![]() |
![]() |
| Quick Tunnels | Tunnel Connector |
|---|---|
![]() |
![]() |
| Add Endpoint | Tunnel Endpoints |
|---|---|
![]() |
![]() |
The application leverages Tauri v2 to provide a lightweight security-first alternative to Electron. It uses a bridge between a high-performance Rust backend and a modern Vanilla JS frontend.
graph TD
UI[Frontend: Vanilla JS + Tailwind] <--> Bridge[Tauri IPC Bridge]
Bridge <--> Rust[Backend: Rust Core]
Rust <--> CF_Bin[Cloudflared Binary]
Rust <--> CF_API[Cloudflare API]
CF_Bin <--> Internet((Global Network))
- Security: Rust's memory safety prevents common vulnerabilities.
- Performance: Near-native speed with minimal RAM footprint (approx. 50-80MB).
- Size: Final binary is ~10-15x smaller than equivalent Electron apps.
Before you begin, ensure you have the following installed:
git clone https://github.com/maskodingku/Tunnel-Cloudflared-Desktop.git
cd Tunnel-Cloudflared-Desktopnpm installnpm run tauri devnpm run tauri buildThis project is designed with transparency and security in mind:
- Zero-Trust: No tokens are stored in plain text; ingress rules are managed via secure local YAML.
- Local First: Your data stays on your machine. API calls are made directly to Cloudflare.
- Audit Tip: Check
src-tauri/src/accounts.rsto see how we securely handle Cloudflare API interactions using local credential parsing.
Important
Your cert.pem and app_config.json are automatically ignored by .gitignore to prevent accidental credential leaks.
Distributed under the MIT License.
Developed with ❤️ by Abdi Syahputra Harahap (MASKODING).





