Skip to main content

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