# Minifold

Minifold is a lightweight, self-hosted file compressor that privately reduces files such as images, PDFs, and videos on your own server for homelab users who want a telemetry-free file reduction workflow. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/7604/minifold

## Description

Minifold is a lightweight, self-hosted file compressor that privately reduces files such as images, PDFs, and videos on your own server for homelab users who want a telemetry-free file reduction workflow.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

46/100 (Fair), based on 3 of 4 factors.
- Maintained: 75 (last commit 11 days ago)
- Popular: 10 (2 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/app_30b835e112a86511
- GitHub: https://github.com/a-mayur/minifold

## Common questions

### Which environment variables control login in Minifold?

Set MINIFOLD_AUTH_TOKEN for the main UI and MINIFOLD_ADMIN_TOKEN for the admin page. If unset, tokens are generated, and both must be 16 or more visible ASCII characters without ; or ,.

### What container restart setting is required for the admin Restart button?

Use unless-stopped. On Unraid, add --restart unless-stopped to Extra Parameters so Docker restarts Minifold after the admin page stops it cleanly.

### How are uploaded originals and compressed files cleaned up?

Originals are deleted as soon as their job finishes or fails, compressed files remain until you choose a retention time, and leftovers are wiped on every start.

### Which port and admin path does Minifold use?

The app listens on port 8080 by default, and the admin page is served at /admin.

### What Docker user should I use for Unraid appdata folders?

If /config and /data are Unraid appdata folders owned by nobody:users, add --user 99:100 to the container.

### How do I enable GPU video encoding?

Add the /dev/dri render device and its group ID to your Docker Extra Parameters.

---
Source: Our Local Host (https://ourlocalhost.com/app/7604/minifold), the self-hosted and open-source app directory.
