This browser extension allows users to summarize selected text on web pages. Built using CRXJS, it leverages the Hugging Face model facebook/bart-large-cnn
for generating concise and accurate summaries.
summerize.video.mp4
- Summarize selected text from web pages.
- Efficient and easy-to-use interface.
- Built with modern web technologies for compatibility and performance.
- CRXJS: Used for building the Chrome extension.
- Hugging Face: Powered by the
facebook/bart-large-cnn
model for text summarization. - Vite: Bundler for fast builds and development.
Ensure you have the following installed:
- Node.js (>= 16.x)
- npm (or yarn)
-
Clone the Repository
git clone https://github.com/MaxAnii/Brevity cd Brevity
-
Install Dependencies Install all the required packages:
npm install
-
Add API Key Add your Hugging Face API key to the environment configuration. Create a
.env
file in the root of the project and include:VITE_SUMMERIZE_TOKEN=<your_api_key>
-
Build the Extension
npm run build
-
Load the Extension in Your Browser
- Open your browser and navigate to
chrome://extensions/
(oredge://extensions/
for Microsoft Edge). - Enable "Developer Mode" (toggle in the top-right corner).
- Click "Load unpacked" and select the
dist
folder from the project directory.
- Open your browser and navigate to
-
Start Using the Extension
- Highlight any text on a webpage.
- Right-click and select the "Summarize Text" option.
- View the summary generated by the extension.
Feel free to fork this repository, create a feature branch, and submit a pull request with your contributions. Bug reports and feature suggestions are welcome!
- CRXJS for simplifying Chrome extension development.
- Hugging Face for providing robust NLP models.