Text Summarizer is a simple Chrome extension that allows users to summarize any text selected on a webpage. This extension utilizes the Hugging Face API to generate summaries with no information loss.
- Summarize Selected Text: Right-click on any selected text on a webpage and choose the option to summarize the content. The extension will generate a concise version of the selected text.
- Popup Display: The summary is displayed in a popup window, making it easy to read.
- Context Menu Integration: When the extension is installed, a context menu item titled "Summarize Selected Text" is created. This allows the user to right-click on any selected text to trigger the summarization.
- Hugging Face API: The extension sends the selected text to a summarization model provided by the Hugging Face Inference API and returns a summary.
- Popup Display: The summarized content is then displayed in the popup for quick reading.
To install this extension manually:
- Clone the repository or download the source files.
- Navigate to
chrome://extensions/in your Chrome browser. - Enable Developer Mode (top right).
- Click on Load unpacked and select the folder containing your extension's files (including
manifest.json). - The extension will be loaded and ready for use.
- Highlight any text on a webpage that you would like to summarize.
- Right-click on the selected text.
- From the context menu, choose the option Summarize Selected Text.
- The extension will generate a summary and display it in the popup.