UI Develop - SynoCommunity/spksrc GitHub Wiki

UI Develop

UI Develop is a SPK for developers only.

Installation

Requirement: Python SPK from the SynoCommunity repository (available soon)

  1. Download the SPK from here
  2. Install it and choose a directory you can access through a share (like your home: /var/services/homes/YOU/)

Create UI

UI Develop is shipped with a default UI to help you with the basis. You should only edit existing example and add your own menus/submenus. Now start editing!

  1. Run the package
  2. Go to the directory you chose, there should be a uidevelop folder in there
  3. You can start editing stuff here and see the result directly in DSM after a full reload of the page (pressing CTRL+R).

Note: Firefox is fine for that, I tried Chromium but it fails completely reloading the cache and thus you cannot see latest changes you made.

For the file syntax please take a look at the Synology's developer documentation.