AdGuardian’s TUI can be exposed in a browser by wrapping it with ttyd, a tool that streams terminal output over WebSockets. This is useful for embedding the dashboard in a homelab portal, sharing it with others on your local network, or accessing it from a machine where you cannot attach an interactive terminal directly.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lissy93/adguardian-term/llms.txt
Use this file to discover all available pages before exploring further.
Quick start with pre-built image
The fastest path to browser access is the third-party Docker imagesdjnmxd/adguardian-web, which bundles AdGuardian and ttyd into a single container:
http://localhost:7681 in any modern browser. The full dashboard renders and responds to keyboard input exactly as it would in a local terminal.
Manual setup with ttyd
If you prefer to install ttyd directly on the host rather than using the pre-built image, follow the ttyd installation instructions, then prependttyd to any AdGuardian run command:
7681 by default. Navigate to http://localhost:7681 to access the dashboard.
Build your own ttyd container
The AdGuardian-Term repository includes attyd-Dockerfile that builds both AdGuardian and ttyd from source inside a single Debian-based container. This avoids installing ttyd on the host and keeps everything self-contained:
ttyd-Dockerfile clones the AdGuardian-Term repository and the ttyd repository, compiles both, places the adguardian binary at /usr/local/bin/adguardian, and sets ttyd as the container entrypoint exposing port 7681.
Using gotty
gotty is an alternative to ttyd that also streams terminal applications to a browser over WebSockets. It works with AdGuardian in the same way, but requires the-w flag to enable keyboard input — without it the dashboard will display but will not accept any key events:
8080. Replace adguardian with docker run -it lissy93/adguardian if you want to run the Docker image rather than a local binary.
Remote access
To make the dashboard reachable outside your local network you can use a tunnelling service such as ngrok to forward the port that ttyd or gotty is listening on:Embedding in homelab dashboards
Because AdGuardian in web mode is just a URL serving a WebSocket terminal, it can be embedded as an iframe widget in any homelab dashboard that supports custom iframes. For example, Dashy — a homelab dashboard application — accepts any URL as an embedded widget.Dashy already ships a dedicated AdGuard Home block-stats widget that talks directly to the AdGuard Home API. The full AdGuardian TUI in web mode and the Dashy widget serve different purposes: the widget shows summary statistics inline, while the embedded TUI gives the complete real-time query log and filter overview.