Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iridris opened this issue Feb 14, 2023 · 4 comments
Open

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

iridris opened this issue Feb 14, 2023 · 4 comments

Comments

@iridris
Copy link

iridris commented Feb 14, 2023

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
Copy link
Owner

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
Copy link
Author

iridris commented Mar 8, 2023

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
Copy link
Author

iridris commented Apr 5, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants