Skip to content

A pre-processing server for managing multimedia file optimizations

Notifications You must be signed in to change notification settings

Kompakkt/Kompressor

Repository files navigation

Kompressor

ElysiaJS based server for pre-processing:

Quick Start

Build the dockerfile, e.g.:

docker buildx build -t kompressor -f Dockerfile .

Run:

docker run -it --rm --name kompressor --publish 7999:7999 -v /path/to/files:/app/uploads kompressor:latest

API

The server has the following endpoints:

Endpoint Description
/ Healthcheck
/process/:type/:id Queue processing for id
/progress/:id Poll progress for id
/queue Get queue status

Type is one of 'model' or 'cloud'.

Id is the name of the directory containing the files to be processed.

File Structure

The server inside the docker container expects the following file structure:

/app/uploads/model for directories containing OBJ files to be processed.

/app/uploads/cloud for directories containing LAS/LAZ files to be processed.

Outputs will be placed into /app/uploads/[type]/[id]/out.

About

A pre-processing server for managing multimedia file optimizations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages