-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Integration of AsyncAPI CLI with studio.asyncapi.com via WebSocket/HTTP Server #1079
Comments
@KhudaDad414 If we find a way to always have the latest working version running locally, would that solve the issue? I'm not sure about the security/internet requirement trade-off. I also see a shift toward using IDE extensions - so people might just use VSCode + vs-asyncapi-preview to render docs, it doesn't provide the full studio experience but the majority of users are probably using studio only for that, this is why we need some insights asyncapi/studio#858 If we really want to push for that, then having a choice can work, and users can choose which instance of studio they want to run |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
closing this issue since the local Studio is working fine with cli for now. |
Current Approach:
The current implementation of AsyncAPI Studio involves publishing it as a React application (which is broken right now) on npm. The AsyncAPI CLI then installs this as a dependency and spins up a local instance of the Studio to edit AsyncAPI files.
Proposed Change:
After some discussions with @Souvikns we propose a more integrated approach where the AsyncAPI CLI establishes a WebSocket/HTTP server. Instead of running a local server for the Studio,
studio.asyncapi.com
would interact directly with the CLI via a WebSocket/HTTP connection. This connection facilitates two-way communication:studio.asyncapi.com
for editing.studio.asyncapi.com
uses the WebSocket link to publish changes back to the CLI, which makes these changes into the local AsyncAPI file.Arguments For This Approach:
Arguments Against This Approach:
studio.asyncapi.com
.(Please tell me...)
Additional Considerations:
Technical Details:
https://studio.asyncapi.com/?cli-url=ws://localhost:3000/cli-server
cc: @fmvilas @derberg @jonaslagoni would love to have your input. 🙇
The text was updated successfully, but these errors were encountered: