https://github.com/raspiduino/comadd
This Python script prevents you from distractions.
https://github.com/raspiduino/comadd
blockapps distractions productivity python
Last synced: 2 months ago
JSON representation
This Python script prevents you from distractions.
- Host: GitHub
- URL: https://github.com/raspiduino/comadd
- Owner: raspiduino
- License: gpl-3.0
- Created: 2020-11-01T15:15:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-26T04:07:20.000Z (about 4 years ago)
- Last Synced: 2025-02-02T16:42:18.121Z (4 months ago)
- Topics: blockapps, distractions, productivity, python
- Language: Python
- Homepage:
- Size: 221 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ComAdd
This script prevent you from distractions## How this work?
The scripts will kill the programs in blocklist if they exist, add websites in blocklist to hostfile and track the usuage time of them.
Between the session, there will be a small break for you.## Requirement
- Python 3.7## Installation
```bash
git clone https://github.com/raspiduino/comadd.git
cd comadd
pip install pywin32 matplotlib numpy==1.19.3
sudo apt-get install -y xdotool # If you are on Linux
comadd.py
```
Note: You need to change the setting the first time you use this script.
### Install the extension
- Goto chrome://extensions/ and click Developer mode
- Click on Load unpacked and choose the extension folder in the repo
- Done!## Warnings
- You need to run this script as Administrator/root
- Some time the Windows Defender may warn this script as HostsFileHijack. This is wrong positive because this script need to edit the hostfile for blocking websites in block list. So allow the script to do that.
Note: if you see another program flag at this, be careful that it maybe the true virus. So please backup your hostfile.## License
Under GPL-v3