Installing widgets with static files

Is there any way to provide a habpanel widget through the github repo and “import widget” feature of habpanel when the widget needs static files?

As an example, my widget Custom Widget - ThermoKnob requires to manually install some css and js files in the html static file space. Anyway this can be done automatically?