Skip to content

Mods can be used to Create or Open/Edit and Generate packages for Synology

License

Notifications You must be signed in to change notification settings

Gaming-For-The-Vets/Mods

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MODS - My Own DSM Shortcuts Packager for Synology

This project has been created as a workaround for the lack of “Custom Shortcut on Synology Desktop”. See the Feature Request here: http://forum.synology.com/enu/viewtopic.php?f=3&t=93823

It was first aimed at opening URL’s in new Tabs. It has next been extended to run Shell Scripts and to open web pages (php or html) in floating popup windows on DSM’s desktop.

Finally, it has been completed with support to create actual packages for Synology (.spk), embedding web applications and custom installation wizards and scripts.

Mods is a Windows Applications.

Packages created with Mods can add several shortcuts in DSM’s menu to open URLs, WebApps or Shell Scripts:

  • Urls can be either “relative paths” to websites hosted on the Synology itself or “absolute Uri’s” of any websites hosted on Internet. Clicking on their icons will open the related URL’s in a new browser tab.
  • Shell Scripts are executed by Synology and their outputs are displayed in real time in popup windows (iFrames) on DSM’s Desktop
  • WebApps (set of php and html pages) are embedded in the package and deployed into the Synology. They are also opened in popup windows (iFrames) on DSM’s Desktop.

WebApps or Shell Scripts are only available since the CTP 4.

In addition, one can configure the Package with start/stop scripts, pre/post-install, uninstall and upgrade scripts, as well as install, upgrade and uninstall wizards UI.

Each shortcut can be configured with a custom “title” and “icon”.

Notice:

  • DSM’s context data (like “current user”) cannot be passed as parameters on the URL. The URLs are static.
  • The third party package Init 3rd Party is mandatory.
  • Mods is only tested on my DS1815+ with DSM 6.x

Here bellow, a shortcut to my blog has been added in DSM’s main menu. I did next drag & drop it onto DSM’s desktop to create a shortcut there.

here is next an icon which executes a simple Shell Command ‘ps -gaceux’ has been added on DSM’s desktop

Here is the free web application php Server Monitor deployed within DSM via a Package made with Mods, and displayed in a popup/floating window.

Here is the famous Web Console running in a popup window of the DSM

All those spk samples are available here

About

Mods can be used to Create or Open/Edit and Generate packages for Synology

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 53.4%
  • Inno Setup 46.5%
  • Batchfile 0.1%