Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonbaars/magisk-hosts
My custom hosts file, to be installed using Magisk to Android phones
https://github.com/simonbaars/magisk-hosts
Last synced: 16 days ago
JSON representation
My custom hosts file, to be installed using Magisk to Android phones
- Host: GitHub
- URL: https://github.com/simonbaars/magisk-hosts
- Owner: SimonBaars
- License: gpl-2.0
- Created: 2024-11-28T19:56:10.000Z (27 days ago)
- Default Branch: master
- Last Pushed: 2024-11-28T20:50:56.000Z (26 days ago)
- Last Synced: 2024-11-28T21:19:23.866Z (26 days ago)
- Language: Shell
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Magisk Hosts
A Magisk module that blocks a select set of distracting platforms via a custom hosts file (YouTube, Twitter, Facebook, Reddit, etc).## Why?
In my quest for reducing distractions, I tend to block myself from certain things. On Android, I usually did that using the Stay Focused app, but as a dev I think it's nicer to just maintain a custom hosts file.On my laptop, I use `hblock`, which works great. The hosts file featured in this module is largely a copy from my `/etc/hblock/deny.list`.
## What this is not
This is not a module to block adware/spam/etc. There are plenty modules that do that.This module also doesn't feature a complete list of domains, just a select few that I find distracting. If you want to add some, feel free to open a PR, probably things that you find distracting are also distracting for me. But note that it's explicitly not the goal to have multiple MBs of domains and be exhaustive.
## Requirements
An Android phone which runs Magisk. Enable "systemless hosts" in the Magisk settings. It should be compatible with pretty much any Android version.## Installation
Download the zip from here: https://github.com/SimonBaars/magisk-hosts/releases/tag/1.0Flash the zip using Magisk. Reboot when Magisks prompts you to. After reboot, use your browser to go to Youtube.com to test that it works.