WP Manifestindependent plugin directory
manifest / media / modularity-folder-browser

Modularity Folder Browser

A Folder Browser module for Modularity.

by Consid Borås AB · github.com/considbrs-webdev/modularity-folder-browser · website

0stars
30composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/considbrs-webdev/modularity-folder-browser/archive/refs/heads/main.zip

Also on Packagist as considbrs-webdev/modularity-folder-browser:

composer require considbrs-webdev/modularity-folder-browser

From the readme

Modularity Folder Browser An accessible Modularity module for exposing selected server folders as a public document browser. Editors choose one or more folders from configured safe filesystem sources, visitors can browse nested folders, and allowed files can be downloaded without exposing real filesystem paths. Features - Select one or more start folders from configured filesystem sources - Optional top folder name to group selected folders on the frontend - Modal folder picker with lazy-loaded expandable folder trees and checkbox selection - Accessible disclosure/list interface using real buttons and links - Lazy-loaded subfolders through WordPress REST endpoints - Public download endpoint with server-side path and extension validation - Optional file type, file description, file size, and modified date display - Natural sorting by name, date, or file type - Hidden files, traversal attempts, and unsafe file extensions are blocked - Source paths stay in code and are never rendered in HTML or JSON - Default file support includes common office documents, text files, images, archives, video, and audio Configuration Sources must be configured by code. Use either the MODULARITYFILE

Read the full README on GitHub →