A terminal user interface (TUI) for managing Cloudflare WARP VPN connections.
Built with Rust and Ratatui, warp-tui
provides a real-time, interactive terminal interface for monitoring and controlling your WARP connection status without relying on GUI applications.
- Real-time Status Monitoring: Live updates of WARP connection state with color-coded indicators
- Interactive Controls: Connect, disconnect, and refresh WARP status directly from the terminal
- Minimal Resource Usage: Lightweight application with < 10MB memory footprint
- Cross-platform Support: Works on Linux, macOS, and Windows
- Auto-refresh: Configurable periodic status updates (default: 1000ms)
- Cloudflare WARP must be installed
warp-cli
must be available in your system PATH
git clone https://github.com/mertssmnoglu/warp-tui.git
cd warp-tui
cargo install --path .
cargo install warp-tui
Simply run the application:
warp-tui
You can create a Linux desktop entry for warp-tui
using the provided script:
chmod +x scripts/generate-warp-tui-desktop.sh
./scripts/generate-warp-tui-desktop.sh
- C - Connect to WARP
- D - Disconnect from WARP
- R - Refresh status manually
- Q/Esc/Ctrl+C - Quit application
cargo build
cargo run
cargo test
- Language: Rust (Edition 2024)
- TUI Framework: Ratatui 0.29.0
- Terminal Handling: Crossterm 0.28.1
- Async Runtime: Tokio 1.0
- Error Handling: color-eyre, thiserror
Contributions are welcome! Please feel free to submit a Pull Request.
Copyright (c) Mert Şişmanoğlu [email protected]
This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)