Transformers.js
Adds a sidebar panel that classifies the active page or your selected text with on-device AI models.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: sidebar, content script, popup, background service worker · Styling: CSS
Create this project
npx extension@latest create my-transformers-js --template transformers-js
cd my-transformers-js
npm install
npm run dev
Permissions it asks for
- sidePanel
- storage
- unlimitedStorage
- activeTab
- scripting
- tabs
- contextMenus
- <all_urls>
Source on GitHubDocumentation
extension.devDocumentation for extension.dev