⚠️ Important Notice: This is a third-party project and is not officially maintained by the AdGuardian-Term team. This project provides a web-based interface for AdGuardian-Term using ttyd, but it's maintained independently.
Web-based terminal interface for AdGuard Home monitoring using ttyd and AdGuardian-Term. This project wraps the excellent AdGuardian-Term in a Docker container with ttyd to provide web access through your browser.
This is essentially a Docker wrapper that:
- Packages AdGuardian-Term: Downloads the latest AdGuardian-Term binary
- Adds Web Interface: Uses ttyd to provide web terminal access
- Simplifies Deployment: One Docker command to get everything running
- Handles Configuration: Smart error messages and environment variable validation
- No Build Required: Pre-built image available on Docker Hub
- Always Updated: Uses the latest AdGuardian-Term release
- Optimized: Lightweight Ubuntu base with minimal dependencies
- Secure: Runs as non-root user with health checks
- User-Friendly: Clear error messages and configuration guidance
- 🌐 Web Terminal Interface: Access AdGuardian-Term through your browser
- 🚀 Quick Deployment: One-click deployment with Docker
- 🔒 Secure Operation: Runs as non-root user
- 📦 Pre-built Image: Available on Docker Hub, no building required
📦 Docker Hub: sdjnmxd/adguardian-web
📚 Source Code: GitHub Repository
docker run -d \
-p 7681:7681 \
-e ADGUARD_IP=your.adguard.ip \
-e ADGUARD_PORT=80 \
-e ADGUARD_USERNAME=admin \
-e ADGUARD_PASSWORD=your_password \
sdjnmxd/adguardian-web📚 Source Code: GitHub Repository
# Clone repository
git clone https://github.com/sdjnmxd/adguardian-web.git
cd adguardian-web
# Build image
docker build -t adguardian-web .
# Run container
docker run -d \
-p 7681:7681 \
-e ADGUARD_IP=192.168.1.1 \
-e ADGUARD_PORT=80 \
-e ADGUARD_USERNAME=admin \
-e ADGUARD_PASSWORD=password \
adguardian-web| Variable | Description | Required | Default |
|---|---|---|---|
ADGUARD_IP |
AdGuard Home server IP address | ✅ | - |
ADGUARD_PORT |
AdGuard Home server port | ✅ | - |
ADGUARD_USERNAME |
AdGuard Home username | ✅ | - |
ADGUARD_PASSWORD |
AdGuard Home password | ✅ | - |
ADGUARD_PROTOCOL |
Connection protocol | ❌ | http |
ADGUARD_UPDATE_INTERVAL |
Refresh interval (seconds) | ❌ | 2 |
After starting the container, access it in your browser:
http://localhost:7681
- Base Image: Ubuntu 22.04
- Web Terminal: ttyd 1.6.3
- Monitoring Tool: AdGuardian-Term 1.6.0
- Runtime User: Non-root user
-
Missing Environment Variables
- The application will automatically detect missing environment variables and display helpful error messages
- You'll see a clear list of missing variables and usage examples
- It's recommended to pre-set all required variables using
-eparameters
-
Connection Failed
- Check if the AdGuard Home server is accessible
- Verify IP address and port configuration
- Confirm username and password are correct
-
Web Interface Not Loading
- Ensure port 7681 is not blocked by firewall
- Check if another service is using port 7681
- Try accessing
http://localhost:7681(not https)
-
Container Keeps Restarting
- Check container logs:
docker logs <container_name> - Verify all required environment variables are set
- Ensure AdGuard Home server is reachable from the container
- Check container logs:
-
Permission Issues
- The container runs as non-root user for security
- If you need to modify files, use
docker exec -it <container_name> /bin/bash
- Docker Issues: Check Docker documentation
- AdGuard Home Issues: Visit AdGuard Home documentation
- This Project Issues: Create an issue in this repository
- AdGuardian-Term Issues: Create an issue in the official repository
This project is open source under the MIT License.
Report issues to THIS repository (sdjnmxd/adguardian-web) if:
- Docker container fails to start
- Web interface doesn't load
- Environment variable configuration problems
- ttyd-related issues
- Docker image build problems
- This project's documentation issues
Report issues to the OFFICIAL repository (Lissy93/AdGuardian-Term) if:
- AdGuardian-Term application crashes
- AdGuard Home API connection issues
- Data display problems in the terminal interface
- Core AdGuardian-Term functionality bugs
- Feature requests for AdGuardian-Term itself
Issues and Pull Requests are welcome! Please make sure to:
- Check existing issues before creating new ones
- Provide clear reproduction steps for bugs
- Include your Docker version and system information
- Test your changes thoroughly
- AdGuardian-Term - The original terminal-based AdGuard monitoring tool
- ttyd - Web-based terminal that powers this project
- AdGuard Home - The DNS server this tool monitors
- 🐳 Docker Hub: sdjnmxd/adguardian-web
- 📚 GitHub Repository: sdjnmxd/adguardian-web
- 📋 Issues & Support: GitHub Issues
- 📄 License: MIT License