https://github.com/abhinavsharma07/web-blocker-
https://github.com/abhinavsharma07/web-blocker-
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abhinavsharma07/web-blocker-
- Owner: AbhinavSharma07
- Created: 2023-08-10T20:24:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T19:03:16.000Z (about 2 years ago)
- Last Synced: 2025-01-10T19:28:15.371Z (9 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Website Blocker Application
This is a simple GUI application created using Python's Tkinter library for blocking websites by modifying the hosts file on a Windows system. The application allows you to enter a list of websites to block, and it will add the appropriate entries to the hosts file.
## How to Use
1. Clone this repository to your local machine.
2. Make sure you have Python installed.
3. Open the `website_blocker.py` file in a text editor and review the code.
4. Run the script using the following command in your terminal:
5. The GUI window will appear. Enter the websites you want to block, separated by commas.
6. Click the "Block" button to add the websites to the hosts file.**Note:** The application requires administrative privileges to modify the hosts file. Always be cautious when making changes to system files.
## Features
- Simple and intuitive GUI.
- Allows you to block multiple websites at once.
- Provides success and error messages using Tkinter's `messagebox` module.## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request....