Fork me on GitHub

pimatic-filebrowser by Oliver Schneider (sweetpi) | github | npm

pimatic filebrowser plugin

Pimatic plugin to provide a simple web file browser for a local directory.

Configuration:

{
   "plugin": "filebrowser",
   "mappings": [
     {
       "path": "/files",
       "directory": "/media/usb1"
     }
   ]
 }

With this config you can browse your files in /media/usb1 with http://your-ip/files. Make sure you reboot pimatic after applying these settings or you will get a Cannot GET /files error message.

Plugin Config Options

pimatic-filebrowser plugin config options
OptionDescriptionDefault
mappings
array of objects
Maps directories to the URL paths of pimatic
[]
Elements
pimatic-filebrowser is written by Oliver Schneider (sweetpi)