Skip to content

Custom AdBlock filterlist generator for Bromite

License

Notifications You must be signed in to change notification settings

vuongvan/filtrite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filtrite

filtrite is a project for generating filter lists for Bromite. See the page about Custom Ad Block Filters for more info.

Lists

You can choose any list from below, copy the link and add it in Bromite by going to settings > AdBlock settings, then setting Filters URL to the one you just copied.

Here's a list:

Link Description
Bromite Default Bromite default filter list, but generated by this tool
Bromite Extended The default list with additional annoyance blockers I use with uBlock Origin on Desktop

These lists are regularly updated automatically using GitHub Actions.

Note: I'm not 100% sure if all list formats that are used are actually supported by the ruleset generation tool (as the output indicates some failures). If you have a comment on that, please open an issue :)

Contributing

This program is designed in a way that allows easily adding new lists. If you have an idea for new lists & combinations, then feel free to open an issue or pull request to point it out.

To add a new list:

  1. Choose a name, e.g. example-list
  2. Create a file lists/example-list.txt that contains all URLs. It should look like this:
# Comments and empty lines are allowed
# List one URL per line:
https://...
https://...

# The following line doesn't work, only put either a comment or an URL in one line, not both
http://  # Invalid comment on URL
  1. Save your file
  2. Update generate.sh to include your entry:
...
# All other lists can be listed here

filtrite example-list

...
  1. Link your filter list in the README, using this URL: https://github.com/xarantolus/filtrite/releases/latest/download/{YOUR FILENAME}.dat. Replace {YOUR FILENAME} with the filename of the .dat file.
  2. Create a pull request

You can of course also fork this repository, create your own list and keep it on your own account. Enable GitHub Actions in the settings of your repository to make it work.

This is free as in freedom software. Do whatever you like with it.

About

Custom AdBlock filterlist generator for Bromite

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 79.9%
  • Shell 20.1%