- This is a simple app built on Tkinter (included in Python) to facilitate regular eye rest while working on computers.
- The current version of the app covers the screen during breaks with overlay; the escape icon exits this notification countdown and starts a new cycle.
- The stop button resets the timer; the timer will begin from 0 until the new (if updated) work interval has elapsed.
This app is currently configured only for Windows.
- First, ensure you have Python installed (this was written with Python 3.12.3; it may run on earlier versions, but that is not guaranteed). Make sure it's added to your PATH during installation (in Windows, you can check this by opening a terminal and entering
python --version). - Open Visual Studio Code and clone this repository (
git clone https://github.com/ianzhou01/EyeReston the terminal). - Navigate to the cloned folder in a terminal; run
python -m venv .venv; ./.venv/Scripts/activate; pip install -r requirements.txtto install dependencies in the environment.- If running
./.venv/Scripts/activatefails, you might not have permissions to run batch scripts. TrySet-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass ./.venv/Scripts/Activate.ps1instead.
- If running
- Run
pyinstaller EyeRest.specand wait for the process to finish. - The executable should now be created in the dist directory.
