GitHunt
ER

erbridge/van_dam

A self-hosted digital asset manager for 3d print files

VanDAM

VanDAM is a Digital Asset Manager (DAM), specifically designed for 3D print files. Create a library pointing at your files on disk, and it will scan for models and parts. It assumes that any folders containing STL or OBJ files are models, and the files within them are parts. You can then view the files easily through your browser!

preview

Running in Docker

You can run the latest release in docker by using the image ghcr.io/floppy/van_dam:latest. The app also needs a PostgreSQL and Redis database to operate.

The docker image supports linux/amd64, linux/arm/v7 and linux/arm64 architectures, so you should be able to run it on a PC, a Raspberry Pi, or maybe even an M1 Mac.

You can run all the dependencies in one go using docker-compose:

  1. Copy docker-compose.example.yml to docker-compose.yml and edit the paths, secret key, and passwords
  2. Run docker-compose up
  3. Once it all starts, Van DAM should be running at http://127.0.0.1:3214
  4. Add a library - remember the path mappings in the compose file, by default your libraries will be available at /libraries

Development

Requirements

Usage

bundle install
yarn install
bundle exec rake db:migrate
foreman start

The server will then be running at http://127.0.0.1:5000

How to run the test suite

bundle exec rake

Credits

Built with Rails 6 and Three.js. Source code is open under the MIT license at https://github.com/floppy/van_dam.

Languages

Ruby69.8%HTML16.1%JavaScript11.7%SCSS0.8%Dockerfile0.7%CSS0.7%Shell0.2%

Contributors

MIT License
Created March 14, 2021
Updated December 6, 2023