Skip to main content

An anti-capitalist ad-blocker that uses the hosts file

Project description

TBlock

Awesome Humane Tech Pipeline status Please don't upload to GitHub

Description

TBlock is a free and open-source system-wide ad-blocker that is compatible with most filter list formats.

To view the repository for the graphical user interface, click here.

Installation

You can easily install TBlock with:

pipx install tblock

More installation methods — such as Windows installer and packages for Linux distributions — can be found on the website.

Usage

After installing, you need to setup TBlock in order to enable protection against ads and trackers:

tblock --init

You can learn more by reading the documentation.

Demo

asciicast

Roadmap

Here is a list of the upcoming changes in TBlock code. Suggestions are, of course, welcome.

  • Implement a GUI for TBlock
  • Rewrite the entire code, make a clearer public API and publish release 3.0.0

Contributing

Everyone is welcome to contribute to TBlock in different ways. Bug reports can be made directly from the Gitea issue tracker, by sending an email to the team or in our Matrix room.

If you want to suggest a modification in the code, you can open a pull request or send your patch using email or Matrix.

If you want to be a beta-tester, you can install the latest beta version from our release page and contact us to give a feedback.

You can find more information on how to contribute here.

Support

The best way to support is to contribute. If you want, you can also make a donation.

Authors and acknowledgment

TBlock is currently mainained by Twann, who is also its creator. A big thank you to all the people who contribute(d) to the project.

Credits

Here is a list of all libraries used in the project:

Name Author License
colorama Jonathan Hartley BSD
requests Kenneth Reitz Apache 2.0
urllib3 Andrey Petrov MIT
argumentor Twann LGPLv3

It is also worth mentioning pacman, from which TBlock's command-line design is highly inspired.

Contact

License

GPLv3

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tblock-2.7.5-py3-none-any.whl (71.6 kB view details)

Uploaded Python 3

File details

Details for the file tblock-2.7.5-py3-none-any.whl.

File metadata

  • Download URL: tblock-2.7.5-py3-none-any.whl
  • Upload date:
  • Size: 71.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for tblock-2.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 efae4365a6f1e69d6e5fd3b28e2d0dfe40e3ccae0e00603738e9b35661e76c28
MD5 9adceb4684202efa64ddd9dbf104fe96
BLAKE2b-256 e922b0fe6effd803ec81656a56c968808632268ac1c7d39a2a16911325f52dae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page