You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all I cant see the PORT, is there a way to see it? I'm currently ctrl-p ing and i can find it there
and how can i set the port myself?
and the main problem, even when I find the port, i cant see it on my phone because the MyWindow.set_multi_access(True) isn't working. it doesn't exist in the source code
Sorry I didn't understand, webui can work on phone since webui is the bridge, the (works) part is html/css/javascript s job right? I compiled the C version of webui on androud/termux and it works fine.. when I launch the binary it opens my default browser and shows the UI without any problems. if multi access wasn't removed I would've just typed my computers IP:PORT
If you used termux in this case it will work with the default browser in Android.
However, I added a PR to add get_url() you can test it now, or, wait until someone merges it.
Thanks for the update :D it helped but I cant connect to the page for some reason
when running on windows I can access the page when using localhost but not when using my local LAN IP
then i tried on linux and it shows the files within the folder instead of an html page, (behaves like python's http server)
WebUI is totally localhost only, to make UI available for the whole public network this need to be implemented. I don't know, maybe in the coming next version. But a good option to have anyway.
Activity
hassandraga commentedon Nov 26, 2023
MyWindow.set_multi_accessis removed. And WebUI does not support phones.hunar1997 commentedon Nov 27, 2023
Sorry I didn't understand, webui can work on phone since webui is the bridge, the (works) part is html/css/javascript s job right? I compiled the C version of webui on androud/termux and it works fine.. when I launch the binary it opens my default browser and shows the UI without any problems. if multi access wasn't removed I would've just typed my computers IP:PORT
What part did I understand wrong
AlbertShown commentedon Nov 27, 2023
If you used
termuxin this case it will work with the default browser in Android.However, I added a PR to add
get_url()you can test it now, or, wait until someone merges it.NoBrowser.get_url()(PR)hunar1997 commentedon Nov 29, 2023
Thanks for the update :D it helped but I cant connect to the page for some reason
when running on windows I can access the page when using localhost but not when using my local LAN IP
then i tried on linux and it shows the files within the folder instead of an html page, (behaves like python's http server)
hassandraga commentedon Nov 29, 2023
WebUI is totally localhost only, to make UI available for the whole public network this need to be implemented. I don't know, maybe in the coming next version. But a good option to have anyway.
Source: webui.c
hassandraga commentedon Nov 30, 2023
This feature is implemented.
Available from Python-WebUI v2.4.4
Example: https://github.com/webui-dev/python-webui/blob/main/examples/public_ui.py