您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Generate a summary of any webpage, selected text, YouTube video transcript using a local instance of g4f
当前为
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.
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
Summary of a blog post
Summary of a youtube video