Back to Home
Piebald-AI icon

gemini-cli-desktop

Verified Safe

by Piebald-AI

Overview

A cross-platform desktop and web application providing a modern UI for various AI CLIs (Gemini, Qwen, LLxprt), enabling structured interaction with AI models, visual tool confirmation, real-time thought processes, code diff viewing, chat history management, and file system integration.

Installation

Run Command
just build-all && ./target/release/gemini-cli-desktop-web

Environment Variables

  • GEMINI_CLI_DESKTOP_WEB
  • TAURI_DEV_HOST
  • TAURI_APP_PATH
  • TAURI_FRONTEND_PATH
  • LLXPRT_API_KEY
  • LLXPRT_MODEL
  • LLXPRT_BASE_URL
  • QWEN_API_KEY
  • QWEN_BASE_URL
  • QWEN_MODEL
  • GEMINI_API_KEY
  • VERTEX_PROJECT
  • VERTEX_LOCATION

Security Notes

The project demonstrates a robust and multi-layered security model. Key features include a command execution whitelist (100+ safe commands) and blacklist (dangerous patterns/operations), API key masking in logs (first 4 and last 4 characters visible), and a 5-layer Server-Side Request Forgery (SSRF) protection for URLs (HTTPS enforcement, private IP blocking, cloud metadata blocking, URL validation). Environment variables for credentials are managed with an RAII pattern (`EnvVarGuard`) to ensure automatic cleanup and prevent leakage. The Tauri desktop application is designed with minimal permissions and a sandboxed environment.

Similar Servers

Stats

Interest Score63
Security Score10
Cost ClassMedium
Avg Tokens750
Stars103
Forks15
Last Update2025-11-23

Tags

AI assistantCLI frontendDesktop applicationWeb interfaceTool confirmationChat historyFile managementRustReactInternationalization