Skip to content

adnanisagoodboy/haram-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

☪ Haram Blocker v1.0

A Linux desktop app that blocks Haram websites system-wide via /etc/hosts.


🚫 What it blocks (1000+ domains)

Category Examples
🔞 Adult / 18+ PornHub, XVideos, xHamster, OnlyFans, Fansly, Chaturbate, e-hentai…
🎰 Betting & Gambling Bet365, 1xBet, PokerStars, Stake, Roobet, DraftKings, Betfair…
💔 Dating & Hookup Tinder, Bumble, Badoo, Hinge, OkCupid, AdultFriendFinder…
🚬 Alcohol & Drugs Leafly, Weedmaps, Drizly, Erowid, Shroomery…

Features

  • System-wide — blocks in all browsers, no extension needed
  • Password protection — disabling requires your password
  • Toggle categories — enable/disable each category
  • Custom sites — add any domain you want
  • Auto www variants — blocks both domain.com and www.domain.com
  • Polished dark GUI — clean tabbed interface

🚀 Quick Start

# Install dependency
sudo apt install python3 python3-tk

# Run directly
python3 haram_blocker.py

Default password: admin — change it immediately after first launch!


📦 Install System-Wide

bash install.sh
# Then launch with:
haram-blocker

AUR (Arch Linux)

yay -S haram-blocker

Uninstall

# Remove app
sudo rm -f /usr/local/bin/haram-blocker
sudo rm -rf /opt/haram_blocker
sudo rm -f /usr/share/applications/haram_blocker.desktop

# Clean /etc/hosts
sudo sed -i '/# === HARAM BLOCKER START ===/,/# === HARAM BLOCKER END ===/d' /etc/hosts

# Remove config
rm -rf ~/.config/haram_blocker

About

Haram Blocker is a Linux desktop app that blocks adult, gambling, dating, and alcohol/drug websites system-wide by editing /etc/hosts.

Resources

License

Stars

4 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors