Desktop (Electron)
The desktop edition packages Logswarm as an Electron application. On launch it starts an embedded Next.js server (the standalone build of @logswarm/server) on a loopback port and opens a window against that local UI.
Install
- Obtain a Windows installer (NSIS) or portable build from your release channel.
- Run the installer (or unpack the portable build).
- Start logswarm from the Start menu or the executable.
You do not need a separate Node.js installation on the end-user machine for a packaged build — the app bundles a Node runtime and the standalone server under its resources.
First run
- The app creates a local data directory under Electron
userDataatlogswarm-data(database, secrets, license material). - The embedded server listens on a loopback port (default
3847, overridable withLOG_SWARM_ELECTRON_PORTfor development). - The main window loads the search UI from that local server.
- If no license is active, the onboarding / License activation screen appears with a copyable Hardware key. Send that key to an administrator so they can issue a
.logswarm.licfile bound to this machine. - Sign in as an administrator (when required), open license import, select the
.logswarm.licfile, and confirm. Search unlocks when the license is valid.
Desktop sessions stay signed in for normal use. The desktop UI does not expose a logout action — the session matches the hardware-bound installation.
What is embedded
Packaged resources include:
- Standalone Next.js server entry (
server/packages/server/server.js) - Prisma schema / migrations needed at runtime
- Bundled Node binary used to run the embedded server
Development builds can point at a local standalone build under packages/server/.next/standalone instead of packaged resources.
Day-to-day use
- Open Logswarm.
- Confirm license status in the UI (valid / days remaining).
- Configure servers, directories, presets, and regex as described in Configuration.
- Run searches from the main dashboard — see Search.
Troubleshooting
| Symptom | What to check |
|---|---|
| Window opens but search is disabled | License missing or expired — import a valid .logswarm.lic |
| Cannot reach remote logs | SSH server host/port/credentials; use Test connection on the Servers page |
| App fails to start | Check logswarm-bootstrap.log next to the executable for bootstrap errors |
| Need a fresh local DB | Data lives under the Electron userData logswarm-data folder — back up before deleting |
Next steps
- Configure from scratch
- Search the logs
- Prefer a shared host? See Docker