Menu

Tree [6527ae] main /
 History

HTTPS access


File Date Author Commit
 .vscode 3 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [8543fd] Initial commit: Tunnel Cloudflared Desktop v1.0.0
 image 3 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [3acb1d] docs: add screenshots to README
 src 2 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [5fc136] feat: Implement Tunnel Materialization v1.2.0, ...
 src-tauri 2 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [5fc136] feat: Implement Tunnel Materialization v1.2.0, ...
 .gitignore 2 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [5fc136] feat: Implement Tunnel Materialization v1.2.0, ...
 LICENSE 3 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [8543fd] Initial commit: Tunnel Cloudflared Desktop v1.0.0
 README.md 2 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [6527ae] Update README.md
 index.html 2 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [5ca5f3] chore: update version to v1.2.0 in UI
 package-lock.json 3 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [8543fd] Initial commit: Tunnel Cloudflared Desktop v1.0.0
 package.json 2 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [5fc136] feat: Implement Tunnel Materialization v1.2.0, ...
 vite.config.js 3 days ago Abdi Syahputra Harahap Abdi Syahputra Harahap [8543fd] Initial commit: Tunnel Cloudflared Desktop v1.0.0

Read Me

Tunnel Cloudflared Desktop

A modern, high-performance desktop application for managing Cloudflare Tunnels with ease. Built with Tauri, Rust, and Vanilla JavaScript.

App Icon

Tunnel Cloudflared Desktop

The secure, lightweight way to expose your local services to the world.

Features

  • 🚀 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 cloudflared version for your OS.

Preview

Dashboard Logs
Dashboard Logs
Quick Tunnels Tunnel Connector
Quick Tunnels Tunnel Connector
Add Endpoint Tunnel Endpoints
Add Endpoint Tunnel Endpoints

Technical Architecture

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))

Why Rust & Tauri?

  • 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.

Prerequisites

Before you begin, ensure you have the following installed:

Getting Started

1. Clone the Repository

git clone https://github.com/maskodingku/Tunnel-Cloudflared-Desktop.git
cd Tunnel-Cloudflared-Desktop

2. Install Dependencies

npm install

3. Run in Development Mode

npm run tauri dev

4. Build Productive Binary

npm run tauri build

Security & Audit Focus

This 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.rs to 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.

License

Distributed under the MIT License.

Portfolio

Developed with ❤️ by Abdi Syahputra Harahap (MASKODING).

MongoDB Logo MongoDB