u/Agitated-Repeat4533

▲ 45 r/esp32projects+2 crossposts

I was working on an ESP project and needed something simple:

When someone connects to WiFi → open a page automatically (like in hotels).

But every time I tried to do it, it turned into:

- weird DNS stuff

- lots of code

- examples that were too complicated

So I made a small library that just does this part.

You keep your normal WebServer, and just add:

portal.begin(server);

That’s it.

Now when a phone connects to your WiFi, the page opens automatically.

It works on ESP32 and ESP8266, and you can choose where to redirect (like "/home").

No frameworks, no WiFi setup magic — just plug it into your project.

Repo:

https://github.com/OrkaLxrd/TinyPortal

If anyone has ideas how to improve it — I’m open 🙂

u/Agitated-Repeat4533 — 12 days ago