Skip to content

JoeyWangTW/youtube-addiction-rehab-chrome-extension

Repository files navigation

logo

Youtube Addiction Rehab

GitHub action badge

Get Youtube Addiciton Rehab for Chromium

hero

Table of Contents

Intro

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.

Features

  • 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.

Prerequisites

  1. Clone this repo: git clone https://github.com/Jonghakseo/youtube-addiction-rehab.git
  2. Install Node.js (check your node version >= 18.12.0)
  3. Install pnpm a. Install pnpm globally: npm install -g pnpm b. Run pnpm install
  4. Get API key from OpenAI or Anthropic, recommend upgrade to paid plan for higher rate limit.

Install

  1. Run:
    • Dev: pnpm dev (it's run parallel with pnpm dev-server automatically)
      • When you run with Windows, you should run as administrator. (Issue#456)
    • Prod: pnpm build
  2. Open in browser - chrome://extensions
  3. Check - Developer mode
  4. Find and Click - Load unpacked extension
  5. Select - dist folder at root

For Firefox:

  1. Run:
    • Dev: pnpm dev:firefox (it's run parallel with pnpm dev-server automatically)
    • Prod: pnpm build:firefox
  2. Open in browser - about:debugging#/runtime/this-firefox
  3. Find and Click - Load Temporary Add-on...
  4. Select - manifest.json from dist 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.

For Safari:

Follow this guide to convert this extension to Safari.

Notes

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.

Reference

This extension is based on chrome-extension-boilerplate-react-vite

About

LLM powered chrome extension for content level blocking and filtering

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published