Getting Started
This guide will help get started with the AdGuard Tools and Utilities in just a few minutes.
Quick Start Options
🚀 Interactive Launcher (Recommended)
The easiest way to get started. Choose your platform:
- Linux/macOS: Run
./launcher.sh - Windows: Run
.\launcher.ps1
The launcher provides a guided menu system for all tools and tasks.
📦 Choose Your Language
Pick the compiler that fits your environment:
- TypeScript/Deno: Secure by default, no build step
- .NET: Cross-platform with excellent tooling
- Python: Easy installation via pip
- Rust: Single binary, no runtime dependencies
Prerequisites
At least one of these is required:
- Deno 2.0+ for TypeScript compiler
- .NET 10 SDK for .NET compiler and API client
- Python 3.9+ for Python compiler
- Rust 1.83+ for Rust compiler and tools
- PowerShell 7+ for PowerShell scripts
All compilers wrap either @adguard/hostlist-compiler or AdBlock Compiler (a modern TypeScript rewrite with production features).
Installation Steps
- Clone the repository:
git clone https://github.com/jaypatrick/ad-blocking.git
cd ad-blocking - Install dependencies: Run the build script for your chosen language(s):
# Build all projects
./build.sh
# Or specific language
./build.sh --typescript
./build.sh --dotnet
./build.sh --python
./build.sh --rust - Compile filter rules: Choose your preferred method:
# TypeScript
cd src/rules-compiler-typescript && deno task compile
# .NET
cd src/rules-compiler-dotnet && dotnet run --project src/RulesCompiler.Console
# Python
cd src/rules-compiler-python && rules-compiler
# Rust
cargo run --release -p rules-compiler
Next Steps
Explore Documentation
Learn about advanced features, configuration options, and API integration.
Read the Guides
Step-by-step tutorials for common tasks and deployment scenarios.
Join the Community
Contribute, report issues, or ask questions on GitHub.
Try AdBlock Compiler
Modern compiler-as-a-service with web UI, batch processing, and visual diff.
Need Help?
For detailed installation instructions and troubleshooting, see the complete Getting Started guide in the documentation.