• Stars
    star
    254
  • Rank 159,857 (Top 4 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 14 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Custom AdBlock filterlist generator for Bromite and Cromite

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 the table, then hold the name to copy its link. Add it to Bromite by going to settings > AdBlock settings, then setting "Filters URL" to the link you just copied.

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
Bromite Extended (Soft) Same as the "Bromite Extended" list, but with less aggressive filtering (should break fewer sites)
German The "Bromite Extended" list with additional region-specific blocklists for german sites

Alternatively, you can go here to search forks of this project for more lists, e.g. for other countries.

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 :)

Advanced blocking

The normal Bromite ad blocking engine does not support all blocking formats. However, since the introduction of user scripts, it has become possible to block even more annoying elements. If you want more blockers (e.g. for cookie prompts), see my custom Bromite user scripts repository.

Using your own filter lists

This program is designed in a way that allows easily adding new lists.

To create a new list:

  1. Fork this repository
  2. Enable GitHub Actions by switching to the "Actions" tab of your repo, then confirming that you want to enable them
  3. Choose a name for the list, e.g. in the following the name is example-list. Please note that the file name must end with .txt, so in our case we call it example-list.txt (put it in the lists directory).
  4. Search for filter lists you want to use. You can for example find them here, use those in "uBlock Origin" or "AdBlock Plus" format (however, it's possible that not all types of rules are supported). Go to info, then "View" and copy the URL to the list.
  5. Create a file lists/example-list.txt (in the lists directory) that contains the URLs to filter lists you copied before. It should look like this:
    # Lines starting with # are ignored, empty lines are also allowed
    # List one URL per line:
    https://easylist.to/easylist/easylist.txt
    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
    
  6. Save your file, commit and push. GitHub Actions should now build the list and create a release
  7. After GitHub Actions generated the release, you can copy the linked URL in the release to always get the latest generated version. This URL looks something like https://github.com/USERNAME/filtrite/releases/latest/download/FILENAME.dat. If your URL (except for the username/filename part) contains numbers, you copied the wrong link.
  8. Check that the generated filter file size is less than the allowed maximum of 20 MB. If it isn't, you must remove some lists
  9. Set this URL as the filter file in Bromite settings.

Another thing to note is that GitHub disables scheduled workflows after 60 days, meaning that you sometimes have to commit something to keep your fork "alive".

License

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

More Repositories

1

bromite-userscripts

User scripts for Bromite (mostly enhanced Ad/Annoyance Blocking)
Go
141
star
2

upduck

simple web server that integrates with DuckDNS & Let's Encrypt
Go
98
star
3

Collect

A server to collect & archive websites that also supports video downloads
TypeScript
78
star
4

ax

Minimal x86-64 emulator for WebAssembly - run ELF binaries in your browser
Rust
36
star
5

fdroid

Auto-updating F-Droid repo using GitHub Actions
Go
31
star
6

sensibleHub

self-hosted music management server with a web interface and FTP sync for offline listening
Go
23
star
7

userchrome.css

Firefox Proton userChrome.css customizations
CSS
12
star
8

backtap

Magisk module for Android that taps the screen when the fingerprint sensor is tapped using the Linux Multitouch Protocol
Go
12
star
9

subresource_filter_tools

Scripts that build Chromium's subresource_filter_tools (including ruleset_converter) for both Linux and Windows. These tools can be used to generate ad block filters for Bromite
Shell
12
star
10

filtrite-lists

Bromite custom filter list search
Go
7
star
11

jsonextract

Go package for finding and extracting any JavaScript object (not just JSON) from an io.Reader
Go
7
star
12

notality

A very simple note taking app for Android
Dart
6
star
13

rockit

Rock It! is an Android app that helps you stay informed on all things space
Dart
6
star
14

nervig

AdBlock rules I use with uBlock Origin and Bromite
5
star
15

spacex-hop-bot

Twitter bot that (re)tweets relevant info about the SpaceX Starship
Go
4
star
16

poliwiki

Twitter-Bot, der interessante Änderungen an Wiki-Einträgen von Politikern postet
Go
4
star
17

TUM-userscripts

User scripts for online services of the Technical University of Munich
JavaScript
4
star
18

artemgus

Artemgus image generator
HTML
3
star
19

ImageSort

Sort thousands of images in less time
C#
3
star
20

stm32-flash-corruptor

Intentionally corrupt STM32 flash to test code handling the flash ECCD interrupt
Rust
2
star
21

gover

Raspberry Pi powered rover that can be controlled using a smartphone, PC or Xbox controller
Go
2
star
22

MemeAssembly-vscode

VSCode extension for MemeAssembly developers
TypeScript
2
star
23

github-release-stats

Summarize release stats for your repositories
Vue
2
star
24

mysti

Self-hosted clipboard sync and remote command runner for Linux and Windows
Rust
2
star
25

adc

fast and automatic adb connect
Go
1
star
26

memeassembly-playground

[Deprecated] Experimental MemeAssembly playground with x86_64 assembler & emulation right in the browser
TypeScript
1
star
27

ccan-archiver

Downloader for archiving files from CCAN and Clonk-Center
Go
1
star
28

memeasm

Programs written in MemeAssembly
C
1
star
29

mips-asm

Experiments with MIPS 32-bit Assembly
Assembly
1
star
30

xarantolus

GitHub profile readme
1
star
31

reeesolve

Server for resolving redirect URLs
Go
1
star
32

assembly-script

x86-64 Assembler for the browser, supporting a small subset of the GNU Assembler Intel syntax
Rust
1
star