snehilvj / dash-iconify

Iconify for Plotly Dash
https://www.dash-mantine-components.com/dash-iconify
MIT License
51 stars 2 forks source link

Use self hosted iconify server #5

Open juan11iguel opened 1 year ago

juan11iguel commented 1 year ago

Hello! I am using this library in a webpage that runs in a local network and is accessed by some machines with no internet connection. Checking Iconify docs I have seen that it can be self hosted. Iconify can be configured to use this self hosted instance.

I am not sure if there is a setting in the wrapper to also take advantage of this possibility or if it's something that could be added

Thanks!

wuyuanyi135 commented 1 year ago

Second for this issue. I wonder how I can make use of either bundled offline icons or self-hosted solution for no-internet environment

wuyuanyi135 commented 1 year ago

@snehilvj @Juasmis Hi, I have the POC in my fork that uses the offline bundle supplied from Python side on initialization. See usage.py.

This mod disables the online API functionality so it should be adjusted before merge here. My main concern is how to correctly provide the one-time initialization for the offline bundle. Please check if the use of DashIconifyBundleLoader is written properly.

juan11iguel commented 1 year ago

I do not seem to be able to find the usage.py file in order to give it a try

mvheimburg commented 6 months ago

Is there any progress here? I have run into the same issue :)