Caution
The only official place to download Focuslock are this GitHub repository and through the links provided through discord . Any other websites offering downloads or claiming to be us are not controlled by us.
Warning
Once you start there is no going back, so once you before you set the timer make sure you are ready
Tip
This version is only for Windows, get the apk at Focus-Lock Android
Tip
Sometimes it may bug out and close everythig , restart your pc/lap and open the application again
FocusLock is a study monitoring application that helps users maintain focus during study sessions by detecting and closing non-study-related applications using AI-powered content analysis.
- Customizable study duration
- Automatic closing of non-study applications
- Modern dark-themed GUI
- Activity logging
- Download the latest release from the releases page
- Run the installer (requires administrator privileges)
- Follow the installation wizard
- Clone the repository
git clone https://github.com/psycho980/FocusLock.git
- Install required package
pip install -r requirements.txt
- Run the application
python focuslock.py
- Python 3.8 or higher
- PyInstaller
- Inno Setup (for creating installer)
- Install build dependencies
pip install pyinstaller
- Build executable
pyinstaller focuslock.spec
- Create installer (optional)
- Install Inno Setup
- Open
FocusLock.iss
in Inno Setup Compiler - Click Compile or press F9
- Launch FocusLock (requires administrator privileges)
- Set your desired study duration in hours and minutes
- Click "Start Monitoring"
- The application will run in the system tray
- View logs anytime using the "View Logs" button
The application creates a config file at %USERPROFILE%\FocusLock\config.json
where you can customize:
- Screenshot interval
- Ignored processes
- Windows 10/11
- Administrator privileges
- 4GB RAM minimum
- Internet connection (first run only, for model download)
This project is licensed under the MIT License - see the LICENSE file for details.
- CustomTkinter for the modern GUI
- Salesforce/BLIP for the VQA model
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request