Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kietcse/digital-diet
developed a cross-browser extension to help users detox from the internet, allow users to reduce time spent on distractive websites, improve productivity time.
https://github.com/kietcse/digital-diet
Last synced: 29 days ago
JSON representation
developed a cross-browser extension to help users detox from the internet, allow users to reduce time spent on distractive websites, improve productivity time.
- Host: GitHub
- URL: https://github.com/kietcse/digital-diet
- Owner: KietCSE
- Created: 2024-11-10T04:26:34.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-10T17:12:11.000Z (about 1 month ago)
- Last Synced: 2024-12-10T18:36:35.443Z (about 1 month ago)
- Language: TypeScript
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Digital Diet
Build a browser extension that helps users detox from the internet by reducing the time they spend on distracting websites.
Target Browsers: Chrome, Firefox, Safari, Opera, Edge. Support many modes:- Block website completely
- Set time for blocking and unblocking alternatively
- Redirect website instead of blocking
- Delay scroll video (TikTok, Youtube, ...)
- Track time for each website and draw insight (data is stored in local browser for private save, you can turn on/off this feature)
- Send email daily for summary performace (you can turn on/off this feature)## User manual:
**1 Block** Create card -> add url target -> save -> set blocking time
![Block](./img/block.gif)**2 Delay scroll video** Create card -> add url target -> save -> set blocking time -> go to setting -> add number of seconds and turn on delay feature
![Delay](./img/delay.gif)**3 Unblock and block** Create card -> add url target -> save -> set blocking time -> set unblocking time
![Delay](./img/block+unblock.gif)**4 Redirect** Create card -> add url target -> add url redirect -> save -> set blocking time
![Delay](./img/redirect.gif)## Installation:
1) Git clone or download file and unzip on a folder
2) Go to the extensions tab on google chrome (chrome://extensions/)
3) Enable "Developer mode" on the top right of the tab
4) Press on "Load unpacked" new feature that appeared on top left corner
5) Browse the path you downloaded the extension and choose select
6) Enjoy
![Installation](./img/149144506-714a84a0-cd10-4155-91fe-20c39753b578.jpg)## Build project
```sh
npm run build
```## Run project
```sh
npm run dev
```## Project structure
```py
📦src
┣ 📂background # Event handler run in background of extension
┣ 📂components # Reusable components across the popup
┣ 📂content # Interact with web browser inferface
┣ 📂pages # Each page for popup screen
┣ 📂popup # Popup screen
┗ 📜mainfest.json # Config-file for extension
```