-
Notifications
You must be signed in to change notification settings - Fork 5
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
[ROADMAP] Plugin architecture in the works? #1
Comments
Thank you for detailed background on this issue @jameswomack - really appreciate it. I haven't fully flushed out roadmap for sorvor yet, but I want to add below features at the minimum.
That said, I do not want to complicate this setup with HMR - in my mind the build speeds with sorvor are fast enough for development without HMR. Generally, golang being statically linked, it's harder to create plugin system. But I am willing to consider a feature that might be beneficial for the project. Are you looking for something specific for your team/project use case. |
Thanks for the response @osdevisnot The team I work on develops a build CLI that bundles components & applications for delivery within a custom platform (incl. a backend that serves assets in different ways depending on configuration generated by the build). Anyway, given that sørvør uses esbuild, perhaps some|most of that could be implemented in the esbuild plugin system At this investigation stage, it would be nice to have a way to add custom routes to the server w/o needing a reverse proxy. But as long as it's possible to setup a reverse proxy that works well w/ sørvør, that's not a blocker I'm a Go newb, but I did come across this esbuild issue that references this go plugin solution. In your experience, might RPC be a valid avenue for implementing Go plugins? |
Background on this issue
...neither worked with my prototypical codebase. sørvør, despite being written in a different language than my project, worked right out of the box. I especially appreciate the ability to pass through any arguments to esbuild—an ability that many projects neglect
ServiceWorker
)Question
With that background:
Are you working toward a plugin architecture / opportunity for extensibility?
The ability to add the aforementioned capabilities (perhaps w/ the ability to intercept HTML requests) would round out sørvør's viability for my team's use case. I've not done production Go language programming yet but I intend to pick it up in order to contribute... & I wan't to see if that work could be done within sørvør or would need to be done on top of it
The text was updated successfully, but these errors were encountered: