How keepcoolch/dropzonefileexplorer works
Dropzone File Explorer is a self-hosted PHP file manager with a vanilla-JavaScript browser UI and filesystem storage, using JSON metadata rather than a database. Users sign in, browse folders, then upload, search, manage, preview or edit files; they can also create ZIPs and share files or folders. Admins can manage users and folder permissions. The sampled code shows the browser calling the PHP API and the API handling file operations; README capabilities whose implementation was not sampled are represented at the documented subsystem level, without asserting internal call sequences.
Main entry points: index.php Explorer interface · config.php File storage · functions.php Browse and search · main.js Explorer interactions
Components 15
Browse and manage
- Explorer interface
index.php - Explorer interactions
js/main.js - Browse and search
inc/functions.php - File operations
inc/functions.php
Upload and archives
- Chunked uploads
inc/functions.php - ZIP handling
inc/functions.php
Preview and sharing
- Preview and editor
inc/functions.php - Share links
inc/functions.php
Identity and access
- Authentication
login.php - Folder permissions
inc/functions.php
Other components
- File manager user
- Share visitor
- Runtime configuration
inc/config.php - File storage
inc/config.php - JSON metadata
inc/config.php
Connections 23
- File manager user → Explorer interface: uses
- Share visitor → Explorer interface: opens share
- Explorer interface → Explorer interactions: loads
- Explorer interactions → Explorer interface: requests API
- Explorer interface → Browse and search: dispatches API
- Explorer interface → File operations: dispatches API
- Explorer interface → Chunked uploads: dispatches API
- Explorer interface → ZIP handling: dispatches API
- Explorer interface → Preview and editor: dispatches API
- Explorer interface → Share links: dispatches API
- Browse and search → File storage: reads
- File operations → File storage: reads/writes
- Chunked uploads → File storage: writes
- ZIP handling → File storage: reads/writes
- Preview and editor → File storage: reads/writes
- Share links → File storage: reads
- Share links → JSON metadata: reads/writes
- Browse and search → Folder permissions: checks access
- File operations → Folder permissions: checks access
- Explorer interface → Authentication: requires login
- Authentication → JSON metadata: reads/writes
- Explorer interface → Runtime configuration: loads settings
- Browse and search → Runtime configuration: uses paths