In practice I find sharing a panel dashboard via an stand-alone html file very useful. Even if the dashboard requires an active python kernel, sharing a snapshot with responsive graphs is very nice. This applies in particular when you work with restricted data and/or when working with non-techies. There is already functionality for this, but this lacks serving static assets.
is there a way to get statci html page of a dashboard?
have the dashboard working fine using panel serve --show demo.ipynb
looking to host using netlify or vercel etc.
In practice I find sharing a panel dashboard via an stand-alone html file very useful. Even if the dashboard requires an active python kernel, sharing a snapshot with responsive graphs is very nice. This applies in particular when you work with restricted data and/or when working with non-techies. There is already functionality for this, but this lacks serving static assets.
Describe the solution you'd like
The following code could is available
This could be extended like so:
such that the saved html also includes references to the static files. The output is a html file that refers to static assets in the same directory.
It is already possible to inline the panel/bokeh resources:
It would be nice if this also inlined the custom resources.
This is basically an extension to this issue
Describe alternatives you've considered
I have cut and paste code in the html and this made it work. This shows there is no fundamental issue, but it is not very convenient of course.