Saltar al contenido principal

Desktop Server Mode

Run the embedded API server from the Gauzy Desktop app.

Overviewโ€‹

Gauzy Desktop can run in Server Mode, which embeds a fully functional NestJS API server alongside the Electron desktop app. This is useful for:

  • Standalone deployments without a separate server
  • Small team setups
  • Offline-first environments

Enabling Server Modeโ€‹

  1. Open Desktop Settings
  2. Toggle Server Mode โ†’ ON
  3. Configure:
    • Port (default: 5620)
    • Database type (SQLite or PostgreSQL)
    • Auto-start on boot
  4. Click Start Server

Server Configurationโ€‹

SettingDefaultDescription
Port5620API server port
DB TypeSQLiteDatabase backend
DB Path~/.gauzy/Database file location
Auto-startOffStart server on app launch
BackgroundYesRun in system tray

Architectureโ€‹

Accessing the APIโ€‹

Once running, the API is available at:

http://localhost:5620/api

Limitationsโ€‹

  • SQLite only supports single-user concurrent access
  • No Redis support in embedded mode
  • Performance limited by desktop hardware