- Bun - runtime and package manager.
npm/yarn/pnpmare not supported. - MongoDB - primary data store.
- Redis (or a compatible drop-in such as Dragonfly) - cache layer.
- Sonic - full-text search backend.
- Kompressor - mesh processing backend (3d meshes, gaussian splatting, point clouds, ...).
The Kompakkt configuration for Sonic is available at sonic-config.cfg in the Kompakkt/Mono repository.
Clone the repository, then install the dependencies with Bun:
git clone https://github.com/Kompakkt/Server
cd Server
bun installShared code from upstream Kompakkt packages (@kompakkt/common) is pulled in automatically as a git-pinned npm dependency.
Make sure MongoDB, Redis/Dragonfly, Sonic and Kompressor are running locally (see the CONFIGURATION_* environment variables in src/configuration.ts for the hostnames, ports and credentials the server expects by default). Also see "Running the full stack" below.
For local development with hot reload:
bun run devThe server listens on port 3030 by default.
This repository only contains the Server. To run Server, Repo and Viewer together (with all required supporting services such as Redis, Sonic, MongoDB and Kompressor), use the Kompakkt/Mono development environment.
