GPT4Free Page Summarizer

Summarize webpage, selected text or YouTube transcript via local API

As of 2025-04-18. See the latest version.

Author
passthesh3ll
Ratings
0 0 0
Version
1.7.7
Created
2025-04-10
Updated
2025-04-18
Size
16.1 KB
License
N/A
Applies to
All sites

GPT4Free Page Summarizer (Local Free API)

This userscript generates concise webpage summaries using a local GPT4Free instance (g4f), displayed in a sleek, collapsible sidebar. The backend AI is DeepSeek-R1. You can also summarize youtube videos (using transcripts).

The language detection is based on your browser settings.

How to install a local GPT4Free instance (linux)

mkdir g4f-api
cd g4f-api
python -m venv .venv
source .venv/bin/activate
pip install g4f\[all\]
python -m g4f.api.run

You can automate it at startup with the following run.sh script:

cd g4f-api
source .venv/bin/activate
pip install --upgrade g4f[all]
python -m g4f.api.run

and a cron setup:

@reboot /your/path/to/run.sh

Screen

Summary of a webpage

image

Summary of a youtube video

image