Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chrome extension example built with plasmo #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tantara
Copy link

@tantara tantara commented Dec 2, 2024

Summary

This PR implements chrome extension with transformers.js and plasmo. LLaMA, Phi3, SmolLM, Qwen series have been tested on Apple M1 Max.

Demo

The chrome extension hasn't been released to chrome store yet. Please refer to youtube demo or the original repo for how it works.

Reproduce

  1. Install dependencies
cd chrome-extension-plasmo
pnpm install
pnpm run dev

It will build chrome extension and output build/chrome-mv3-dev.

  1. Install chrome extension manually

Open chrome chrome://extensions and load unpacked from build/chrome-mv3-dev

  1. Click on icon to open side panel.

Enjoy!

@tantara
Copy link
Author

tantara commented Dec 2, 2024

Hi @xenova , can you review PR for chrome extension example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant