Skip to content

eric-blue/declank

Repository files navigation

declank

declank is a Chrome extension (Firefox is tbd) that highlights and hides specific phrases or elements on web pages based on a configurable block list.

off on
Off On

Getting Started

Prerequisites

Make sure you have Node.js (version 18+ or 20+) installed on your machine.

Setup

  1. Clone or fork the repository :
# To clone
gh repo clone eric-blue/declank
cd declank
  1. Install the dependencies:
bun install

πŸ—οΈ Development

To start the development server:

bun run dev

This will start the Vite development server and open your default browser.

πŸ“¦ Build

To create a production build:

bun run build

This will generate the build files in the build directory.

πŸ“‚ Load Extension in Chrome

  1. Open Chrome and navigate to chrome://extensions/.
  2. Enable "Developer mode" using the toggle switch in the top right corner.
  3. Click "Load unpacked" and select the build directory.
  4. Click the reload icon in the top right if the extension already exists

πŸ—‚οΈ Project Structure

  • blocked.txt: Contains the block list.
  • public/: Contains static files and the manifest.json.
  • src/: Contains the React app source code.
  • vite.config.ts: Vite configuration file.
  • tsconfig.json: TypeScript configuration file.
  • package.json: Contains the project dependencies and scripts.

License

This project is licensed under the MIT License.

About

Boo-urns to all the AI widgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published