python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

Exposin my EEL app to the web #408

Closed binarioGH closed 3 years ago

binarioGH commented 3 years ago

I want other people to use my app on my local network without installing anything. I know that EEL executes on localhost on port 8000, and i have been using SSH tunneling to expose it to other people, but it would be way easier if there was a function or method which would let me bind EEL to my local IP.

samuelhwilliams commented 3 years ago

This should already be possible. You can set host to 0.0.0.0 in eel.start, e.g. eel.start('index.html', host='0.0.0.0'). Let me know if that doesn't work?