All apps Β· 0 apps
AdGuardBuddy
Docker app from chrizzo's Repository
Overview
Readme
View on GitHub
AdGuard Buddy
A modern dashboard & API interface for AdGuard Home β simple, fast, and clear.
π― Goal
AdGuard Buddy is designed to keep multiple AdGuard Home instances synchronized, allowing you to monitor statistics, logs, and settings of all your AdGuard servers in one place.
One server acts as the master, and its settings can be synchronized to the other servers. The Sync view clearly shows when servers are not in sync with the master, so you always know the current status. Easily view, manage, and control several AdGuard installations from a single point β perfect for users with multiple AdGuard instances.
π Features
- Clean Next.js dashboard for AdGuard Home
- API interface for AdGuard Home functions
- Log and statistics visualization
- Manage filtering rules and connections
- Category synchronization
- Dark/Light mode
- Docker support
π οΈ Installation
Local
pnpm install
pnpm dev
Pre-Build Image:
You can find it here: https://github.com/chrizzo84/adguard-buddy/pkgs/container/adguard-buddy
Docker
docker build -t adguard-buddy .
docker run -p 3000:3000 adguard-buddy
π§ͺ Development & Testing
Available Scripts
# Development
pnpm dev # Start development server
pnpm build # Build for production
pnpm start # Start production server
# Testing
pnpm test # Run tests
pnpm test:watch # Run tests in watch mode
pnpm test:coverage # Run tests with coverage report
pnpm test:ci # Run tests for CI (no watch)
# Code Quality
pnpm lint # Run ESLint
pnpm lint:fix # Run ESLint with auto-fix
pnpm type-check # Run TypeScript type checking
# Combined
pnpm ci # Run lint + type-check + test:ci
pnpm pre-commit # Run lint + test (for pre-commit hooks)
Testing Overview
- Framework: Jest with React Testing Library
- Coverage: 76.45% overall (75%+ target achieved)
- Test Suites: 29 test suites with 300 total tests
- CI/CD: Automated testing on every push/PR
Coverage Breakdown
| Component | Statements | Branches | Functions | Lines |
|---|---|---|---|---|
| Components | 100% | 92.85% | 100% | 100% |
| Library | 100% | 100% | 100% | 100% |
| API Routes | 85.71% | 100% | 69.89% | 83.33% |
| Dashboard | 56.12% | 70.58% | 61.11% | 57.29% |
| Settings | 63.57% | 48.33% | 57.14% | 65.94% |
| Query Log | 54.26% | 52.5% | 53.16% | 56.5% |
CI/CD Pipeline
The project uses GitHub Actions for automated testing and quality assurance:
- Build & Test: Runs on every push and PR
- Linting: ESLint with zero warnings allowed
- Type Checking: Full TypeScript compilation check
- Coverage: Automated coverage reporting with Codecov
- Security: Dependency vulnerability scanning
- Performance: Lighthouse performance monitoring
- Docker: Automated container builds and publishing
Workflow Files
.github/workflows/build-only.yml- Main CI pipeline.github/workflows/security.yml- Security and dependency checks.github/workflows/quality.yml- Code quality monitoring.github/workflows/performance.yml- Performance and Lighthouse.github/workflows/docker-publish.yml- Docker publishing
βοΈ Environment Variables
Required:
NEXT_PUBLIC_ADGUARD_BUDDY_ENCRYPTION_KEYβ Used to encrypt/decrypt AdGuard Home passwords stored in.data/connections.json. Set this in your environment for secure password handling. Example:
export NEXT_PUBLIC_ADGUARD_BUDDY_ENCRYPTION_KEY="your-strong-key"
If not set, defaults to adguard-buddy-key (not recommended for production).
π API Endpoints
The main API routes are located in src/app/api/:
/api/adguard-controlβ Control AdGuard Home/api/query-logβ Query logs/api/statisticsβ Fetch statistics/api/set-filtering-ruleβ Set filtering rules/api/get-connectionsβ Show connections- ...and more
πΌοΈ Screenshots

π€ Contributors
- chrizzo84 β Maintainer
π License
MIT
Install AdGuardBuddy on Unraid in a few clicks.
Find AdGuardBuddy in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Categories
Related apps
Explore more like this
Explore allDetails
ghcr.io/chrizzo84/adguard-buddy:latestRuntime arguments
- Web UI
http://[IP]:[PORT:3000]- Network
bridge- Shell
sh- Privileged
- false
Template configuration
- Target
- NEXT_PUBLIC_ADGUARD_BUDDY_ENCRYPTION_KEY
- Value
- Your_Encryption_Key
- Target
- 3000
- Value
- 3000
- Target
- /app/.data
- Value
- /mnt/user/appdata/adguard-buddy



