Feature request: Embed Lit instead of relying on cloud
iridris opened this issue · 4 comments
Rather than going out to the cloud to pull down Lit on every page load, could this instead be embedded locally? This should make things a bit faster and would remove dependency on the cloud.
Referring to line #5 here:
https://github.com/TarheelGrad1998/gallery-card/blob/master/gallery-card.js#L5
Great idea. I'm trying to get going on some work on the card. Do you have tips on how to do this? Something in HACs to tell it to download other files maybe?
Unfortunately I am not sure how this would be accomplished. Possibly look for other example cards that are in HACS to see if any of them embed Lit?
Based on this blog post, it sounds like HA Frontend already leverages Lit, so the link to Lit could likely be removed from this card altogether?
https://developers.home-assistant.io/blog/2023/04/04/deprecating_polymer/
As this project has been discontinued, I've fork it to fix the issues and improved the ci:
https://github.com/lukelalo/gallery-card