{
"modules": {
"sftp": {
"id": "sftp",
"label": "🌐 SFTP Manager",
"entry": "/SFTP/index.php",
"scripts": [
"/SFTP/connectionmanager.js",
"/SFTP/filemanager.js"
],
"endpoints": {
"list": "/SFTP/SFTPconnector.php",
"upload": "/SFTP/SFTPupload.php",
"newFile": "/SFTP/SFTPnewfile.php",
"trash": "/SFTP/SFTPtrash.php"
},
"description": "Manages remote SFTP connections and file transfers."
},
"fileManager": {
"id": "fileManager",
"label": "📁 File Manager",
"entry": "/filemanager/index.php",
"scripts": ["/filemanager/filemanager.js"],
"description": "Local file browser and editor interface.",
"toolbar": [
{ "id": "up", "label": "⬅️ Up", "action": "goUpDirectory" },
{ "id": "refresh", "label": "🔄 Refresh", "action": "reload" },
{ "id": "newFolder", "label": "📁 New Folder", "action": "createFolder" },
{ "id": "newFile", "label": "📄 New File", "action": "createFile" },
{ "id": "upload", "label": "⬆️ Upload", "action": "uploadFile" }
],
"itemMenu": [
{ "id": "copy", "label": "📋 Copy", "action": "copyFile", "when": "isFile" },
{ "id": "trash", "label": "🗑️ Move to Trash", "action": "moveToTrash", "when": "always" }
],
"children": {
"trash": {
"id": "trash",
"label": "🗑️ Trash",
"path": "/filemanager/trash.js"
},
"settings": {
"id": "settings",
"label": "⚙️ Settings",
"path": "/filemanager/settings.js"
}
}
}
}
}