Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pimatic-filebrowser

pimatic9GPL-2.00.9.2

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

pimatic, pimatic-plugin, filebrowser

readme

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.

changelog

Release History

  • 20190429, V0.9.2
    • Added configuration option "view" for mapping item to choose between two display modes for a directory listing:
      • show directory listing in "tiles" mode (default), or
      • show "details" mode which shows the listing with files sizes and last modification dates.
    • Added configuration option "hidden" for mapping item to display hidden (.dot) files in a file listing. By default, hidden files are not displayed.
  • 20190418, V0.9.1
    • Updated dependencies
      • serve-index: ^1.9.1
    • Revised README, thanks @thost96
    • Revised package descriptor