Desktop application for Silex, the free/libre no-code website builder. Built with Tauri v2 and the silex-server Rust crate.
- Rust (stable)
- Node.js (for the Tauri CLI)
- System dependencies for Tauri: see Tauri prerequisites
cd packages/silex-desktop
npm install
npm run devThe server reads configuration from environment variables. Create a .env file in src-tauri/ for local development:
SILEX_DASHBOARD_PATH=../../silex_silex-dashboard-2026/public
SILEX_STATIC_ROUTES=/:../../silex-lib/dist/client
npm run buildThis produces platform-specific installers in src-tauri/target/release/bundle/.
The app embeds silex-server as a library. On startup it:
- Starts the HTTP server on
localhost:6805(API + static files) - Opens a WebView pointing to
/(dashboard) - Starts an MCP server on port
6807for AI-assisted editing
The dashboard shows the user's websites. Clicking a site navigates to /?id=<website_id> which loads the GrapesJS editor.
| Path | Purpose |
|---|---|
src-tauri/src/main.rs |
Tauri app entry, server startup, window management |
src-tauri/src/mcp.rs |
MCP server, eval_js bridge, prompt |
src-tauri/scripts/desktop-bridge.js |
JS injected into the WebView (Tauri <-> editor bridge) |