Overview
Start here: what BoxBox is and where to find each project reference.
BoxBox Documentation
BoxBox is a self-hosted file manager for homelab and NAS servers, paired with BoxBox Files, a native desktop file manager for Windows and Linux. The server serves a SvelteKit web app from a single Go binary, and the desktop app manages local files directly or connects to paired BoxBox servers.
What to Read First
| Page | Use it for |
|---|---|
| Quick start | Run BoxBox quickly with Docker Compose and the published GHCR image. |
| Docker deployment | Deploy from GHCR with Compose, update, and check health. |
| Docker options | Reverse proxy, single-container and source-build setups, volumes, and mount propagation. |
| Desktop app | Download, install, pair, and update BoxBox Files on Windows and Linux. |
| Configuration | Configure users, upload limits, origins, and ports. |
| Mount points | Choose which folders BoxBox shows, and how they map into Docker. |
| NAS users | Read and write as each person's own NAS user, so files get the right owner. |
| Security | Harden credentials, mounted paths, reverse proxy, and network exposure. |
| Troubleshooting | Diagnose startup and sign-in problems. |
| Files and sharing problems | Diagnose mount, upload, preview, share link, and WebSocket problems. |
| Release notes | See what changed in each release and how to upgrade. |
| API reference | Use the REST, streaming, and WebSocket endpoints directly. |
| Architecture | Understand the Go backend, Svelte frontend, and embedded static deployment. |
| Development | Run the backend, frontend, desktop app, and website locally. |
| Testing and CI | Test and validate changes, and see how CI picks checks. |
| Release workflow | Use test branches, test GHCR images, and stable tags. |
Desktop
The desktop app guide covers Windows and Linux downloads, runtime libraries, native file operations, pairing, and updates. Local use does not require server credentials or Docker. The credentials below apply to the separately deployed server.
Current Runtime Facts
- The production image is a single container.
- The preferred deployment is Docker Compose pulling
ghcr.io/jr4dh3y/boxbox. - The server listens on port
8080by default (it was80beforev0.3.0). - The frontend static build is embedded into the Go binary.
- API routes live under
/api/v1;/healthis also available at the root. - Mount points are configured in
config.yamland can be customized by binding another config file to/app/config.yaml. - Share links and stored wallpapers live in the data directory (
/datain the container). - Environment overrides use the
BOXBOX_prefix, for exampleBOXBOX_JWT_SECRETandBOXBOX_USERS_admin.
Required Credentials
BoxBox refuses to start without a user, a bcrypt password hash, and a JWT secret of at least 32 bytes:
BOXBOX_JWT_SECRET="$(openssl rand -base64 32)"
BOXBOX_USERS_admin='paste-a-bcrypt-hash-here'
Generate the hash with htpasswd -bnBC 12 admin 'your-password' | cut -d: -f2.
Scope
BoxBox is intentionally a focused file manager. Share links let you hand a file or folder to someone without an account, but BoxBox is not a multi-tenant cloud storage platform, media server, or identity provider. Keep deployments private, use a reverse proxy with TLS when exposed beyond localhost, and mount only the directories you actually need.