restart-service-button: Add a one-click service restart button in the DSH web interface.

restart-service-button is a DSH Web plugin developed by DeBug-lzy, licensed under the MIT License. It aims to solve the inconvenience of having to return to the command line to frequently restart the dsh web service from the web interface. The plugin adds a "Restart Service" button to the top-right corner of the web interface. It features a double-click confirmation mechanism to ensure operational safety and ensures the button remains functional after a restart. It allows users to adjust the button's top/right offsets via the settings page. The position data is saved to browser localStorage and persists after the restart. The plugin adheres to DSH design standards, restricting the interface to local loopback access only to prevent remote triggering from the LAN. Installation requires using the `dsh plugin --profile web add` command to point to a GitHub or local path, followed by restarting the web service.

Read More