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
Option | Description | Default |
---|
mappings array of objects | Maps directories to the URL paths of pimatic | [] |
ElementsOption | Description | Default |
---|
path string | The URL path, e.g., /files. Should start with / | | directory string | The absolute directory path, e.g., /media/usb1 | | hidden boolean | Display hidden (dot) files | false | view
| Display mode: tiles and details are available | "tiles" |
|
pimatic-filebrowser is written by Oliver Schneider (sweetpi)