Skip to content

silexlabs/silex-desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

207 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silex Desktop

Desktop application for Silex, the free/libre no-code website builder. Built with Tauri v2 and the silex-server Rust crate.

Prerequisites

Development

cd packages/silex-desktop
npm install
npm run dev

The 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

Build

npm run build

This produces platform-specific installers in src-tauri/target/release/bundle/.

Architecture

The app embeds silex-server as a library. On startup it:

  1. Starts the HTTP server on localhost:6805 (API + static files)
  2. Opens a WebView pointing to / (dashboard)
  3. Starts an MCP server on port 6807 for AI-assisted editing

The dashboard shows the user's websites. Clicking a site navigates to /?id=<website_id> which loads the GrapesJS editor.

Key files

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)

Support

About

Desktop application for Silex, the free/libre no-code website builder. Built with Tauri v2 and the silex-server Rust crate.

Topics

Resources

License

Stars

Watchers

Forks

Packages