GPT4Free Page Summarizer (Local Free API)

Generate a summary of any webpage, selected text, YouTube video transcript using a local instance of g4f

Versão de: 14/04/2025. Veja: a última versão.

Autor
passthesh3ll
Avaliações
0 0 0
Versão
1.4.1
Criado
10/04/2025
Atualizado
14/04/2025
Tamanho
15,2 KB
Licença
N/A
Aplicável a
Todos os 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. You can also get summaries of youtube videos, so the script transparently gets youtube transcripts in background.

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 blog post

image

Summary of a youtube video

image

长期地址
遇到问题?请前往 GitHub 提 Issues。