# NASearch

NASearch is a lightweight, self-hosted file-search web interface for Unraid arrays that uses plocate to find files quickly in the browser, with previews and folder browsing. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/3091/nasearch

## Description

NASearch is a lightweight, self-hosted file-search web interface for Unraid arrays that uses plocate to find files quickly in the browser, with previews and folder browsing.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

55/100 (Fair), based on 4 of 5 factors.
- Maintained: 73 (last commit 97 days ago)
- Popular: 25 (17 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 79 (no serious findings, 1 minor, CI, tests, new single-developer project)

## Links

- Unraid: https://ca.unraid.net/apps/nasearch-0bvnfl012loo1k?q=NASearch
- GitHub: https://github.com/dewgenenny/nasearch

## Common questions

### How do I configure authentication for NASearch?

Set AUTH_USER and AUTH_PASS for session-cookie login, or explicitly set NOAUTH=true to disable auth. NASearch will not start until one of these options is chosen.

### What should I persist so the index and settings survive container updates?

Mount a local ./index directory at /index and set LOCATE_DB=/index/files.db. This keeps the plocate index database and settings.json outside the container.

### How do I exclude appdata, system, domains, and isos from search results?

Set PRUNE_PATHS to /data/appdata /data/system /data/domains /data/isos. These paths refer to the same directories inside the mounted /data volume.

### How do I keep the search index current?

Use the re-index schedule setting, which offers manual, 1h, 6h, 12h, 24h, 48h, or weekly intervals. You can also force an update with the manual re-index button.

### Which array mount and permissions should I use in Docker Compose?

Mount your Unraid array read-only, for example /mnt/user:/data:ro, and set DATA_PATH=/data. This lets NASearch search the array without writing to it.

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