/Deja-Vu

An AI powered Chrome Extension which offers a seamless way to find bookmarks.

Primary LanguageJavaScriptMIT LicenseMIT

Group 6(1) Deja Vu - An AI powered bookmarker

An AI powered Chrome Extension which offers a seamless way to find bookmarks.

How it works

simplescreenrecorder-2023-12-15_20.32.24.mov

Installation

  1. Clone the installation repo locally by git clone https://github.com/Sushants-Git/Deja-Vu-Installation-Files.git

image

⚠️ NOTE : We are cloning the Installation repo and not this repo.

OR

Download the ZIP files

image

  1. Go to Chrome(or any Chromium-based browsers like Brave, Opera etc.) and click on the Kebab Menu on the top-right and go to "Extensions" > "Manage Extensions".

screenshot-20231001-030752Z-all

  1. Switch ON the Developer Mode at the top-right corner.

image

  1. Click on Load Unpack at the top-left corner

image

  1. Choose the directory in which you cloned the repo and click Open

image

🎉 The extension has been installed.

image

Running the Project Locally

  1. Clone the repo and enter the project directory:

    git clone https://github.com/Sushants-Git/Deja-Vu.git
    cd Deja-Vu
  2. Install the necessary dependencies:

    npm install
  3. Build the project:

    npm run build
  4. Add the extension to your browser. To do this, go to chrome://extensions/, enable developer mode (top right), and click "Load unpacked". Select the build directory from the dialog which appears and click "Select Folder".

  5. That's it! You should now be able to open the extenion's popup and use the model in your browser!

Development

We recommend running npm run dev while editing the project as it will rebuild the project when changes are made.

All source code can be found in the ./src/ directory but the options (The page where you see all your bookmarks) will be found in .public/options.*:

  • background.js (service worker) - handles all the requests from the UI, does processing in the background, then returns the result. You will need to reload the extension (by visiting chrome://extensions/ and clicking the refresh button) after editing this file for changes to be visible in the extension.

  • popup.html, popup.css, popup.js (toolbar action) - contains the code for the popup which is visible to the user when they click the extension's icon from the extensions bar. For development, we recommend opening the popup.html file in its own tab by visiting chrome-extension://<ext_id>/popup.html (remember to replace <ext_id> with the extension's ID). You will need to refresh the page while you develop to see the changes you make.

Resources