Repository navigation
Releases
BoxBox v0.4.0
BoxBox v0.4.0
The desktop app is now a native Rust/GPUI app instead of Electrobun. It looks the same, runs on Windows as well as Linux, and ships as a single binary without the bundled browser, Bun runtime, or private Go server. It's still boxbox.
Desktop app
- Browse local files and paired BoxBox servers in one window. Pair a server with a code from its settings; credentials stay in your system keyring.
- Overview and the sidebar show local disks, removable drives, phones, encrypted volumes, network shares, and paired server drives with used and total space.
- Tabs, split panes, per-folder views and sort order, zoom, and streaming search with
Ctrl+F. - Customize folder colours and emblems, pick an icon theme, and use a Details panel (
F11) and multi-item Properties (Alt+Enter). - On Linux, mount and eject drives, phones, encrypted volumes, and network shares. It runs natively on Wayland.
- On Windows, unzip and run
boxbox.exe. It has Explorer shell menus, Recycle Bin sync, SMB shares, and Windows thumbnails. - On Linux, install from the
tar.gz, AppImage, or AUR package. The new desktop entry replaces the old Electrobun one asio.boxbox.desktop.
Web app
- "This Server" is now Overview, to match the desktop app.
- Folders remember their own view and sort, list columns can be resized and hidden, and list and grid views zoom.
- Folder previews, custom folder colours and emblems, the Details panel, and multi-item Properties.
- Rename in place, rubber-band selection, select by pattern, and drag and drop with spring-loaded folders.
- Grid names take two lines with a middle ellipsis, so sizes line up and file endings stay readable. Reported by Aabish Malik (@CierCier).
Server
- OpenID Connect: sign in with any OIDC provider, alongside or instead of passwords. Requested by Miha Lunar (@SmilyOrg).
- NAS identities: map accounts, including SSO accounts, to Linux users and groups so file access uses each person's own permissions. Requested by Miha Lunar (@SmilyOrg).
- Share link previews: shared links show previews in chat apps, including images and video frames. Requested by Victor Drover (@vdrover).
- Delete on expiry: optionally delete a shared file when its link expires. Not available in NAS mode. Requested by Victor Drover (@vdrover).
- Symlinks and permissions: folder copies and cross-drive moves now keep symlinks and file modes. Reported and fixed by Jay Hemnani (@jayhemnani9910).
Thanks
Thanks to Jay Hemnani (@jayhemnani9910), Miha Lunar (@SmilyOrg), Victor Drover (@vdrover) and Aabish Malik (@CierCier) for the reports, requests and fixes in this release.
BoxBox v0.3.2
BoxBox v0.3.2 adds a Linux desktop app for local files and paired self-hosted servers.
Security fix
v0.3.2 fixes a read-only mount bypass when a protected location is also reachable through a writable parent or alias mount. Affected configurations could allow authenticated users or recipients of writable share links to modify protected files. Upgrade servers running v0.3.1 or earlier; filesystem-enforced read-only mounts remain a workaround.
See GHSA-5x8j-9rww-9w52. Reported by Shubham Singh (@Shubhams3538).
Desktop
- Browse local drives and connected servers in one workspace with tabs and split panes.
- Open local files in installed applications, use native clipboard operations, and restore local items from Trash.
- Copy across local and remote locations with live progress. Local files keep native actions; server files keep sharing and downloads.
- Personalize wallpapers, accents, component tint and scrollbars. Hardware acceleration is enabled by default and can be changed in desktop settings after a restart.
Browsing and server changes since v0.3.1
- Load whole folders without Load more clicks, sort and filter in the browser, and virtualize large folder views.
- Navigate files with the keyboard, view shortcut help, and see selection details.
- Pair clients using one-time codes and revocable device credentials without sharing account sessions.
- Updated browsing and settings UI, with wallpaper themes and account-specific preferences that sync at login.
- More reliable background refresh, selection reconciliation, reconnects and live job updates.
- Rename, move and delete symlinks themselves rather than acting on their targets.
Choose the right download
boxbox-desktop-v0.3.2-linux-amd64.tar.gz: Linux x86_64 desktop app and installer. Extract it and run./install.shwithout sudo. The default file manager is changed only with--set-default.boxbox-v0.3.2-linux-amd64.tar.gz/boxbox-v0.3.2-linux-arm64.tar.gz: standalone server binaries, without the desktop window.SHA256SUMS: checksums for all three archives.release-manifest.jsonrecords the source revision and supported targets.
The desktop package includes Bun and Chromium. It still needs GTK 3, WebKitGTK 4.1, Ayatana AppIndicator and a glibc-based Linux desktop; the release is built on Ubuntu 24.04. macOS, Windows, ARM desktop and Alpine/musl desktop builds are not provided. See the desktop guide for runtime dependencies and optional preview/clipboard helpers.
Upgrade and pairing
Update the server before pairing the desktop app. Generate a one-time code in the server's Settings → Account, then add its HTTPS address and code in desktop Settings → Connections. Servers running v0.3.1 or earlier do not include the pairing API. Certificates must be trusted by the desktop host.
Back up your persistent server data before upgrading. Preserve the existing configuration, user credentials, JWT secret and data volume. The server container remains on port 8080. Server updates are available as ghcr.io/jr4dh3y/boxbox:v0.3.2; stable latest follows this release only after publishing succeeds. Nightly remains a separate package.
Desktop updates are manual: close the app and run the newer package's installer. Preferences and server profiles remain separate from the replaced app. No automatic update feed is configured.
BoxBox v0.3.1 security update
Security update
BoxBox v0.3.1 fixes GHSA-jj9r-xc63-6c4p. All users must sign in again after upgrading.
The active-session registry, auth-sessions.json, lives under data_dir. Keep data_dir on persistent storage and run one server process per directory. On startup, a missing registry or a valid version 1 snapshot with no sessions rejects old tokens and lets users sign in again. A zero-byte, malformed, unreadable, non-regular, unsupported, or future-version registry stops startup. Restore a valid backup rather than resetting it. Rotate BOXBOX_JWT_SECRET after restoring an older backup or downgrading to a version that ignores the registry.
Upgrade
Keep the existing data volume and credentials, then update Docker Compose:
BOXBOX_IMAGE=ghcr.io/jr4dh3y/boxbox:v0.3.1 docker compose pull
BOXBOX_IMAGE=ghcr.io/jr4dh3y/boxbox:v0.3.1 docker compose up -dThe published v0.3.1, 0.3.1, and latest image tags include Linux amd64 and arm64. For a standalone installation, extract the matching binary archive, configure the included config.yaml, and start ./boxbox --config config.yaml.
See the release and recovery guide before restoring backups or downgrading.
Verification
go vet ./...passed.go test -race ./internal/service -run 'TestConcurrentRefreshHasOneWinnerAndReplayCannotKillWinner|TestLogoutIsSessionWideAndReplayCannotTerminateWinner' -count=1passed.go test ./...passed.bun install --frozen-lockfilepassed infrontend/andwebsite/.bun run checkandbun run buildpassed infrontend/. The build emitted advisory warnings for chunks larger than 500 kB.bun run buildpassed inwebsite/. Astro noted that local Node.js 26 is unsupported by Vercel Functions and selected Node.js 24 for deployment.scripts/build-single.shbuilt the self-contained Linux amd64 binary with embedded frontend assets. Linux amd64 and arm64 stripped, statically linked binaries were packaged from release commitb0bbf76c6c1ef6ac5e93ceff85efa3f7517fa1ea.bun scripts/check-auth-sessions.ts --binary <binary>passed against the amd64 binary extracted from the rebuilt archive. The smoke suite confirmed legacy and unknown-session rejection, session-wide logout, replay behavior, persistence-failure retry, strict registry startup checks, and missing/empty-registry recovery.- Both archives passed
sha256sum -c SHA256SUMSandtar -tzfintegrity/listing checks.
The smoke harness also confirmed the expected risks: restoring an older valid registry can revive its sessions, and deleting the registry while the server is running does not clear loaded sessions. Restart the server to discard loaded in-memory state.
The release workflow passed preflight and published both container architectures. Registry verification confirmed all release tags point to the same image index and both architecture images identify the release commit. The amd64 server extracted from the published image also passed the real-server authentication smoke suite.
Image index digest: sha256:899052a002a8a1881a20329edc1d6d6f9632ba1d8e572bec43322735aaae06dd.
The arm64 binary was cross-compiled but not runtime-tested on arm64 hardware. The local Docker daemon was unavailable; container builds ran in GitHub Actions, and the published amd64 entrypoint was exercised outside a container.
Assets
boxbox-v0.3.1-linux-amd64.tar.gzboxbox-v0.3.1-linux-arm64.tar.gzSHA256SUMS
SHA-256:
197f0a100f5fdc3f95718a538e524ae28d8cc2297f4e9de7698ea4b124b277bb boxbox-v0.3.1-linux-amd64.tar.gz
0a258b32fa66f3bf9b5797c1f1726c8333d76884ace53d7df6e5f91660139346 boxbox-v0.3.1-linux-arm64.tar.gz
BoxBox v0.3.0
This release adds file and folder sharing, folder uploads, separate Drives and Places, and a redesigned share page. It also moves the default container port from 80 to 8080.
▶ Watch BoxBox in 40 seconds on YouTube, or download boxbox-promo.mp4 below. Music: “the kill 2” by Lex Amarni & 2muchmotion.
Highlights
- File and folder sharing. Token links for any file or folder. Folder links offer View only, Upload only, Upload + delete, and Full access. Links can expire, can be revoked, and are managed from Settings → Shared Links.
- Public share page. Recipients get a path bar, file list, previews, a code editor for text files (read-only unless the link has full access), previous/next navigation with arrow keys, and ZIP downloads for folders. No account needed.
- Folder uploads. Choose a folder or drag one in, from the file browser or a full-access share page. Nested paths stay intact.
- Drives and Places. The sidebar lists them separately. A mount inside another mount is a place. Set
kind: driveorkind: placeto choose explicitly. - Owner wallpaper on share pages. Each user's wallpaper is stored on the server and shown to their share recipients.
Fixed
auto_discovermounts were dropped at startup; discovered drives appear again, and inaccessible ones are skipped.chunk_size_mbnow controls browser upload chunks (default10).- Context-menu keyboard shortcuts (F2, Delete, Ctrl/Cmd+C/X/V) now work, and dialogs take focus when opened.
--devmode no longer fails config validation; the local test flow works again.- Path-safety and folder-navigation race fixes in sharing and browsing.
Under the hood
- Go 1.27 toolchain and standard-library
uuid; frontend state moved to Svelte 5 runes and the browse page was split into composables. - WebSocket and job messages are parsed and validated at the boundary, with reconnect backoff tests.
- Nightly and branch images now publish to separate
boxbox-nightlyandboxbox-branchpackages.
Upgrade notes
- The container listens on
8080now. The container side of the port mapping, the healthcheck, and any reverse proxy that reaches the container directly must matchportinconfig.yaml(orBOXBOX_PORT). The easiest path is the newdocker-compose.ymlplusport: 8080in your config. If you keep the v0.2.2 compose file (mapped and health-checked on 80), setBOXBOX_PORT=80instead. - Share links and wallpapers live in
/data(shares.json,wallpapers/). Keep theboxbox-datavolume. - Nested mounts move from Drives to Places. Add
kind: driveto keep one listed as a drive. - Back up
shares.jsonbefore downgrading.
Full notes: https://boxbox.radhey.dev/docs/release/
Docker images
ghcr.io/jr4dh3y/boxbox:v0.3.0
ghcr.io/jr4dh3y/boxbox:latest
BOXBOX_IMAGE=ghcr.io/jr4dh3y/boxbox:v0.3.0 docker compose pull
BOXBOX_IMAGE=ghcr.io/jr4dh3y/boxbox:v0.3.0 docker compose up -dFull changelog: v0.2.2...v0.3.0
BoxBox v0.2.2
This release improves file browsing, upload reliability, deployment, and security.
Highlights
- Added a self-contained single-binary build with the Svelte frontend embedded.
- Added loopback-only
--devmode for local development without authentication. - Refactored file browsing, streaming, previews, search, uploads, and background jobs.
- Improved drive listing, folder navigation, preview dialogs, and wallpaper settings.
- Added scheduled nightly Docker images with rolling and commit-specific tags.
Security
- Require bcrypt password hashes and JWT secrets of at least 32 bytes.
- Added account lockouts, token rotation, logout revocation, same-origin WebSocket defaults, and trusted-proxy handling.
- Moved refresh tokens to
HttpOnly,SameSite=Strictcookies and kept access tokens in browser memory. - Added stronger mount-boundary, symlink, request-size, thumbnail, and per-user job isolation checks.
- Removed the default host-root filesystem mount.
- Hardened the container to run as an unprivileged UID with all Linux capabilities dropped.
- Sandboxed file previews and forced HTML, SVG, and XML content to download, preventing stored XSS.
- Safely encoded filenames in
Content-Dispositionheaders.
Fixed
- Fixed upload cleanup and concurrent finalization races.
- Hardened upload temporary-directory creation and chunk assembly.
- Fixed file-operation, preview, and navigation edge cases.
Upgrade notes
- Configure users with bcrypt hashes; plaintext passwords are rejected at startup.
- Set
BOXBOX_JWT_SECRETto a non-placeholder value of at least 32 bytes. - Existing browser sessions will need to authenticate again after upgrading.
- The container runs as UID/GID
10001by default; ensure bind mounts are accessible or setPUID/PGID. - The host root filesystem is no longer mounted by default. Enabling a root mount requires explicit
allow_root_mount: true. - An empty
allowed_originslist now means same-origin only. Configuretrusted_proxieswhen using forwarded client-IP headers.
Docker images
ghcr.io/jr4dh3y/boxbox:v0.2.2
ghcr.io/jr4dh3y/boxbox:latest
Full changelog: v0.2.1...v0.2.2
BoxBox v0.2.1
BoxBox v0.2.1
Patch release correcting migration-version wording from the v0.2.0 release.
Fixed
- Replaced incorrect
v1.0wording in deprecated FileManager migration runtime warnings with release-neutral wording. - Updated docs to describe the migration as the
v0.2.0upgrade path, not av1.0.0release. - Renamed the check-only helper from
scripts/check-1.0-migration.shtoscripts/check-0.2-migration.sh. - Updated script output to say
v0.2and to tell users to rename oldFM_*variables before a future breaking release.
Notes
No migration behavior changed: old FM_* variables still work as deprecated aliases, BOXBOX_* values still take precedence, and /etc/filemanager/config.yaml remains a deprecated fallback.
Validation
go test ./...bash -n scripts/check-0.2-migration.shscripts/check-0.2-migration.shno-legacy path exits0- temp legacy
.env/Compose scenario exits2
BoxBox v0.2.0
BoxBox v0.2.0
This release completed the BoxBox rename work and added upgrade guardrails for older FileManager-style deployments.
Correction: the original
v0.2.0notes and image included somev1.0wording in migration warnings/docs. The release version isv0.2.0; that wording is corrected inv0.2.1. Do not retagv0.2.0; usev0.2.1or newer for corrected strings.
Highlights
- Renamed stale FileManager project identifiers to BoxBox across backend imports, Docker deployment files, docs, and UI text.
- Added release guardrails, GitHub templates, and Docker release workflow documentation.
- Added runtime compatibility for deprecated
FM_*environment variables so older deployments can upgrade without a hard start failure. - Added startup warnings that tell operators the exact
BOXBOX_*replacement for each deprecatedFM_*variable. - Added deprecated
/etc/filemanager/config.yamlfallback support with a warning to move to/etc/boxbox/config.yaml. - Added a check-only migration helper that reports legacy env, Compose, and Docker volume names without editing files or changing Docker state.
- Updated release, Docker, configuration, and troubleshooting docs with migration and failure-handling notes.
Upgrade Notes
Old FM_* variables still work in this release, but BOXBOX_* values take precedence when both are set. Rename old variables before a future breaking release:
FM_JWT_SECRET->BOXBOX_JWT_SECRETFM_USERS_<username>->BOXBOX_USERS_<username>FM_RATE_LIMIT_RPS->BOXBOX_RATE_LIMIT_RPSFM_ALLOWED_ORIGINS->BOXBOX_ALLOWED_ORIGINSFM_PORT->BOXBOX_PORTFM_HOST->BOXBOX_HOSTFM_MAX_UPLOAD_MB->BOXBOX_MAX_UPLOAD_MBFM_CHUNK_SIZE_MB->BOXBOX_CHUNK_SIZE_MB
Use v0.2.1 or newer for the correctly named migration checker:
scripts/check-0.2-migration.shThe checker is read-only. It exits 0 when no legacy settings are found, 2 when migration work is detected, and 1 for script/runtime errors.
If you migrate Docker named volumes, keep old filemanager-* volumes until the copy succeeds. Do not start with new boxbox-* volume names after a failed copy; remove/recreate the partial target or copy into a fresh target first.
Validation
go test ./...go test ./internal/configbash -n scripts/check-1.0-migration.sh- Docker upgrade rehearsal from
ghcr.io/jr4dh3y/boxbox:v0.1.8to the current image using isolated legacyfilemanagerCompose names andFM_*env vars.
v0.1.8
Fixed
- Fixed a blank screen in production Docker deployments when SvelteKit generated an underscore-prefixed JavaScript chunk that was omitted from the Go embedded filesystem.
- Updated frontend embedding to include all generated assets, preventing missing JavaScript requests from falling back to
index.htmlwith the wrong content type.
Verification
go test ./internal/static- Production Docker image build
- Chromium smoke test confirming the login page renders
No database, configuration, or file migration is required.
BoxBox v0.1.7
Release Notes
- Add default sidebar mount points for Desktop, Downloads, Documents, Music, Pictures, and Videos in the backend config.
- Let Docker Compose map sidebar shortcuts from the host home directory by default, with per-folder
.envoverrides such asDOWNLOADS_PATH. - Update Docker, configuration, and quickstart docs for the new default home-folder mounts and override variables.
- Add the
dev:testscript alias and make the local test runner expose quick-access folder mounts, using temporary stubs when host folders do not exist. - Add
CHANGELOG.mdwith the v0.1.7 release notes. - Improve settings progress, wallpaper preview behavior, and editable path suggestions.
- Harden backend authentication and file operations, improve frontend browser/upload behavior, and fix local drive discovery paths.
- Refresh website demo/docs rendering, fix wallpaper asset permissions, remove unused UI plumbing, and extract reusable toolbar/status components.
Included Commits Since v0.1.6
- 9a8b1eb Improve settings progress and wallpaper preview
- 1848f61 Add editable path suggestions
- 93d572d Remove unused UI and simplify app plumbing
- 2614aaa Harden backend auth and file operations
- e65384a Improve frontend browser and upload behavior
- 873b8b4 Fix local drive discovery paths
- b5e9016 Refresh website demo and docs rendering
- 5a57366 Fix wallpaper asset permissions
- 06699f1 Update project context notes
- c039a9c Extract reusable toolbar and status components
- 80f7ae3 Merge pull request #14 from jR4dh3y/audit/simplify-dead-code
- dadc904 Configure default sidebar folder mounts
- 68da922 Add changelog for v0.1.7
Verification
bun run build
Full Changelog: v0.1.6...v0.1.7
v0.1.6
Release Notes
- Add a wallpaper preview flow before applying selected server or local images.
- Add wallpaper display modes: crop to fill, fit on screen, stretch, center, and tile.
- Split wallpaper picker logic into dedicated settings components to keep the settings page smaller.
- Apply persisted wallpaper display modes in the app shell background.
- Preserve server picker directory context and use clickable breadcrumbs for navigation.
- Improve hidden-file directory listing support across backend and frontend file browsing.
Verification
- frontend: npm run check
- frontend: npm run build
- backend: go test ./...
