A cross-platform desktop application for CodeFlow Engine built with Tauri, React, and TypeScript.
CodeFlow Desktop provides a user-friendly interface for managing and monitoring CodeFlow workflows, configurations, and platform analytics. The application combines a modern React frontend with a lightweight Rust backend, leveraging Tauri for native desktop capabilities.
- Dashboard: Real-time workflow status and platform detection overview
- Configuration Management: Visual editor for CodeFlow settings and workflows
- Platform Analytics: Detailed insights into detected platforms and compatibility
- Live Logs: Real-time log streaming via WebSocket connection
- Python Sidecar: Embedded Python runtime for CodeFlow Engine integration
codeflow-desktop/
├── src/ # React frontend (TypeScript)
│ ├── pages/ # Application pages
│ │ ├── Dashboard.tsx
│ │ ├── Configuration.tsx
│ │ ├── PlatformAnalytics.tsx
│ │ └── Logs.tsx
│ ├── components/ # Reusable UI components
│ └── App.tsx # Main application component
├── src-tauri/ # Rust backend
│ ├── src/
│ │ ├── main.rs # Tauri application entry point
│ │ └── lib.rs # Core library functions
│ └── tauri.conf.json # Tauri configuration
└── sidecar/ # Python sidecar process
├── main.py # Sidecar entry point
├── websocket_handler.py
└── requirements.txt
- Node.js (v20 or higher)
- Rust (latest stable)
- Python (3.8 or higher)
-
Navigate to the desktop app directory:
cd codeflow-desktop -
Install Node.js dependencies:
npm install
-
Install Python dependencies for the sidecar:
pip install -r sidecar/requirements.txt
Start the development server:
npm run tauri devThis command will:
- Start the Vite dev server (React frontend) at http://localhost:1420
- Compile the Rust backend
- Launch the Python sidecar process
- Open the desktop application window
Build the application:
npm run buildCreate distributable packages:
npm run tauri buildThis generates platform-specific installers in src-tauri/target/release/bundle/:
- Windows:
.msiinstaller - macOS:
.dmgdisk image and.appbundle - Linux:
.deb,.AppImage, or.rpm
The desktop application communicates with CodeFlow Engine via:
- HTTP API: REST endpoints for engine operations
- WebSocket: Real-time log streaming
- Sidecar Contract: Well-defined Python sidecar interface
Important: This application has no hard-coded dependencies on the engine repository structure. All communication is via API contracts.
- React 19: UI framework
- TypeScript: Type-safe JavaScript
- Vite: Fast build tool and dev server
- Tailwind CSS 4: Utility-first CSS framework
- shadcn/ui: Accessible component library
- Tauri 2: Native desktop framework
- Rust: System programming language
- Python Sidecar: Embedded Python runtime for CodeFlow Engine integration
codeflow-engine- Core engine (communicates via API)codeflow-infrastructure- Production infrastructurecodeflow-vscode-extension- VS Code extensioncodeflow-azure-setup- Azure bootstrap scriptscodeflow-website- Marketing website
MIT