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-climust be available in your system PATH
Download and run the pre-built binary for your platform (x86_64 and arm64) directly from the latest GitHub release.
Linux / macOS (bash/zsh/sh):
curl -fsSL https://raw.githubusercontent.com/mertssmnoglu/warp-tui/main/scripts/install.sh | shThis installs warp-tui into $HOME/.local/bin by default. Set INSTALL_DIR to change the install location, or VERSION to install a specific release (e.g. VERSION=v1.0.0):
curl -fsSL https://raw.githubusercontent.com/mertssmnoglu/warp-tui/main/scripts/install.sh | INSTALL_DIR=/usr/local/bin shWindows — two options, pick whichever shell you use:
PowerShell:
irm https://raw.githubusercontent.com/mertssmnoglu/warp-tui/main/scripts/install.ps1 | iexCustomize with environment variables before running:
$env:INSTALL_DIR = "C:\tools\warp-tui"
$env:VERSION = "v1.0.0"
irm https://raw.githubusercontent.com/mertssmnoglu/warp-tui/main/scripts/install.ps1 | iexcmd.exe (requires curl.exe, bundled with Windows 10 1803+ and Windows 11):
curl -fsSL -o install.bat https://raw.githubusercontent.com/mertssmnoglu/warp-tui/main/scripts/install.bat && install.batCustomize with environment variables before running:
set INSTALL_DIR=C:\tools\warp-tui
set VERSION=v1.0.0
curl -fsSL -o install.bat https://raw.githubusercontent.com/mertssmnoglu/warp-tui/main/scripts/install.bat && install.batBoth install into %LOCALAPPDATA%\warp-tui\bin by default and add it to your user PATH.
Each GitHub Release also attaches a standalone binary and a .zip archive (binary + README + LICENSE) for every OS/architecture, so you can download either format directly from the releases page.
git clone https://github.com/mertssmnoglu/warp-tui.git
cd warp-tui
cargo install --path .cargo install warp-tuiSimply run the application:
warp-tuiYou 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 buildcargo runcargo 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 me@mertsismanoglu.com
This project is licensed under the GNU Affero General Public License v3.0 (LICENSE or https://www.gnu.org/licenses/agpl-3.0.html).