A Linux desktop app that blocks Haram websites system-wide via /etc/hosts.
| 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… |
- 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.comandwww.domain.com - Polished dark GUI — clean tabbed interface
# Install dependency
sudo apt install python3 python3-tk
# Run directly
python3 haram_blocker.pyDefault password: admin — change it immediately after first launch!
bash install.sh
# Then launch with:
haram-blockeryay -S haram-blocker# 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