Skip to main content

Getting Started

Modelibr is a self-hosted game asset library that helps you keep models, texture sets, environment maps, sprites, sounds, and grouped asset collections in one place.

Features

  • Models with version history - Keep track of changes without losing older versions
  • Texture sets - Manage PBR textures, defaults, and channel-packed maps
  • Environment maps - Upload panoramic HDRIs or cube faces, keep multiple variants, and preview lighting in the browser
  • Sprites and sounds - Keep 2D and audio assets in the same library as your models
  • Projects and packs - Group assets either for a specific job or for reuse across jobs
  • Recycle bin and deduplication - Recover mistakes without wasting storage
  • Optional Blender workflow - Use Blender-related tooling and WebDAV when it fits your process

Quick Start

1. Prerequisites

Modelibr runs on Docker. This ensures it works on any system without polluting your computer with dependencies.

How to install Docker

Docker Desktop is the easiest way to get started.

Important: After installation, launch Docker Desktop and ensure it is running in the background. You can verify this by opening a terminal and typing docker --version.

2. Get the Application

How to download the source code

You have two options:

Option A: Using Git (Recommended) If you have Git installed:

git clone https://github.com/Papyszoo/Modelibr.git
cd Modelibr

Option B: Download ZIP

  1. Go to the Modelibr GitHub page.
  2. Click the green Code button and select Download ZIP.
  3. Extract the ZIP file to a folder on your computer.
How to open and use the terminal

You need to run commands in a terminal (command prompt) inside the Modelibr folder.

  • Windows: Open the Modelibr folder in File Explorer. Type cmd in the address bar and press Enter.
  • Mac/Linux: Open Terminal and use cd to navigate to the folder (e.g., cd ~/Downloads/Modelibr).

3. Configuration (Optional)

Modelibr comes with a default configuration that works out of the box, but you can customize it if needed.

How to configure .env settings
  1. In the project root, locate the .env.example file.
  2. Copy it and rename the copy to .env.
  3. Open .env with a text editor (Notepad, VS Code, etc.).

Key Settings:

  • HTTPS_PORT: HTTPS port for the backend API (Default: 8443).
  • EXPOSE_443_PORT: Also bind to port 443 for Windows WebDAV compatibility (Default: true).
  • FRONTEND_PORT: Port for the web interface (Default: 3010).
  • POSTGRES_PASSWORD: Database password (change this for security).
  • Note: The data storage path is managed by Docker volumes (mapped to ./data folder in the project root) and does not need to be changed in the .env file for standard usage.

4. Start the Application

Open your terminal in the project folder and run:

docker compose up -d
info

This command tells Docker to download the necessary components (images) and start them in the background. The first run might take a few minutes depending on your internet connection.

Check if it's running: Run docker compose ps to see the status of the containers. All services (webapi, frontend, asset-processor, postgres) should be "running" or "healthy".

5. Access the Interface

Open your browser and visit: https://localhost:3010

Your browser may show a warning on first launch because Modelibr uses a local self-signed certificate in development.

Where is my data?

All your uploaded assets, generated thumbnails, and database files are stored in the data folder within the project directory.

  • data/uploads: Your uploaded asset files.
  • data/thumbnails: Generated images and 3D previews.
  • data/postgres: Database files.
warning

Back up the data folder regularly to keep your library safe!

Next Steps