Skip to content
manyfold logo

Manyfold Skill

manyfold

Self-hosted 3D model library manager for organizing, viewing, and managing 3D print files. Use when the user asks about deploying, configuring, or using Manyfold for managing STL/OBJ/3MF collections. Triggers on phrases like "Manyfold", "3D model library", "manage my 3D prints", "self-hosted mode...

SKILL.md

Full skill instructions

Manyfold Skill

Manyfold is a self-hosted web application for managing 3D print file collections with interactive previews, metadata organization, and Fediverse federation support.

Quick Reference

Docker Image: ghcr.io/​manyfold3d/​manyfold:latest Default Port: 3214 Web UI: http://{server}:3214

Deployment Options

Minimal (Solo with SQLite)

services:
  manyfold:
    image: ghcr.io/​manyfold3d/​manyfold-solo:latest
    ports:
      - "3214:3214"
    volumes:
      - /​path/​to/​config:/​config
      - /​path/​to/​models:/​libraries
    environment:
      SECRET_KEY_BASE: <generate-128-char-hex>
      PUID: 1000
      PGID: 1000
    restart: unless-stopped

Production (PostgreSQL + Redis)

services:
  manyfold:
    image: ghcr.io/​manyfold3d/​manyfold:latest
    ports:
      - "3214:3214"
    volumes:
      - /​path/​to/​models:/​libraries
    environment:
      DATABASE_URL: postgresql://manyfold:password@db/​manyfold?pool=5
      REDIS_URL: redis://redis:6379/​1
      SECRET_KEY_BASE: <generate-128-char-hex>
      PUID: 1000
      PGID: 1000
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - DAC_OVERRIDE
      - SETUID
      - SETGID
    depends_on:
      - db
      - redis

  db:
    image: postgres:15
    volumes:
      - db_data:/​var/​lib/​postgresql/​data
    environment:
      POSTGRES_USER: manyfold
      POSTGRES_PASSWORD: password
      POSTGRES_DB: manyfold

  redis:
    image: redis:7

volumes:
  db_data:

Required Environment Variables

VariableDescription
SECRET_KEY_BASE128-char hex string for cookie signing. Generate with openssl rand -hex 64
PUID / PGIDUser/​group ID for file permissions. Get with id command
REDIS_URLRedis connection (not needed for solo image). Format: redis://host:6379/​1

Database Configuration

Option 1: DATABASE_URL (recommended)

  • PostgreSQL: postgresql://user:pass@host/​dbname?pool=5
  • MySQL: mysql2://user:pass@host/​dbname?pool=5
  • SQLite: sqlite3:/​config/​manyfold.sqlite3?pool=5

Option 2: Individual variables

  • DATABASE_ADAPTER: postgresql, mysql2, or sqlite3
  • DATABASE_HOST, DATABASE_PORT, DATABASE_USER, DATABASE_PASSWORD, DATABASE_NAME

Key Optional Features

VariableDescription
MULTIUSER=enabledEnable login, roles, permissions
FEDERATION=enabledActivityPub/​Fediverse support
HTTPS_ONLY=enabledForce HTTPS, set HSTS headers
DEMO_MODE=enabledDisable all destructive operations

OIDC Single Sign-On

OIDC_CLIENT_ID=<client-id>
OIDC_CLIENT_SECRET=<secret>
OIDC_ISSUER=https://auth.example.com/
OIDC_NAME=Authentik
FORCE_OIDC=enabled  # Optional: disable local login

Email (SMTP)

SMTP_SERVER=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=user
SMTP_PASSWORD=pass
[email protected]
PUBLIC_HOSTNAME=manyfold.example.com

Performance Tuning

VariableDefaultDescription
WEB_CONCURRENCY4Web worker processes
RAILS_MAX_THREADS16Threads per worker
DEFAULT_WORKER_CONCURRENCY4Background job threads
PERFORMANCE_WORKER_CONCURRENCY1Heavy job threads (analysis, conversion)

Security Settings

MAX_FILE_UPLOAD_SIZE=536870912    # 512MB in bytes
MAX_FILE_EXTRACT_SIZE=1073741824  # 1GB in bytes
MIN_PASSWORD_SCORE=4              # 0-4, higher = stricter

Core Concepts

  • Library: Storage location (local folder or S3 bucket) containing models
  • Model: A folder containing related 3D files (parts, images, docs)
  • Creator: Content author/​designer
  • Collection: Grouping of related models
  • Tags: Organizational keywords

User Workflows

Initial Setup

  1. Access web UI at http://server:3214
  2. Create admin account (email, username, password)
  3. Add first library (path inside container, e.g., /​libraries)
  4. Scan runs automatically to index existing files

Scanning

  • Scan for new files: Detect new folders/​files added outside Manyfold
  • Rescan all models: Re-check existing models for problems/​metadata

Uploading

  • Upload ZIP archives (extracted as separate models)
  • Upload individual STL/​OBJ files (creates single model)
  • Progress shown during upload, extraction happens in background

External Integrations (v0.118+)

Import metadata from Thingiverse, MyMiniFactory, Cults3D:

  1. Configure API keys in Settings > Integrations
  2. Add link to model page
  3. Click sync icon to import metadata/​images
  4. Or paste URL in search bar for direct import

Supported File Formats

See references/​supported_formats.md for complete list.

3D Models with Preview: STL, OBJ, 3MF, GLTF/​GLB, FBX, PLY, 3DS Slicer Files: GCode (preview), Chitubox, Lychee Images: PNG, JPG, GIF, WebP, SVG, TIFF, BMP Documents: PDF, Markdown, TXT Archives: ZIP, RAR, 7z, gzip, bzip2

Troubleshooting

Container won't start

  • Ensure SECRET_KEY_BASE is set
  • Check PUID/PGID have read/​write access to mounted volumes
  • Verify Redis is accessible (for full image)

Files not appearing

  • Check library path matches container mount (not host path)
  • Run manual scan from web UI
  • Verify file extensions are supported

Permission errors

  • Match PUID/PGID to owner of library folders
  • Ensure container has write access for temp files

Health check

wget --no-verbose --tries=1 --spider http://localhost:3214/​health

Reverse Proxy

Set RAILS_RELATIVE_URL_ROOT=/​manyfold for non-root paths.

Required headers for HTTPS proxy:

  • X-Forwarded-Proto: https
  • X-Forwarded-For
  • Host

Note: Federation requires domain root (no subpath).

Additional References

  • Configuration details: references/​configuration.md
  • All supported formats: references/​supported_formats.md

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View