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

webui support nodejs? #334

Open
jacklowtaken opened this issue Feb 27, 2024 · 2 comments
Open

webui support nodejs? #334

jacklowtaken opened this issue Feb 27, 2024 · 2 comments

Comments

@jacklowtaken
Copy link

what does this function mean?
/**

  • @brief Chose between Deno and Nodejs as runtime for .js and .ts files.
  • @param window The window number
  • @param runtime Deno | Nodejs
  • @example webui_set_runtime(myWindow, Deno);
    */
    WEBUI_EXPORT void webui_set_runtime(size_t window, size_t runtime);
@jinzhongjia
Copy link
Contributor

see example serve_a_folder

@AlbertShown
Copy link
Contributor

Yes, in case your back-end desktop application is written in JavaScript using NodeJS, then you can use webui to create a GUI window for you instead of telling people go to 127.0.0.1:8080.

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

No branches or pull requests

3 participants