You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server wrapper for the [adblock crate](https://crates.io/crates/adblock) using Unix domain sockets.
3
3
4
-
Created for [blockit](https://github.com/dudik/blockit), but can be used in any program that support Unix domain sockets. Basic documentation will be added soon.
4
+
Created for [blockit](https://github.com/dudik/blockit), but can be used in any program that supports Unix domain sockets.
5
+
6
+
## Usage
7
+
Add urls of filter lists (e.g. https://easylist.to/easylist/easylist.txt) to `~/.config/ars/urls`.
8
+
Custom rules (e.g. ###customAd) should be added to `~/.config/ars/lists/custom`.
9
+
10
+
## API
11
+
After launching adblock-rust-server connect to `/tmp/ars` socket file to start communicating.
12
+
Every request and response message have to end with a new line character `\n`. Two request types are supported:
0 commit comments