JoeyWangTW / youtube-addiction-rehab-chrome-extension

LLM powered chrome extension for content level blocking and filtering
https://youtubeaddiction.rehab/
MIT License
54 stars 6 forks source link
logo

Youtube Addiction Rehab ![](https://img.shields.io/badge/React-61DAFB?style=flat-square&logo=react&logoColor=black) ![](https://img.shields.io/badge/Typescript-3178C6?style=flat-square&logo=typescript&logoColor=white) ![](https://badges.aleen42.com/src/vitejs.svg) ![GitHub action badge](https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/actions/workflows/build-zip.yml/badge.svg) 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

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