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

Browser only mode #2513

Closed
alkeryn opened this issue Mar 21, 2023 · 3 comments
Closed

Browser only mode #2513

alkeryn opened this issue Mar 21, 2023 · 3 comments
Labels
Enhancement New feature or request

Comments

@alkeryn
Copy link

alkeryn commented Mar 21, 2023

Is your feature request related to a problem? Please describe.

Hey, would it be possible to both be able to dev and build in browser only mode ?
in case i want to host it in a server without having to change anything for example ?

Describe the solution you'd like

just add a --webonly flag to both build and dev.
or maybe add a web platform.

Describe alternatives you've considered

the alternative would be to put all common functions in a library and call it both from wails and a backend.

Additional context

No response

@alkeryn alkeryn added the Enhancement New feature or request label Mar 21, 2023
@misitebao
Copy link
Contributor

Is this a similar need?

#1652

@alkeryn
Copy link
Author

alkeryn commented Mar 21, 2023

@misitebao kind of yes, we used wails to package some front end and add go function to it, but now we'd like the option to run it remotely with a server + browser as well as just an all in one executable, if there was a built in option it could be nice.

also, just for developpement, being able to disable the gui windows and use the browser only would actually be nicer because having a window pop up each time you change some go code is kind of annoying imo.

@stffabi
Copy link
Collaborator

stffabi commented Mar 27, 2023

Thanks for using Wails and opening this enhancement request.

I think both of your requirements are already covered by the following issues:

but now we'd like the option to run it remotely with a server + browser as well as just an all in one executable, if there was a built in option it could be nice.

This is what the hybrid mode of #1652 would allow you to do.

also, just for developpement, being able to disable the gui windows and use the browser only would actually be nicer because having a window pop up each time you change some go code is kind of annoying imo.

This is covered by issue #1495

I'm going to close this request as I think we already have both of those requests. If you see something missing there, please don't hesitate to bring this up on that issues.

@stffabi stffabi closed this as completed Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants