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

[QUESTION] is it possible to mount the streamsync app into an existing frontend application? #126

Closed
gryphonmyers opened this issue Sep 21, 2023 · 1 comment
Labels
question Further information is requested

Comments

@gryphonmyers
Copy link

I am wondering if it would be possible to build the streamsync frontend (which I understand to be a vue component) and import it into another application. I read through the docs, but I'm not quite clear on if I should expect to be able to do this. Is it possible? If so, is there any reason the app couldn't be built as a web component? Use case is, we have an existing React application that we would want to render streamsync into.

@ramedina86 ramedina86 added the question Further information is requested label Sep 21, 2023
@ramedina86
Copy link
Collaborator

Hi, Streamsync is a rather complex framework that spans backend and frontend, similarly to Streamlit. You also need its backend server at all times, with support for websockets. There's no way to use it as a web component.

You could embed Streamsync (or other frameworks such as Streamlit) using an iframe an ensuring to mount the backend server. What I do in my day job is deploy Streamsync applications in Docker containers which I later embed in iframes. There are no water marks (unlike Streamlit) so aesthetically it works well, but it's a completely independent app, which doesn't seem to be what you're after.

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

No branches or pull requests

2 participants