-
Notifications
You must be signed in to change notification settings - Fork 21
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
Try to call bblfsh server from the browser instead of from the backend API #118
Comments
Example of using grpc-web is here: there is an example which is a simplified version of the dashboard. |
implemented here: https://github.com/smacker/dashboard/tree/bblfsh_js |
from @smacker report at https://gist.github.com/smacker/af6b40ac6df44238cd1519ee698728f5 gRPC-web statusgRPC-Web is now Generally Available, and considered stable enough for production use. It needs standalone proxy. Currently only Envoy can be such a proxy. Implementation details:
Overall:
gRPC-web with bblfshUAST1Here is UAST1 prototype very similar to bblfsh/web, supports filtering and everything:
UAST2
Overall: doable if we are okay with a HUGE bundle. It will require some work both on apps and bblfsh side. bblfsh/web
|
As reported by @dennwc via Slack, it might be interesting the new official beta:
https://github.com/grpc/grpc-web
It might worth to investigate the possibility of calling bblfsh from the browser, that was already discarded in the past for undocumented reasons.
The text was updated successfully, but these errors were encountered: