HoverSite is a browser extension designed to enhance user interaction with web content. It analyses webpages, extracts relevant information, and engages users through a chat interface, providing concise summaries and answers to user queries.
After cloning this repo to your computer:
-
Go to
hoversite/chrome/scripts/
and copy the fileopenai-dist.js
to a new file calledopenai.js
. Fill in the values forSYSTEM_PROMPT
,OPENAI_TOKEN
, andOPENAI_MODEL
(examples have been provided). You can get yourOPENAI_TOKEN
by creating an OpenAI account and then creating a secret key. -
Open the extensions page in Google Chrome: type
chrome://extensions
in the url bar and press enter. -
Switch on "Developer mode".
-
Click the "Load unpacked" button and select the Chrome extension folder (hoversite/chrome).
-
Go to Extensions in the browser and select HoverSite to start using it!
Unfortunately, based on my research, Firefox does not currently allow extensions to load URLs and as such, this extension would not be able to request data from the OpenAI API. I am happy to be proven wrong though, so feel free to fork this repo and shoot a PR if you're able to get it working.
Once installed, the HoverSite extension icon will appear in your browser's toolbar. Clicking on this icon will open the chat interface. From here, users can type questions or commands, which the extension will process to provide relevant information extracted from the current webpage or through external analysis facilitated by the OpenAI API.
Please visit the Documentation page.
Please refer to our Contributing Guidelines.