YouTube Addiction Rehab is your digital ally against compulsive video watching on YouTube. Utilizing LLM AI technology, this extension curates your viewing experience based on your personal preferences and goals. It helps establish boundaries, promote healthier viewing habits, and minimize distractions from irrelevant content. Gain control and enhance your digital wellbeing with YouTube Addiction Rehab.
Note
Packaged version is available on Chrome Web Store. Checkout more info on YouTubeAddiction.Rehab.
- AI Focus Filter: Automatically filters out non-essential recommended content based on your preferences.
- AI Smart Blocker: Automatically blocks distracting videos based on your preferences.
- Hide shorts: Automatically hides shorts from your recommended feed.
- Clone this repo:
git clone https://github.com/Jonghakseo/youtube-addiction-rehab.git
- Install Node.js (check your node version >= 18.12.0)
- Install pnpm
a. Install pnpm globally:
npm install -g pnpm
b. Runpnpm install
- Get API key from OpenAI or Anthropic, recommend upgrade to paid plan for higher rate limit.
- Run:
- Dev:
pnpm dev
(it's run parallel withpnpm dev-server
automatically)- When you run with Windows, you should run as administrator. (Issue#456)
- Prod:
pnpm build
- Dev:
- Open in browser -
chrome://extensions
- Check -
Developer mode
- Find and Click -
Load unpacked extension
- Select -
dist
folder at root
- Run:
- Dev:
pnpm dev:firefox
(it's run parallel withpnpm dev-server
automatically) - Prod:
pnpm build:firefox
- Dev:
- Open in browser -
about:debugging#/runtime/this-firefox
- Find and Click -
Load Temporary Add-on...
- Select -
manifest.json
fromdist
folder at root
Remember in firefox you add plugin in temporary mode, that's mean it's disappear after close browser, you must do it again, on next launch.
Follow this guide to convert this extension to Safari.
This extension is still work in progress. Feel free to open an issue or pull request if you want to contribute. If you want to provide feedback, please fill out this feedback form.
This extension is based on chrome-extension-boilerplate-react-vite