Folderplane is a self-hosted file manager. Arrange folders, documents, and media on a board, then return to the same layout. Keep your files in their existing folders and use them with other applications.
AI assistance: This project uses AI tools for code, design, tests, and documentation.
- Boards: movable folder and file frames, notes, groups, pan and zoom, a minimap, and autosaved layouts.
- Browsing: multiple sources, list and thumbnail views, filtering, sorting, keyboard navigation, and large folders.
- Viewers: images, PDF, text, code, Markdown, audio, and video with sidecar subtitles. Quick Look opens files without adding a frame.
- File operations: new folders, rename, copy, paste, duplicate, move, Trash, restore, and undo. Copies and moves between sources run on the server with progress, cancellation, and conflict decisions.
- Previews: image thumbnails, audio artwork and metadata, video posters, hover storyboards, and seek previews. A background worker prepares them ahead of time.
- Accounts: private boards and transfer jobs, source-level read/write grants, optional authenticator MFA, recovery codes, session controls, and user administration.
Early alpha. Start with disposable data; sources default to read-only. Uploads, sharing, and global search are planned. See security and known limits.
Select a file and press Space to preview it with Quick Look.
Sample imagery: NASA and NASA/Goddard Space Flight Center. See image credits.
Use Linux or macOS with Go 1.27.4 or later and Bun 1.4.5. Check go.mod and web/package.json for the build versions. Install FFmpeg 8 or later and a matching ffprobe for video previews and WebP thumbnails. Without them, image thumbnails use JPEG. Your browser determines which video codecs you can play.
The binary, configuration files, and environment variables use the names filecanvas and FILECANVAS_*.
From the repository root, download the pinned dependencies:
GOTOOLCHAIN=local go mod download
cd web
bun install --frozen-lockfile --ignore-scripts
cd ..Build the binary and create the first administrator against the sample library:
make build
./bin/filecanvas users bootstrap --root ./examples/library --username owner --token-file ./.filecanvas-data/activation.txtThe command creates the authentication key and writes a single-use activation code to .filecanvas-data/activation.txt. The code expires after 30 minutes. Keep it private and out of Git. Stop the server before running account commands.
Start the API against the included sample library:
make devIn another terminal, start the interface:
make web-devOpen http://localhost:5173, choose Activate account, and submit the code with a new password. Vite forwards API requests to 127.0.0.1:8080. Both servers listen on loopback. make dev uses examples/library read-only. Admins can open the configured sources within their read-only and availability restrictions. To give a regular user access, open account settings, choose Users under Administration, and select the user.
For one process serving the built interface and API:
make build web-build
./bin/filecanvas --root ./examples/libraryOpen http://localhost:8080. Run the binary from the repository root so it finds web/dist, or pass --web-dir.
Create a gitignored filecanvas.local.yaml with a minimal configuration:
listen: 127.0.0.1:8080
dataDir: ./.filecanvas-data
sources:
- id: library
name: Library
path: ./examples/library
readOnly: trueWrite relative paths from the configuration file's directory. Keep dataDir outside your sources. See filecanvas.example.yaml for mount markers, disabled sources, and index intervals; replace its example paths before use.
For fresh app state, bootstrap using the same configuration before starting it:
./bin/filecanvas users bootstrap --config ./filecanvas.local.yaml --username owner --token-file ./.filecanvas-data/activation.txt
./bin/filecanvas --config ./filecanvas.local.yamlYou can set the config path with FILECANVAS_CONFIG. For one read-only source named files, use --root or FILECANVAS_ROOT instead. Set FILECANVAS_WEB_DIR to change the built interface directory.
Use a disposable source to develop file operations with readOnly: false. Folderplane stores Trash and staged copies inside writable sources, and app state in dataDir. Run one Folderplane instance per writable source: startup removes interrupted copies from its staging directory. Read the filesystem and recovery limits before using real data.
You can use HTTP on localhost. LAN HTTP requires transport.mode: http and an exact HTTP origin; traffic is unencrypted. For HTTPS, use native TLS or a trusted reverse proxy. Native TLS requires TLS 1.3 with hybrid ML-KEM key exchange; see the browser compatibility limits. If you opt into an HTTP proxy backend, that hop remains unencrypted. See deployment and account recovery.
compose.yaml builds the app with FFmpeg, publishes it at 127.0.0.1:8080, and mounts the sample library read-only. App data lives in a named volume. The container runs as an unprivileged user with a read-only root filesystem and no Linux capabilities.
docker compose build
docker compose run --rm filecanvas users bootstrap --username owner --token-file /var/lib/filecanvas/activation.txt
docker compose up -dRead the activation code with docker compose exec filecanvas cat /var/lib/filecanvas/activation.txt, then activate at http://localhost:8080. The first build downloads the pinned images, packages, and modules in Dockerfile. See running and developing for source mounts and network configuration.
Read CONTRIBUTING.md for the development workflow and code conventions. Run all local checks with:
make verifyThis runs Go race tests, vet and formatting checks, TypeScript checking, frontend behavior tests, stylesheet policy checks, and both builds. Install the pinned tools and dependencies before running it.
- Development: setup, checks, builds, and data layout.
- Architecture: module boundaries and feature flows.
- API: endpoints, response types, and file operations.
- Security: source confinement and recovery limits.
Folderplane uses Apache-2.0. Contributions use the same license. See NOTICE for project attribution and third-party notices for dependency licenses.

