ZenFlow is a simple, cross-platform desktop application designed to help you focus by temporarily blocking distracting websites. Built with JavaFX, it provides a minimal and professional interface to manage your focus sessions.
- Block Distracting Websites: Add any website (e.g.,
youtube.com,facebook.com) to your blocklist. - Timed Focus Sessions: Set a timer for your focus session. Websites are automatically unblocked when the timer finishes.
- Minimalist UI: A clean, professional, and easy-to-use interface.
- Cross-Platform: Works on Windows, macOS, and Linux.
ZenFlow works by temporarily adding entries to your system's hosts file, which redirects the distracting websites to your local machine (127.0.0.1). Because it modifies a system file, the application must be run with administrator privileges.
- Java Development Kit (JDK) 17 or higher
- Apache Maven
- Clone the repository:
git clone [https://github.com/your-username/zenflow.git](https://github.com/your-username/zenflow.git)
- Navigate to the project directory:
cd zenflow - Run the application using Maven:
Important: You must run this command from a terminal with administrator/root privileges.
mvn javafx:run
Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.
