
Introducing MergeFoldersDocker
MergeFoldersDocker brings a repetitive server-side file job into a browser: inspect folders of images, preview their contents, and merge or move them with an explicit collision policy. The Go backend serves an embedded React interface, so the deployed application remains a single binary inside one container.
The web file explorer generates and caches thumbnails, while WebSocket events report live progress and activity. When two files share a name, the operation can safely rename the incoming file, overwrite the destination, or skip the collision. A chroot-like path boundary prevents the browser from walking outside the configured data directory.
Run it
Clone the repository, copy the example environment file, and set two absolute host paths:
cp .env.example .env
docker compose up -d
DATA_PATH identifies the directory tree the application may browse. CACHE_PATH stores generated thumbnails. Open http://localhost:8080 after the container starts.
The collision mode deserves the same care as any bulk file operation. Begin with safe rename or skip, inspect the result, and keep a backup before using overwrite. The application makes the operation visible and bounded; it cannot determine whether two same-named files are truly interchangeable.
Visit the MergeFoldersDocker repository for the current Compose file and development setup.