Tunnel Cloudflared Desktop Code
Lightweight desktop application for managing Cloudflare Tunnels
Brought to you by:
maskoding
A modern, high-performance desktop application for managing Cloudflare Tunnels with ease. Built with Tauri, Rust, and Vanilla JavaScript.
The secure, lightweight way to expose your local services to the world.
cert.pem.cloudflared version 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))
Before you begin, ensure you have the following installed:
git clone https://github.com/maskodingku/Tunnel-Cloudflared-Desktop.git
cd Tunnel-Cloudflared-Desktop
npm install
npm run tauri dev
npm run tauri build
This project is designed with transparency and security in mind:
src-tauri/src/accounts.rs to see how we securely handle Cloudflare API interactions using local credential parsing.[!IMPORTANT]
Yourcert.pemandapp_config.jsonare automatically ignored by.gitignoreto prevent accidental credential leaks.
Distributed under the MIT License.
Developed with ❤️ by Abdi Syahputra Harahap (MASKODING).