Web Based 3D Viewer and 3D Annotation System.
- Bun - runtime and package manager.
npm/yarn/pnpmare not supported.
Clone the repository, then install the dependencies with Bun:
git clone https://github.com/Kompakkt/Viewer
cd Viewer
bun installShared code from upstream Kompakkt packages (@kompakkt/common, @kompakkt/komponents, @kompakkt/plugins, @kompakkt/server-openapi) is pulled in automatically as git-pinned npm dependencies.
Start the Angular dev server:
bun startNavigate to http://localhost:4200/viewer/. The app will automatically reload if you change any of the source files.
By default the viewer talks to the public Kompakkt server at https://kompakkt.de/server/. To point the viewer at a different backend (e.g. a locally running Kompakkt server), edit src/environment.ts:
export const environment = {
server_url: 'https://kompakkt.de/server/',
repo_url: 'https://kompakkt.de/',
};Adjust server_url to the URL of the Kompakkt server you want the viewer to talk to, and repo_url to the corresponding Kompakkt.Repo instance.
Run bun run build to build the project. The build artifacts will be stored in the dist/viewer/ directory.
This repository only contains the Viewer frontend. To run Viewer, Repo and Server together (with all required supporting services such as Redis, Sonic and MongoDB), use the Kompakkt/Mono environment.
