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

WASM support example #7

Open
Luni-4 opened this issue Oct 23, 2024 · 3 comments
Open

WASM support example #7

Luni-4 opened this issue Oct 23, 2024 · 3 comments

Comments

@Luni-4
Copy link

Luni-4 commented Oct 23, 2024

First, thanks a lot for viewskater, I really like this software!

It would be fantastic whether viewskater might have a wasm example which would show how to integrate this software into a webpage. This would allow a wide cross-platform coverage, since many systems, other than the already supported ones, would make use of it.

@ggand0
Copy link
Owner

ggand0 commented Oct 25, 2024

Hi thanks for submitting this issue. It’s possible to build an Iced app for WASM, but this app relies on tokio's async operations to dynamically load images into cache from the file system, which isn’t compatible with WASM. In the future, I could explore supporting this by making this part download images from the web for example.

@Luni-4
Copy link
Author

Luni-4 commented Oct 28, 2024

Thanks for your explanation! The possibility to download images from the web would be great!

Just to better figure out the problem, at the moment, isn't it possible to create a web page with viewskater integrated in it in any way?

@ggand0
Copy link
Owner

ggand0 commented Oct 29, 2024

Right, it's not possible to integrate this app into a web page at the moment.

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

2 participants