TarheelGrad1998 / gallery-card

A custom card for Home Assistant that will display images and/or videos from a folder in the style of a gallery.
97 stars 30 forks source link

Feature request: Embed Lit instead of relying on cloud #54

Open iridris opened 1 year ago

iridris commented 1 year ago

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

TarheelGrad1998 commented 1 year ago

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?

iridris commented 1 year ago

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?

iridris commented 1 year ago

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/

lukelalo commented 2 months ago

As this project has been discontinued, I've fork it to fix the issues and improved the ci: https://github.com/lukelalo/gallery-card