Generate a summary of any webpage using a local instance of g4f
This userscript generates concise webpage summaries using a local GPT4Free instance (g4f), displayed in a sleek, collapsible sidebar. 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 a run.sh script:
cd g4f-api
source .venv/bin/activate
python -m g4f.api.run
