A Chrome extension based on Wllama for analyzing the current page you're browsing.
The main functionality of the extension is implemented in InPageComponent.tsx. This component is responsible for analyzing the current page and providing insights by interacting with the user.
The entire conversation is in the browser, in such case no data is transferred to any third party by this extension. The entire conversation is in the browser.
After loading the extension:
- Click the new icon, and slide the slder to enable on the page. Since not all websites allow loading workers / wasm, it will not work on every page.
- In the dialog, click
fetch page contentwhen you are satisfied with the current content. Timing is relevant for dynamic pages. - Ask a question
- ...
- Profit
We recommend using qwen2.5-0.5b-instruct-q4_k_m.gguf. See public/models/sources.txt for downloading from huggingface.co, the model should be put next to sources.txt
- Analyze the current page. One can ask questions regarding the page in a chat-completion mechanism.
To install the extension, follow these steps:
- Clone the repository using
git clone https://github.com/tko39/wllama-chrome-extension.git - Go to the Chrome extensions page by typing
chrome://extensions/in the address bar - Enable developer mode
- Click "Load unpacked"
- Select the folder containing the extension's built code (
dist)
To contribute to the development of the extension, please fork the repository and submit a pull request with your changes.
MIT