TLDR is a Chrome extension that summarizes the content present on a webpage. It uses EdgeGPT API for text summarization. The extension is built with Vite + React (TypeScript) for the frontend, Tailwind CSS for styling, and Python Flask for the backend.
- Summarize the content on any webpage.
- Choose between detailed or point-wise summarization.
- Easy-to-use Chrome extension.
When you open a webpage in your Chrome browser, the TLDR extension detects the URL and sends it to the backend server built with Python Flask. The server uses the EdgeGPT API to generate the summary and returns it to the frontend, which displays it to the user.
- Clone this repository to your local machine.
- Open the
frontend
folder in your code editor and install dependencies usingnpm install
. - Open the
backend
folder in your code editor and create a virtual environment usingpython -m venv venv
. Activate the virtual environment withsource venv/bin/activate
(on Windows, usevenv\Scripts\activate
). - Install Python dependencies using
pip install -r requirements.txt
. - Start the backend server with
python app.py
. - Load the frontend in Chrome using the following steps:
- Open
chrome://extensions/
in a new tab. - Turn on Developer mode (top-right corner).
- Click "Load unpacked" and select the
frontend
folder.
- Open
- Open a webpage that you want to summarize.
- Click on the TLDR extension icon in the Chrome toolbar.
- The extension will generate and display the summary on the page.