pinokiocomputer / pinokio

AI Browser
https://pinokio.computer
MIT License
3.37k stars 275 forks source link

share on lan #87

Open mboiman opened 8 months ago

mboiman commented 8 months ago

is there a possibility to share the services on lan not only to localhost?

walkurt commented 7 months ago

I am interested too, so I could allow my wife's computer to access whispe-ui from her notebook, which does not have the capabilities of my desktop pc. That is, my PC as a server for her

jamesbrink commented 7 months ago

It seems to fire up and listen on either 4200 (on my linux machine) or 42000 on my macbook. both are accessible via the LAN. Additionally I have used the following to run this headless on linux to save a bit more VRAM. I think the key to ensure all the apps bind to every address is to use GRADIO_SERVER_NAME=0.0.0.0

https://www.gradio.app/docs/interface

Xvfb :100 -ac -screen 0 1920x1080x24 -nolisten tcp +extension GLX +render -noreset &
export DISPLAY=:100
GRADIO_SERVER_NAME="0.0.0.0" /opt/Pinokio/pinokio

Hope that information is helpful to others. From the web interface, you can install, run, edit, etc.