Web app hosting

I’m confused how to self host the web app. I’ve cloned it, but I think I’m missing the background of how to build it. Throwing on the web server just gives me a blank page.

Generally, it gets built and loaded by the install script when you flash the esp32. There’s a web server built into our firmware.

If you trying to run external to the microcontroller like on https://client.meshtastic.org ? If so, @sachaw will need to chime in.

1 Like

Yes to the latter, thank you.

Background on it, I have a server at home that has two tbeams connected via usb and wifi.

I couldn’t get the web server working on any of my devices. Not by having them in AP mode anyway. I could connect to the WiFi but that was as far as it would go. However if I configure the devices to connect to my local WiFi router then I could go to their IP address and access the web server.

Not sure if that helps with what you’re trying to do but figured it’s worth mentioning.

Are you using 1.3? All the fixes over the last half year have been in there.

I have mine on 1.3.30. I have not tried using the softAP. They do connect to the wifi and I can see the web server. They also spam my MQTT server and are chattering back and forth alot.

I have had similar issues with blank pages but active web servers. Using softAP worked for me but I would much rather the client setup. Reflashing has often solved my problems. I don’t think I completely understand the whole meshtastic web setup yet but explicitly visiting some of the /static pages has sometimes allowed me through.

I want to self-host client.meshtastic.org as well; there is some good information on discord in getting that working.

using client.meshtastic.org directly seems to be the best option for me right now; connections over network, serial, and bluetooth seem to always work great for me that way.

1 Like

There are a whole host of ways to self-host the UI, any http server would do fine, checkout caddy for an easy to use one. Then grab a copy of the latest webui on the releases page on GitHub. Serve those files in the zip and you should be good.

Feel free to reach out on discord if you have trouble

2 Likes

I will check out Discord later. Usually I am at work and do not have Discord here. Thanks for your input.

1 Like